Subversion Repositories SmartDukaan

Rev

Rev 14225 | Rev 14600 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14150 anikendra 1
	<ul class="nav nav-tabs catselect">
2
		<li class="<?php if(!isset($id)):?>active<?php endif;?> col-xs-4"><a href="/deals/mine">All</a></li>
3
	<?php foreach($categories AS $catId => $name):?>
4
	  <li class="<?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-4">
5
	    <a href="/category/<?php echo $catId;?>"><?php echo $name;?></a></li>
6
	<?php endforeach;?>
7
	</ul>
14579 anikendra 8
	<div class="filters row">		
9
		<?php //$skipmobileverification = SessionHelper::read('skipmobileverification');if(!$logged_user['mobile_verified'] && !isset($skipmobileverification)):?>
10
			<!-- <div class="verificationalert">Your phone number is not verified. <a href="<?php echo $base_url;?>/users/verifymobile">Verify now</a></div>  -->
11
		<?php //endif;?>
12
		<?php if(isset($notification) && !empty($notification)):?>
13
		<div class="alert alert-info text-center col-xs-8">
14
			<a target="_blank" href="<?php echo $notification['NotificationRule']['url'];?>" class="webnotification"><?php echo $notification['NotificationRule']['name'];?></a>
13746 anikendra 15
		</div>
14579 anikendra 16
		<?php else:?>
17
		<div class="col-xs-8 herotext">
18
			Daily profitable deals for you
19
		</div>
20
		<?php endif;?>		
14150 anikendra 21
		<div class="col-xs-4 ">
22
			<div class="dropdown pull-right">
23
			  <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
24
			  	<span class="caret"></span> SORT		    
14225 anikendra 25
			  </button>
26
  			  <ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
14150 anikendra 27
			  	<!-- <li role="presentation" class="dropdown-header menu-item">FILTER</li>
28
			    <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Brand</a></li>
29
			    <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Price-range</a></li>
30
			    <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Sub-category</a></li> -->
31
			    <li role="presentation" class="dropdown-header menu-item">SORT</li>
32
			    <li role="presentation" class="menu-item <?php if(isset($sort) && $sort == 'bestSellerPoints'):?>selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=bestSellerPoints&direction=-1">Bestsellers</a></li>
33
			    <li role="presentation" class="menu-item <?php if(isset($sort) && $sort == 'available_price' && $direction=='1'):?>selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=available_price&direction=1">Price Low to High</a></li>
34
			    <li role="presentation" class="menu-item <?php if(isset($sort) && $sort == 'available_price' && $direction=='-1'):?>selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=available_price&direction=-1">Price High to Low</a></li>
35
			    <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="?sort=-1">Recommended</a></li>
36
			  </ul>
37
			</div>
38
		</div>	
39
	</div>