Rev 17391 | Rev 17542 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<ul class="nav nav-tabs catselect"><?php foreach($categories AS $catId => $name):?><li class=" tab_layout <?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-<?php echo (12/(count($categories)+1));?>"><a href="/category/<?php echo $catId;?>"><?php echo $name;?></a></li><?php endforeach;?><li class="tab_layout col-xs-<?php echo (12/(count($categories)+1));?> <?php if($id!=2):?>bg-white<?php endif;?>"><?php if($id!=2):?><div class="dropdown pull-right"><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><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"><i class="glyphicon glyphicon-filter"></i> <?php if(isset($brandschosen) && !empty($brandschosen)):?>On<?php endif;?><span class="caret"></span></button><ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1"><li role="presentation" class="dropdown-header menu-item">FILTER<?php if(isset($brandschosen) && !empty($brandschosen)):?><button class="btn btn-xs clearfilters btn-danger filteraction" style="position: absolute;right: -5px;top: 5px;" id="clearfilters">Reset</button><?php endif;?></li><li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="<?php echo $base_url;?>filter/brand<?php if(isset($id)):?>/<?php echo $id;?><?php endif;?>">By Brands <span class="greyarrow"></span></a></li><!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Price-range</a></li> --><!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Sub-category</a></li> --><li role="presentation" class="dropdown-header menu-item">SORT</li><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><li role="presentation" class="menu-item <?php //if(isset($sort) && $sort == 'available_price'):?><?php //endif;?>"><span class="sortlabel">Price</span> <a role="menuitem" tabindex="-1" href="?sort=available_price&direction=1" class="btn-asc btn btn-xs">Low</a> <a role="menuitem" tabindex="-1" href="?sort=available_price&direction=-1" class="btn-desc btn-xs">High</a></li><!-- <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> --><li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="?sort=-1">Recommended</a></li></ul></div><?php endif;?></li></ul><div class="filters row"><!-- For apps tab --><?php if($id==2):?><div class="text-center"><div class="text_arrange cb"><div class="card row" ><a href = "<?php echo $base_url;?>appb"><span style="color:red;font-size:1.1em">Earn upto Rs. 10,000 per month</span><!-- <u style="font-size:.9em">SEE HOW</u> --><button type="button" class="btn btn-primary btn-sm">SEE HOW</button></a><br><!--<span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span>--><a href = "<?php echo $base_url;?>appb" style="font-size:1em; color:black"> Download these free apps for your customer.</a><hr style="margin:1px;"><ul class="list-unstyled " style='margin:1px';><li class="row row_style" ><div class="row showtips" style="font-size:.9em"><br><div class='col-xs-11'><font color= 'grey'>Normally cashbacks are not approved for 30-40% cases.</font><br> <font color='red'>Click here </font>to see tips on increasing your profit.</div><div class='col-xs-1'><span class="glyphicon glyphicon-chevron-down"></span></div></div></div><div class="apptips hidden" style="background:#fff;"><div class="row"><div class="col-xs-12" style='padding:1px'><ol style="text-align:left;background:#f9fafb"><li>Only install new apps</li><li>Keep network connected after installing apps</li><li>Open the app 4-5 minutes after installing</li><li>Preferably register and login on app</li></ol></div></div></div></li></ul><hr style="margin:1px;"></div></div><?php endif;?><!-- End of apps tab code --><?php if(isset($notification) && !empty($notification)):?><?php if($notification['NotificationRule']['type']=='link'):?><div class="alert alert-info text-center col-xs-12"><a target="_blank" href="<?php echo $notification['NotificationRule']['url'].'?user_id='.$logged_user['id'];?>" class="webnotification"><?php echo $notification['NotificationRule']['message'];?></a></div><?php elseif($notification['NotificationRule']['type']=='popup'):?><?php$url = $notification['NotificationRule']['url'];if(strpos($url, '?')!==false){$url .= '&user_id='.$logged_user['id'];}else{$url .= '?user_id='.$logged_user['id'];}?><div class="herotext col-xs-9" style='padding-top:0px'><!-- Daily profitable deals for you --><?php echo $this->element('headerlinks',array(),array());?><script type="text/javascript">$(function(){$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');$('.notificationUrl').prop('href','<?php echo $url;?>').data('id','<?php echo $notification['NotificationRule']['id'];?>');if(showpopup(<?php echo $notification['NotificationRule']['id'];?>,<?php echo $notification['NotificationRule']['popup_display_count'];?>,<?php echo $notification['NotificationRule']['popup_display_interval'];?>)) {$('#notificationModal'+'<?php echo ucfirst($notification['NotificationRule']['popup_type']);?>').modal({show: true,keyboard: false,backdrop: 'static'});var postdata = {'user_id':me,'notification_rule_id':'<?php echo $notification['NotificationRule']['id'];?>'};$.post( "/notification_views/add", postdata, function( data ) {});ga('send', 'event', 'popupnotification-<?php echo $notification['NotificationRule']['id'];?>', 'shown', me);var properties = {};properties.id = String('<?php echo $notification['NotificationRule']['id'];?>');pma.send('popupnotification','shown','<?php echo $notification['NotificationRule']['type'];?>',me,properties);}});</script></div><div class="col-xs-3 pt7"><?php if(isset($brandschosen) && !empty($brandschosen)):?><a class="filteraction clearfilters btn btn-xs btn-danger pull-right mr5" id="clearfilters">Reset <i class="glyphicon glyphicon-chevron-right"></i></a><?php endif;?></div><?php endif;?><?php else:?><?php if($id!=2):?><div class="col-xs-9 herotext" style='padding-top:0px'><?php echo $this->element('headerlinks',array(),array());?><!-- Daily profitable deals for you --></div><div class="col-xs-3 pt7"><?php if(isset($brandschosen) && !empty($brandschosen)):?><a class="btn btn-xs btn-danger filteraction clearfilters pull-right mr5" id="clearfilters">Reset <i class="glyphicon glyphicon-chevron-right"></i></a><?php endif;?></div><?php endif;?><?php endif;?></div>