| 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));?> <?php if($id!=2):?>bg-white<?php endif;?>">
|
6 |
<li class="tab_layout col-xs-<?php echo (12/(count($categories)+1));?> <?php if($id!=2):?>bg-white<?php endif;?>">
|
| 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 |
<i class="glyphicon glyphicon-filter"></i> <?php if(isset($brandschosen) && !empty($brandschosen)):?>On<?php endif;?>
|
11 |
<i class="glyphicon glyphicon-filter"></i> <?php if(isset($brandschosen) && !empty($brandschosen)):?>On<?php endif;?>
|
| 12 |
<span class="caret"></span>
|
12 |
<span class="caret"></span>
|
| 13 |
</button>
|
13 |
</button>
|
| 14 |
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
|
14 |
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
|
| 15 |
<li role="presentation" class="dropdown-header menu-item">
|
15 |
<li role="presentation" class="dropdown-header menu-item">
|
| 16 |
FILTER
|
16 |
FILTER
|
| 17 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
17 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
| 18 |
<button class="btn btn-xs clearfilters btn-danger filteraction" style="position: absolute;right: -5px;top: 5px;" id="clearfilters">Reset</button>
|
18 |
<button class="btn btn-xs clearfilters btn-danger filteraction" style="position: absolute;right: -5px;top: 5px;" id="clearfilters">Reset</button>
|
| 19 |
<?php endif;?>
|
- |
|
| 20 |
</li>
|
- |
|
| 21 |
<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>
|
- |
|
| 22 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Price-range</a></li> -->
|
- |
|
| 23 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Sub-category</a></li> -->
|
- |
|
| 24 |
<li role="presentation" class="dropdown-header menu-item">SORT</li>
|
- |
|
| 25 |
<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>
|
- |
|
| 26 |
<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>
|
- |
|
| 27 |
<!-- <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> -->
|
- |
|
| 28 |
<li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="?sort=-1">Recommended</a></li>
|
- |
|
| 29 |
</ul>
|
- |
|
| 30 |
</div>
|
- |
|
| 31 |
<?php endif;?>
|
- |
|
| 32 |
</li>
|
- |
|
| 33 |
</ul>
|
- |
|
| 34 |
<div class="filters row">
|
- |
|
| 35 |
<?php if($id==2):?>
|
- |
|
| 36 |
<div class="text-center">
|
- |
|
| 37 |
<a href = "<?php echo $base_url;?>appb"><span style="color:red;font-size:1.1em">Earn upto Rs. 10,000 pm</span> <u style="font-size:1.1em">See how</u></a><br>
|
- |
|
| 38 |
<div class="text_arrange cb">
|
- |
|
| 39 |
|
- |
|
| 40 |
|
- |
|
| 41 |
<ul class="list-unstyled " style='margin:1px';>
|
- |
|
| 42 |
<li class="row row_style" >
|
- |
|
| 43 |
<div class="creditedcashbacks card row" >
|
- |
|
| 44 |
<a href = "<?php echo $base_url;?>appb">Download free apps for your customer.</a>
|
- |
|
| 45 |
<div class="dotted"></div>
|
- |
|
| 46 |
Normally cashbacks are not approved for 30-40% cases. <u>Click here to see tips on increasing your profit</u>.
|
- |
|
| 47 |
</div>
|
- |
|
| 48 |
<div class="suborders hidden" style="background:#fff;">
|
- |
|
| 49 |
<div class="row">
|
- |
|
| 50 |
|
- |
|
| 51 |
<div class="col-xs-12">
|
- |
|
| 52 |
<ol style="text-align:left;">
|
- |
|
| 53 |
<li>Only install new apps</li>
|
- |
|
| 54 |
<li>Keep network connected after installing apps</li>
|
- |
|
| 55 |
<li>Open the app 4-5 minutes after installing</li>
|
- |
|
| 56 |
<li>Preferably register and login on app</li>
|
- |
|
| 57 |
</ol>
|
- |
|
| 58 |
</div>
|
- |
|
| 59 |
|
- |
|
| 60 |
</div>
|
- |
|
| 61 |
</div>
|
- |
|
| 62 |
</li>
|
- |
|
| 63 |
</ul>
|
- |
|
| 64 |
|
- |
|
| 65 |
</div>
|
- |
|
| 66 |
</div>
|
- |
|
| 67 |
<?php endif;?>
|
- |
|
| 68 |
<?php if(isset($notification) && !empty($notification)):?>
|
- |
|
| 69 |
<?php if($notification['NotificationRule']['type']=='link'):?>
|
- |
|
| 70 |
<div class="alert alert-info text-center col-xs-12">
|
- |
|
| 71 |
<a target="_blank" href="<?php echo $notification['NotificationRule']['url'].'?user_id='.$logged_user['id'];?>" class="webnotification"><?php echo $notification['NotificationRule']['message'];?></a>
|
- |
|
| 72 |
</div>
|
- |
|
| 73 |
<?php elseif($notification['NotificationRule']['type']=='popup'):?>
|
- |
|
| 74 |
<?php
|
- |
|
| 75 |
$url = $notification['NotificationRule']['url'];
|
- |
|
| 76 |
if(strpos($url, '?')!==false){
|
- |
|
| 77 |
$url .= '&user_id='.$logged_user['id'];
|
- |
|
| 78 |
}else{
|
- |
|
| 79 |
$url .= '?user_id='.$logged_user['id'];
|
- |
|
| 80 |
}
|
- |
|
| 81 |
?>
|
- |
|
| 82 |
<div class="herotext col-xs-8">
|
- |
|
| 83 |
Daily profitable deals for you
|
- |
|
| 84 |
<script type="text/javascript">
|
- |
|
| 85 |
$(function(){
|
- |
|
| 86 |
$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
|
- |
|
| 87 |
$('.notificationUrl').prop('href','<?php echo $url;?>').data('id','<?php echo $notification['NotificationRule']['id'];?>');
|
- |
|
| 88 |
if(showpopup(<?php echo $notification['NotificationRule']['id'];?>,<?php echo $notification['NotificationRule']['popup_display_count'];?>,<?php echo $notification['NotificationRule']['popup_display_interval'];?>)) {
|
- |
|
| 89 |
$('#notificationModal'+'<?php echo ucfirst($notification['NotificationRule']['popup_type']);?>').modal({show: true,keyboard: false,backdrop: 'static'});
|
- |
|
| 90 |
var postdata = {'user_id':me,'notification_rule_id':'<?php echo $notification['NotificationRule']['id'];?>'};
|
- |
|
| 91 |
$.post( "/notification_views/add", postdata, function( data ) {});
|
- |
|
| 92 |
ga('send', 'event', 'popupnotification-<?php echo $notification['NotificationRule']['id'];?>', 'shown', me);
|
- |
|
| 93 |
var properties = {};
|
- |
|
| 94 |
properties.id = String('<?php echo $notification['NotificationRule']['id'];?>');
|
- |
|
| 95 |
pma.send('popupnotification','shown','<?php echo $notification['NotificationRule']['type'];?>',me,properties);
|
- |
|
| 96 |
}
|
- |
|
| 97 |
});
|
- |
|
| 98 |
</script>
|
- |
|
| 99 |
</div>
|
- |
|
| 100 |
<div class="col-xs-4 pt7">
|
- |
|
| 101 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
- |
|
| 102 |
<a class="filteraction clearfilters btn btn-xs btn-danger pull-right mr5" id="clearfilters">Reset <i class="glyphicon glyphicon-chevron-right"></i></a>
|
- |
|
| 103 |
<?php endif;?>
|
19 |
<?php endif;?>
|
| - |
|
20 |
</li>
|
| - |
|
21 |
<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>
|
| - |
|
22 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Price-range</a></li> -->
|
| - |
|
23 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Sub-category</a></li> -->
|
| - |
|
24 |
<li role="presentation" class="dropdown-header menu-item">SORT</li>
|
| - |
|
25 |
<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>
|
| 104 |
</div>
|
26 |
<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>
|
| 105 |
<?php endif;?>
|
27 |
<!-- <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> -->
|
| - |
|
28 |
<li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="?sort=-1">Recommended</a></li>
|
| - |
|
29 |
</ul>
|
| - |
|
30 |
</div>
|
| 106 |
<?php else:?>
|
31 |
<?php endif;?>
|
| - |
|
32 |
</li>
|
| - |
|
33 |
</ul>
|
| - |
|
34 |
<div class="filters row">
|
| - |
|
35 |
<!-- For apps tab -->
|
| - |
|
36 |
<?php if($id==2):?>
|
| 107 |
<div class="col-xs-8 herotext">
|
37 |
<div class="text-center">
|
| 108 |
<?php if(isset($liveScore) && ((strcmp($liveScore['mstate'],'inprogress')==0) or (strcmp($liveScore['mstate'],'innings break')==0))):?>
|
38 |
<a href = "<?php echo $base_url;?>appb"><span style="color:red;font-size:1.1em">Earn upto Rs. 10,000 pm</span> <u style="font-size:1.1em">See how</u></a><br>
|
| - |
|
39 |
<div class="text_arrange cb">
|
| - |
|
40 |
<ul class="list-unstyled " style='margin:1px';>
|
| - |
|
41 |
<li class="row row_style" >
|
| 109 |
<a target="_blank" href="http://m.cricbuzz.com/live-cricket-scores/<?php echo $liveScore['id'];?>">
|
42 |
<div class="creditedcashbacks card row" >
|
| 110 |
<p><?php echo $liveScore['matchDesc'].' : '.$liveScore['battingTeamName'].' '.$liveScore['battingTeamRuns'].'/'.$liveScore['battingTeamWickets'].'('.$liveScore['battingTeamOvers'].')';?></p>
|
43 |
<a href = "<?php echo $base_url;?>appb">Download free apps for your customer.</a>
|
| 111 |
<p><?php echo $liveScore['status'];?></p>
|
44 |
<div class="dotted"></div>
|
| - |
|
45 |
Normally cashbacks are not approved for 30-40% cases. <u>Click here to see tips on increasing your profit</u>.
|
| 112 |
</a>
|
46 |
</div>
|
| - |
|
47 |
<div class="suborders hidden" style="background:#fff;">
|
| - |
|
48 |
<div class="row">
|
| 113 |
<?php else:?>
|
49 |
|
| 114 |
<?php if($id!=2):?>
|
50 |
<div class="col-xs-12">
|
| - |
|
51 |
<ol style="text-align:left;">
|
| - |
|
52 |
<li>Only install new apps</li>
|
| - |
|
53 |
<li>Keep network connected after installing apps</li>
|
| 115 |
<?php echo $this->element('headerlinks',array(),array());?>
|
54 |
<li>Open the app 4-5 minutes after installing</li>
|
| 116 |
<!-- Daily profitable deals for you -->
|
55 |
<li>Preferably register and login on app</li>
|
| - |
|
56 |
</ol>
|
| - |
|
57 |
</div>
|
| 117 |
<?php endif;?>
|
58 |
|
| - |
|
59 |
</div>
|
| - |
|
60 |
</div>
|
| 118 |
<?php endif;?>
|
61 |
</li>
|
| 119 |
</div>
|
62 |
</ul>
|
| - |
|
63 |
</div>
|
| - |
|
64 |
</div>
|
| - |
|
65 |
<?php endif;?>
|
| - |
|
66 |
<!-- End of apps tab code -->
|
| - |
|
67 |
<?php if(isset($notification) && !empty($notification)):?>
|
| - |
|
68 |
<?php if($notification['NotificationRule']['type']=='link'):?>
|
| - |
|
69 |
<div class="alert alert-info text-center col-xs-12">
|
| - |
|
70 |
<a target="_blank" href="<?php echo $notification['NotificationRule']['url'].'?user_id='.$logged_user['id'];?>" class="webnotification"><?php echo $notification['NotificationRule']['message'];?></a>
|
| - |
|
71 |
</div>
|
| - |
|
72 |
<?php elseif($notification['NotificationRule']['type']=='popup'):?>
|
| - |
|
73 |
<?php
|
| - |
|
74 |
$url = $notification['NotificationRule']['url'];
|
| - |
|
75 |
if(strpos($url, '?')!==false){
|
| - |
|
76 |
$url .= '&user_id='.$logged_user['id'];
|
| - |
|
77 |
}else{
|
| - |
|
78 |
$url .= '?user_id='.$logged_user['id'];
|
| - |
|
79 |
}
|
| - |
|
80 |
?>
|
| - |
|
81 |
<div class="herotext col-xs-8">
|
| - |
|
82 |
Daily profitable deals for you
|
| - |
|
83 |
<script type="text/javascript">
|
| - |
|
84 |
$(function(){
|
| - |
|
85 |
$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
|
| - |
|
86 |
$('.notificationUrl').prop('href','<?php echo $url;?>').data('id','<?php echo $notification['NotificationRule']['id'];?>');
|
| - |
|
87 |
if(showpopup(<?php echo $notification['NotificationRule']['id'];?>,<?php echo $notification['NotificationRule']['popup_display_count'];?>,<?php echo $notification['NotificationRule']['popup_display_interval'];?>)) {
|
| - |
|
88 |
$('#notificationModal'+'<?php echo ucfirst($notification['NotificationRule']['popup_type']);?>').modal({show: true,keyboard: false,backdrop: 'static'});
|
| - |
|
89 |
var postdata = {'user_id':me,'notification_rule_id':'<?php echo $notification['NotificationRule']['id'];?>'};
|
| - |
|
90 |
$.post( "/notification_views/add", postdata, function( data ) {});
|
| - |
|
91 |
ga('send', 'event', 'popupnotification-<?php echo $notification['NotificationRule']['id'];?>', 'shown', me);
|
| - |
|
92 |
var properties = {};
|
| - |
|
93 |
properties.id = String('<?php echo $notification['NotificationRule']['id'];?>');
|
| - |
|
94 |
pma.send('popupnotification','shown','<?php echo $notification['NotificationRule']['type'];?>',me,properties);
|
| - |
|
95 |
}
|
| - |
|
96 |
});
|
| - |
|
97 |
</script>
|
| - |
|
98 |
</div>
|
| 120 |
<div class="col-xs-4 pt7">
|
99 |
<div class="col-xs-4 pt7">
|
| 121 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
100 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
| 122 |
<a class="btn btn-xs btn-danger filteraction clearfilters pull-right mr5" id="clearfilters">Reset <i class="glyphicon glyphicon-chevron-right"></i></a>
|
101 |
<a class="filteraction clearfilters btn btn-xs btn-danger pull-right mr5" id="clearfilters">Reset <i class="glyphicon glyphicon-chevron-right"></i></a>
|
| 123 |
<?php endif;?>
|
102 |
<?php endif;?>
|
| 124 |
</div>
|
103 |
</div>
|
| - |
|
104 |
<?php endif;?>
|
| - |
|
105 |
<?php else:?>
|
| - |
|
106 |
<?php if($id!=2):?>
|
| - |
|
107 |
<div class="col-xs-8 herotext">
|
| - |
|
108 |
<?php //echo $this->element('headerlinks',array(),array());?>
|
| - |
|
109 |
Daily profitable deals for you
|
| - |
|
110 |
</div>
|
| - |
|
111 |
<div class="col-xs-4 pt7">
|
| - |
|
112 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
| - |
|
113 |
<a class="btn btn-xs btn-danger filteraction clearfilters pull-right mr5" id="clearfilters">Reset <i class="glyphicon glyphicon-chevron-right"></i></a>
|
| 125 |
<?php endif;?>
|
114 |
<?php endif;?>
|
| 126 |
</div>
|
115 |
</div>
|
| - |
|
116 |
<?php endif;?>
|
| - |
|
117 |
<?php endif;?>
|
| - |
|
118 |
</div>
|