Rev 18183 | Rev 18389 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php $links = $this->requestAction('users/getlinks/'.$logged_user['id']);?><?php if(!empty($links)):?><ul class="list-inline" style='font-size:.9em'><?php foreach ($links[$id] as $name => $link) :?><?php if(!empty($brandschosen) && $brandschosen == substr($link,strpos($link,'=',8)+1)):?><li style='padding:2px;'><a class="selectbrand active" data-href="<?php echo $link;?>" data-id="<?php echo substr($link,strpos($link,'=',8)+1);?>"><?php echo $name;?></a></li><?php else:?><li style='padding:2px;'><a class="selectbrand" data-href="<?php echo $link;?>" data-id="<?php echo substr($link,strpos($link,'=',8)+1);?>"><?php echo $name;?></a></li><?php endif;?><?php endforeach;?><?php if($id ==6):?><li style='padding:2px;'><a class="selectsubcat <?php if(isset($_COOKIE['subcategorieschosen']) && $_COOKIE['subcategorieschosen'] == '7'):?>active<?php endif;?>" data-href="?filter=subcategory&subcategories=7" data-id="7">Memory Card</a></li><li style='padding:2px;'><a class="selectsubcat <?php if(isset($_COOKIE['subcategorieschosen']) && $_COOKIE['subcategorieschosen'] == '8'):?>active<?php endif;?>" data-href="?filter=subcategory&subcategories=8" data-id="8">Data Cable</a></li><!--<li style='padding:2px;'><a class="selectsubcat <?php if(isset($_COOKIE['subcategorieschosen']) && $_COOKIE['subcategorieschosen'] == '15'):?>active<?php endif;?>" data-href="?filter=subcategory&subcategories=15" data-id="15">Charger</a></li>--><li style='padding:2px;'><a class="selectsubcat <?php if(isset($_COOKIE['subcategorieschosen']) && $_COOKIE['subcategorieschosen'] == '19^27'):?>active<?php endif;?>" data-href="?filter=subcategory&subcategories=19^27" data-id="19^27">Mobile Covers</a></li><li style='padding:2px;'><a class="selectsubcat <?php if(isset($_COOKIE['subcategorieschosen']) && $_COOKIE['subcategorieschosen'] == '20'):?>active<?php endif;?>" data-href="?filter=subcategory&subcategories=20" data-id="20">Tempered Glass</a></li><li style='padding:2px;'><a class="selectsubcat <?php if(isset($_COOKIE['subcategorieschosen']) && $_COOKIE['subcategorieschosen'] == '21'):?>active<?php endif;?>" data-href="?filter=subcategory&subcategories=21" data-id="21">Headphone</a></li><!--<li style='padding:2px;'><a class="selectsubcat <?php if(isset($_COOKIE['subcategorieschosen']) && $_COOKIE['subcategorieschosen'] == '8^20^15'):?>active<?php endif;?>" data-href="?filter=subcategory&subcategories=8^20^15" data-id="8^20^15">Combo</a></li>--><?php if(isset($subcategorieschosen) && !empty($subcategorieschosen) && !isset($brandschosen)):?><li><button class="btn btn-xs clearfilters" style="width:25px !important;">All</button></li><?php endif;?><?php endif;?><?php if(isset($brandschosen) && !empty($brandschosen)):?><li><button class="btn btn-xs clearfilters" style="width:25px !important;">All</button></li><?php endif;?></ul><?php endif;?>