Subversion Repositories SmartDukaan

Rev

Rev 16731 | Rev 16761 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 16731 Rev 16758
Line 1... Line 1...
1
	<ul class="nav nav-tabs catselect">
1
	<ul class="nav nav-tabs catselect">
2
	<?php foreach($categories AS $catId => $name):?>
2
	<?php foreach($categories AS $catId => $name):?>
3
	  	<li class=" tab_layout <?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-<?php echo (12/(count($categories)+1));?>">
3
	  	<li class=" tab_layout <?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-<?php echo (12/(count($categories)+1));?>">
4
	    <a href="/category/<?php echo $catId;?>"><?php echo $name;?></a></li>
4
	    <a href="/category/<?php echo $catId;?>"><?php echo $name;?></a></li>
5
	<?php endforeach;?>
5
	<?php endforeach;?>
6
		<li class="tab_layout col-xs-<?php echo (12/(count($categories)+1));?> bg-white">
6
		<li class="tab_layout col-xs-<?php echo (12/(count($categories)+1));?><?php if($id!=2){echo "bg-white";}?>">
7
			<?php if($id!=2):?>
7
			<?php if($id!=2):?>
8
			<div class="dropdown pull-right">
8
			<div class="dropdown pull-right">
9
				<a tabindex="0" id="popovertrigger" role="button" class="btn" data-container="body" data-toggle="popover" data-placement="left" data-trigger="click" data-content="<span class='greentext'>Filter by brands</span> to see deals you want"></a>
9
				<a tabindex="0" id="popovertrigger" role="button" class="btn" data-container="body" data-toggle="popover" data-placement="left" data-trigger="click" data-content="<span class='greentext'>Filter by brands</span> to see deals you want"></a>
10
			  <button class="<?php if(isset($brandschosen) && !empty($brandschosen)):?>red-text<?php endif;?> btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
10
			  <button class="<?php if(isset($brandschosen) && !empty($brandschosen)):?>red-text<?php endif;?> btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
11
			  	 Filters <?php if(isset($brandschosen) && !empty($brandschosen)):?>On<?php endif;?>	  
11
			  	 Filters <?php if(isset($brandschosen) && !empty($brandschosen)):?>On<?php endif;?>