| 18388 |
naman |
1 |
|
| 19828 |
naman |
2 |
<script type="text/javascript" src="<?php echo $base_url;?>js/iscroll.js"></script>
|
|
|
3 |
<script type="text/javascript" src="<?php echo $base_url;?>js/deals.js?v=<?php echo $staticversion;?>"></script>
|
|
|
4 |
<script type="text/javascript">
|
|
|
5 |
function loaded () {
|
|
|
6 |
myScroll = new IScroll('#wrapper', { scrollX: true, scrollY: false, mouseWheel: true, click: true, tap: true });
|
|
|
7 |
myScroll1 = new IScroll('#wrapper1', { scrollX: true, scrollY: false, mouseWheel: true, click: true, tap: true });
|
|
|
8 |
}</script>
|
|
|
9 |
|
|
|
10 |
|
| 19605 |
naman |
11 |
<script>
|
|
|
12 |
$(document).ready(function(){
|
|
|
13 |
|
|
|
14 |
var scrollerwidth = 0;
|
|
|
15 |
var scroller1width = 0;
|
|
|
16 |
$('#scroller li').each(function() {
|
|
|
17 |
var $this = $(this);
|
|
|
18 |
scrollerwidth =scrollerwidth + $this.outerWidth() + 4;
|
|
|
19 |
});
|
|
|
20 |
var scrollerwidth = ""+(scrollerwidth + 2)+"px";
|
|
|
21 |
$('#scroller1 li').each(function() {
|
|
|
22 |
var $this = $(this);
|
|
|
23 |
scroller1width =scroller1width + $this.outerWidth() + 10;
|
|
|
24 |
});
|
|
|
25 |
var scroller1width = ""+(scroller1width + 2)+"px";
|
|
|
26 |
|
|
|
27 |
$('#scroller').css("width",scrollerwidth);
|
|
|
28 |
$('#scroller1').css("width",scroller1width);
|
|
|
29 |
|
|
|
30 |
});
|
|
|
31 |
</script>
|
|
|
32 |
<style>
|
|
|
33 |
.activate{
|
|
|
34 |
color:green;
|
|
|
35 |
}
|
|
|
36 |
#wrapper,#wrapper1 {
|
|
|
37 |
z-index: 1;
|
|
|
38 |
bottom: 48px;
|
|
|
39 |
left: 0;
|
|
|
40 |
overflow: hidden;
|
|
|
41 |
}
|
|
|
42 |
#wrapper{
|
| 19620 |
naman |
43 |
max-height:40px;
|
| 19605 |
naman |
44 |
width: 97%;
|
| 19620 |
naman |
45 |
padding: 0px 5px;
|
|
|
46 |
min-height: 0px;
|
| 19605 |
naman |
47 |
}
|
|
|
48 |
#wrapper1{
|
|
|
49 |
height:30px;
|
|
|
50 |
width: 100%;
|
|
|
51 |
}
|
|
|
52 |
|
|
|
53 |
#scroller, #scroller1 {
|
|
|
54 |
z-index: 1;
|
|
|
55 |
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
|
|
56 |
-webkit-transform: translateZ(0);
|
|
|
57 |
-moz-transform: translateZ(0);
|
|
|
58 |
-ms-transform: translateZ(0);
|
|
|
59 |
-o-transform: translateZ(0);
|
|
|
60 |
transform: translateZ(0);
|
|
|
61 |
-webkit-touch-callout: none;
|
|
|
62 |
-webkit-user-select: none;
|
|
|
63 |
-moz-user-select: none;
|
|
|
64 |
-ms-user-select: none;
|
|
|
65 |
user-select: none;
|
|
|
66 |
-webkit-text-size-adjust: none;
|
|
|
67 |
-moz-text-size-adjust: none;
|
|
|
68 |
-ms-text-size-adjust: none;
|
|
|
69 |
-o-text-size-adjust: none;
|
|
|
70 |
text-size-adjust: none;
|
|
|
71 |
}
|
|
|
72 |
|
|
|
73 |
#scroller ul,#scroller1 ul {
|
|
|
74 |
list-style: none;
|
|
|
75 |
padding: 0;
|
|
|
76 |
margin: 0;
|
|
|
77 |
width: 100%;
|
|
|
78 |
text-align: center;
|
|
|
79 |
}
|
|
|
80 |
|
|
|
81 |
#scroller li, #scroller1 li {
|
|
|
82 |
display: block;
|
|
|
83 |
float: left;
|
|
|
84 |
margin:2px;
|
|
|
85 |
color:white;
|
|
|
86 |
border-right: 1px solid #ccc;
|
|
|
87 |
background-color: #F2DEDE;
|
|
|
88 |
font-size: 12px;
|
|
|
89 |
}
|
|
|
90 |
#scroller li{
|
|
|
91 |
font-weight:bold;
|
|
|
92 |
padding: 7px;
|
|
|
93 |
height: 37px;
|
|
|
94 |
border-radius:5px;
|
|
|
95 |
vertical-align:middle;
|
|
|
96 |
font-size: 11px;
|
|
|
97 |
min-width: 67px;
|
|
|
98 |
max-width: 92px;
|
|
|
99 |
text-transform: uppercase;
|
|
|
100 |
/* overflow: hidden ; */
|
|
|
101 |
}
|
|
|
102 |
#scroller1 li {
|
|
|
103 |
color: #555;
|
|
|
104 |
padding: 5px;
|
|
|
105 |
background : none;
|
|
|
106 |
height: 23px;
|
|
|
107 |
border : #E5E5E5 1px solid;
|
|
|
108 |
margin:3px;
|
|
|
109 |
text-transform: uppercase;
|
|
|
110 |
font-size: 10px;
|
|
|
111 |
}
|
|
|
112 |
|
|
|
113 |
.cancelstyle{
|
|
|
114 |
font-weight:bold;
|
|
|
115 |
background: black;
|
|
|
116 |
padding: 1px 3px;
|
|
|
117 |
color: white;
|
|
|
118 |
border-radius: 4px;
|
|
|
119 |
|
|
|
120 |
}
|
|
|
121 |
</style>
|
| 19656 |
naman |
122 |
<?php
|
|
|
123 |
if(isset($subcategories)){
|
|
|
124 |
$catstr = explode("^",$subcategories);
|
|
|
125 |
}
|
|
|
126 |
|
|
|
127 |
?>
|
| 19605 |
naman |
128 |
|
| 16912 |
naman |
129 |
<ul class="nav nav-tabs catselect">
|
| 16929 |
anikendra |
130 |
<?php foreach($categories AS $catId => $name):?>
|
| 17686 |
naman |
131 |
|
| 19638 |
naman |
132 |
<li class=" tab_layout <?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-<?php echo (12/(count($categories)));?>">
|
| 19383 |
amit.gupta |
133 |
<a href="/category/<?php echo $catId;?>"<?php if($id!=6 && $catId==6):?> id="popovertrigger4" data-container="body" data-toggle="popover" data-placement="bottom" data-content="Accessories at wholesale rates"<?php endif;?>>
|
| 19638 |
naman |
134 |
<?php if($catId==6):?>
|
|
|
135 |
Accessories
|
|
|
136 |
<?php else:?>
|
|
|
137 |
<?php echo $name;?>
|
|
|
138 |
<?php endif;?>
|
| 19383 |
amit.gupta |
139 |
</a>
|
| 18008 |
amit.gupta |
140 |
</li>
|
| 19383 |
amit.gupta |
141 |
<?php endforeach;?>
|
| 16929 |
anikendra |
142 |
</ul>
|
| 19661 |
naman |
143 |
|
|
|
144 |
<?php if(isset($id)):?>
|
|
|
145 |
|
| 19605 |
naman |
146 |
<div class="filters row" >
|
| 16929 |
anikendra |
147 |
<!-- For apps tab -->
|
|
|
148 |
<?php if($id==2):?>
|
|
|
149 |
<div class="text-center">
|
|
|
150 |
<div class="text_arrange cb">
|
| 17123 |
naman |
151 |
|
| 17129 |
anikendra |
152 |
<div class="card row" >
|
| 17310 |
naman |
153 |
<a href = "<?php echo $base_url;?>appb"><span style="color:red;font-size:1.1em">Earn upto Rs. 10,000 per month</span>
|
|
|
154 |
<!-- <u style="font-size:.9em">SEE HOW</u> -->
|
|
|
155 |
<button type="button" class="btn btn-primary btn-sm">SEE HOW</button>
|
|
|
156 |
</a><br>
|
|
|
157 |
<!--<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>
|
| 17313 |
amit.gupta |
158 |
<hr style="margin:1px;">
|
| 17123 |
naman |
159 |
<ul class="list-unstyled " style='margin:1px';>
|
| 16929 |
anikendra |
160 |
<li class="row row_style" >
|
| 17310 |
naman |
161 |
<div class="row showtips" style="font-size:.9em">
|
| 17123 |
naman |
162 |
<br>
|
|
|
163 |
<div class='col-xs-11'>
|
|
|
164 |
<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.
|
|
|
165 |
</div>
|
|
|
166 |
<div class='col-xs-1'><span class="glyphicon glyphicon-chevron-down"></span></div>
|
|
|
167 |
</div>
|
| 16929 |
anikendra |
168 |
</div>
|
| 17129 |
anikendra |
169 |
<div class="apptips hidden" style="background:#fff;">
|
| 16929 |
anikendra |
170 |
<div class="row">
|
|
|
171 |
|
| 17123 |
naman |
172 |
<div class="col-xs-12" style='padding:1px'>
|
|
|
173 |
<ol style="text-align:left;background:#f9fafb">
|
| 16929 |
anikendra |
174 |
<li>Only install new apps</li>
|
|
|
175 |
<li>Keep network connected after installing apps</li>
|
|
|
176 |
<li>Open the app 4-5 minutes after installing</li>
|
|
|
177 |
<li>Preferably register and login on app</li>
|
|
|
178 |
</ol>
|
|
|
179 |
</div>
|
|
|
180 |
|
|
|
181 |
</div>
|
|
|
182 |
</div>
|
|
|
183 |
</li>
|
|
|
184 |
</ul>
|
| 17313 |
amit.gupta |
185 |
<hr style="margin:1px;">
|
| 16929 |
anikendra |
186 |
</div>
|
|
|
187 |
</div>
|
|
|
188 |
<?php endif;?>
|
|
|
189 |
<!-- End of apps tab code -->
|
|
|
190 |
<?php if(isset($notification) && !empty($notification)):?>
|
|
|
191 |
<?php if($notification['NotificationRule']['type']=='link'):?>
|
|
|
192 |
<div class="alert alert-info text-center col-xs-12">
|
|
|
193 |
<a target="_blank" href="<?php echo $notification['NotificationRule']['url'].'?user_id='.$logged_user['id'];?>" class="webnotification"><?php echo $notification['NotificationRule']['message'];?></a>
|
| 14150 |
anikendra |
194 |
</div>
|
| 16929 |
anikendra |
195 |
<?php elseif($notification['NotificationRule']['type']=='popup'):?>
|
|
|
196 |
<?php
|
|
|
197 |
$url = $notification['NotificationRule']['url'];
|
|
|
198 |
if(strpos($url, '?')!==false){
|
|
|
199 |
$url .= '&user_id='.$logged_user['id'];
|
|
|
200 |
}else{
|
|
|
201 |
$url .= '?user_id='.$logged_user['id'];
|
|
|
202 |
}
|
|
|
203 |
?>
|
| 17190 |
naman |
204 |
<div class="herotext col-xs-9" style='padding-top:0px'>
|
| 17130 |
anikendra |
205 |
<!-- Daily profitable deals for you -->
|
| 18846 |
naman |
206 |
<?php //echo $this->element('headerlinks',array(),array());?>
|
| 16929 |
anikendra |
207 |
<script type="text/javascript">
|
|
|
208 |
$(function(){
|
|
|
209 |
$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
|
|
|
210 |
$('.notificationUrl').prop('href','<?php echo $url;?>').data('id','<?php echo $notification['NotificationRule']['id'];?>');
|
|
|
211 |
if(showpopup(<?php echo $notification['NotificationRule']['id'];?>,<?php echo $notification['NotificationRule']['popup_display_count'];?>,<?php echo $notification['NotificationRule']['popup_display_interval'];?>)) {
|
|
|
212 |
$('#notificationModal'+'<?php echo ucfirst($notification['NotificationRule']['popup_type']);?>').modal({show: true,keyboard: false,backdrop: 'static'});
|
|
|
213 |
var postdata = {'user_id':me,'notification_rule_id':'<?php echo $notification['NotificationRule']['id'];?>'};
|
|
|
214 |
$.post( "/notification_views/add", postdata, function( data ) {});
|
|
|
215 |
ga('send', 'event', 'popupnotification-<?php echo $notification['NotificationRule']['id'];?>', 'shown', me);
|
|
|
216 |
var properties = {};
|
|
|
217 |
properties.id = String('<?php echo $notification['NotificationRule']['id'];?>');
|
|
|
218 |
pma.send('popupnotification','shown','<?php echo $notification['NotificationRule']['type'];?>',me,properties);
|
|
|
219 |
}
|
|
|
220 |
});
|
|
|
221 |
</script>
|
|
|
222 |
</div>
|
|
|
223 |
<?php endif;?>
|
| 18846 |
naman |
224 |
<?php endif;?>
|
| 19605 |
naman |
225 |
|
|
|
226 |
|
|
|
227 |
<?php if((isset($id) && $id == 6) && ((!isset($brands) || ( isset($brands) && empty($brands))) && (!isset($subcategories) || (isset($subcategories) && empty($subcategories))))):?>
|
|
|
228 |
|
|
|
229 |
<div class="col-xs-12 herotext" style='padding-top:0px'>
|
|
|
230 |
|
|
|
231 |
<?php echo $this->element('headerlinks',array(),array());?>
|
|
|
232 |
|
|
|
233 |
</div>
|
|
|
234 |
|
|
|
235 |
|
| 19616 |
naman |
236 |
<?php elseif($id!=2):?>
|
| 17190 |
naman |
237 |
<div class="col-xs-9 herotext" style='padding-top:0px'>
|
| 19605 |
naman |
238 |
|
| 19660 |
amit.gupta |
239 |
<?php if((isset($id) && $id == 6)) :?>
|
| 19605 |
naman |
240 |
<div id="wrapperboss" style="position:relative;">
|
|
|
241 |
<!-- crossfilter start -->
|
|
|
242 |
|
|
|
243 |
<div id="wrapper1" style="background:white;">
|
|
|
244 |
<div id="scroller1">
|
|
|
245 |
<ul>
|
|
|
246 |
|
|
|
247 |
<?php foreach($allbrandsubcat['idListInfo'] as $akey => $avalue ):?>
|
| 19618 |
naman |
248 |
<li class="upselect mtop getcancel quickclick" data-type="<?php if(isset($whatfirst)&&!empty($whatfirst)):?><?php echo $whatfirst;?><?php endif;?>" data-<?php echo $whatfirst."id";?>="<?php echo $akey;?>" ><?php echo $avalue;?> <span class="cancelstyle"> X </span></li>
|
| 19605 |
naman |
249 |
<?php endforeach;?>
|
|
|
250 |
|
|
|
251 |
<?php foreach($allbrandsubcat['result'] as $ckey => $cvalue ):?>
|
|
|
252 |
<?php if(in_array($cvalue[$whatsecondid],$secondloop)):?>
|
| 19618 |
naman |
253 |
<li class="upselect getcancel quickclick" data-type="<?php if(isset($whatsecond)&&!empty($whatsecond)):?><?php echo $whatsecond;?><?php endif;?>" data-<?php echo $whatsecond."id";?>="<?php echo $cvalue[$whatsecondid];?>">
|
| 19605 |
naman |
254 |
<?php echo $cvalue[$whatsecond];?> <span class="cancelstyle"> X </span>
|
|
|
255 |
</li>
|
|
|
256 |
<?php endif;?>
|
|
|
257 |
<?php endforeach;?>
|
|
|
258 |
|
|
|
259 |
</ul>
|
|
|
260 |
</div>
|
|
|
261 |
</div>
|
|
|
262 |
|
|
|
263 |
<!-- crossfilter end -->
|
|
|
264 |
|
|
|
265 |
|
|
|
266 |
</div>
|
|
|
267 |
<?php else:?>
|
|
|
268 |
<?php echo $this->element('headerlinks',array(),array());?>
|
| 17123 |
naman |
269 |
<!-- Daily profitable deals for you -->
|
| 19605 |
naman |
270 |
<?php endif;?>
|
|
|
271 |
|
|
|
272 |
</div>
|
|
|
273 |
|
|
|
274 |
|
| 17190 |
naman |
275 |
<div class="col-xs-3 pt7">
|
| 18388 |
naman |
276 |
<?php if((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>
|
| 19605 |
naman |
277 |
<a class="btn btn-xs btn-danger filteraction clearfilters pull-right mr5" id="clearfilters" style="margin-top: 4px;padding: 2px 16px; background: #efefef !important;border: 1px; color: #333!important;font-size: 12px;"> RESET </a>
|
| 16929 |
anikendra |
278 |
<?php endif;?>
|
|
|
279 |
</div>
|
|
|
280 |
<?php endif;?>
|
| 18846 |
naman |
281 |
|
| 19605 |
naman |
282 |
<?php if((isset($id) && $id == 6)):?>
|
| 17552 |
manish.sha |
283 |
|
| 19605 |
naman |
284 |
<?php else:?>
|
| 19659 |
amit.gupta |
285 |
<?php if(isset($id) && ($id==3 || $id==5)):?>
|
| 19605 |
naman |
286 |
<div class = 'col-xs-3 bg-white' style='float:left'>
|
| 17552 |
manish.sha |
287 |
|
|
|
288 |
<ul class="nav">
|
|
|
289 |
<li class="tab_layout <?php if($id!=2):?>bg-white<?php endif;?>">
|
|
|
290 |
<?php if($id!=2):?>
|
|
|
291 |
<div class="dropdown pull-right">
|
|
|
292 |
<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>
|
| 18388 |
naman |
293 |
<button class="<?php if((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>red-text<?php endif;?> btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
|
|
|
294 |
<i class="glyphicon glyphicon-filter"></i> <?php if ((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>On<?php endif;?>
|
| 17552 |
manish.sha |
295 |
<span class="caret"></span>
|
|
|
296 |
</button>
|
|
|
297 |
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1">
|
|
|
298 |
<li role="presentation" class="dropdown-header menu-item">
|
|
|
299 |
FILTER
|
| 18388 |
naman |
300 |
|
|
|
301 |
|
|
|
302 |
<?php if((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>
|
| 17552 |
manish.sha |
303 |
<button class="btn btn-xs clearfilters btn-danger filteraction" style="position: absolute;right: -5px;top: 5px;" id="clearfilters">Reset</button>
|
|
|
304 |
<?php endif;?>
|
|
|
305 |
</li>
|
| 17686 |
naman |
306 |
<!-- <By subcategory started> -->
|
|
|
307 |
<?php if ($id==6):?>
|
| 18388 |
naman |
308 |
<li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="<?php echo $base_url;?>subcategoryfilter/subcategory<?php if(isset($id)):?>/<?php echo $id;?><?php endif;?>/?<?php echo $_SERVER["QUERY_STRING"];?>">By Product <span class="greyarrow"></span></a></li>
|
| 17686 |
naman |
309 |
<?php endif;?>
|
|
|
310 |
|
|
|
311 |
<!-- <By subcategory ended> -->
|
| 18388 |
naman |
312 |
|
|
|
313 |
<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;?>/?<?php echo $_SERVER["QUERY_STRING"];?>">By Brands <span class="greyarrow"></span></a></li>
|
| 17686 |
naman |
314 |
|
| 17700 |
naman |
315 |
|
|
|
316 |
|
|
|
317 |
|
| 17552 |
manish.sha |
318 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Price-range</a></li> -->
|
|
|
319 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Sub-category</a></li> -->
|
|
|
320 |
<li role="presentation" class="dropdown-header menu-item">SORT</li>
|
| 19605 |
naman |
321 |
<li role="presentation" class="menu-item <?php if(isset($sortlabel) && $sortlabel == 'bestseller'):?>selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=bestSellerPoints&direction=-1<?php if(isset($filterstr)):?><?php echo $filterstr;?><?php endif;?>">Bestsellers</a></li>
|
| 18388 |
naman |
322 |
<li role="presentation" class="menu-item <?php //if(isset($sort) && $sort == 'available_price'):?><?php //endif;?>">
|
|
|
323 |
<span class="sortlabel">Price</span>
|
| 19605 |
naman |
324 |
<a role="menuitem" tabindex="-1" href="?sort=available_price&direction=1<?php echo $filterstr;?>" class="btn-asc btn btn-xs" <?php if(isset($sortlabel) && $sortlabel == 'pricelow'):?> style="background:#36d98a;" <?php endif;?>>Low</a>
|
|
|
325 |
<a role="menuitem" tabindex="-1" href="?sort=available_price&direction=-1<?php echo $filterstr;?>" class="btn-desc btn-xs" <?php if(isset($sortlabel) && $sortlabel == 'pricehigh'):?> style="background:#36d98a;" <?php endif;?>>High</a>
|
| 18388 |
naman |
326 |
</li>
|
| 17552 |
manish.sha |
327 |
<!-- <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> -->
|
| 19605 |
naman |
328 |
<li role="presentation" class="menu-item<?php if(isset($sortlabel) && $sortlabel == 'recommended'):?> selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=-1<?php echo $filterstr;?>">Recommended</a></li>
|
| 17552 |
manish.sha |
329 |
</ul>
|
|
|
330 |
</div>
|
|
|
331 |
<?php endif;?>
|
|
|
332 |
</li>
|
|
|
333 |
</ul>
|
|
|
334 |
</div>
|
| 19605 |
naman |
335 |
<?php endif; ?>
|
|
|
336 |
<?php endif;?>
|
| 16929 |
anikendra |
337 |
</div>
|
| 19605 |
naman |
338 |
|
|
|
339 |
<?php if((isset($id) && $id == 6) && ((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))) && (isset($allbrandsubcat) && !empty($allbrandsubcat))):?>
|
|
|
340 |
<!-- for quickfilter start-->
|
|
|
341 |
<div style="background:white;">
|
|
|
342 |
<div id="wrapper" style="background:white;">
|
|
|
343 |
<div id="scroller">
|
|
|
344 |
<ul>
|
|
|
345 |
<?php $colorcount = 0;?>
|
|
|
346 |
<?php foreach($allbrandsubcat['result'] as $bkey => $bvalue ):?>
|
|
|
347 |
<?php if(!in_array($bvalue[$whatsecondid],$secondloop)):?>
|
|
|
348 |
<?php $strarr = explode(" ", $bvalue[$whatsecond]);?>
|
| 19620 |
naman |
349 |
<li class="downselect quickclick" data-type="<?php if(isset($whatsecond)&&!empty($whatsecond)):?><?php echo $whatsecond;?><?php endif;?>" data-<?php echo $whatsecond."id";?>="<?php echo $bvalue[$whatsecondid];?>" style="background:<?php echo $color[$colorcount];?>; <?php if(strlen($bvalue[$whatsecond]) >9 && sizeof($strarr)>1):?> font-size: 10px;line-height: 12px;<?php elseif(strlen($bvalue[$whatsecond]) <=9 && sizeof($strarr)>1):?>line-height: 12px;<?php else:?>line-height: 24px;<?php endif;?>">
|
| 19605 |
naman |
350 |
|
|
|
351 |
<?php
|
|
|
352 |
echo $strarr[0];
|
|
|
353 |
if(sizeof($strarr) >1){
|
|
|
354 |
echo "<br>";
|
| 19620 |
naman |
355 |
for($abs = 1; $abs< sizeof($strarr);$abs++)
|
| 19605 |
naman |
356 |
{
|
|
|
357 |
echo $strarr[$abs]." ";
|
|
|
358 |
}
|
|
|
359 |
}
|
|
|
360 |
|
|
|
361 |
|
|
|
362 |
|
|
|
363 |
?>
|
|
|
364 |
|
|
|
365 |
</li>
|
|
|
366 |
<?php $colorcount = $colorcount+1;
|
|
|
367 |
if($colorcount == 6)
|
|
|
368 |
{
|
|
|
369 |
$colorcount = 0;
|
|
|
370 |
}
|
|
|
371 |
?>
|
|
|
372 |
<?php endif;?>
|
|
|
373 |
<?php endforeach;?>
|
|
|
374 |
</ul>
|
|
|
375 |
</div>
|
|
|
376 |
</div>
|
|
|
377 |
</div>
|
|
|
378 |
<!-- for quickfilter end-->
|
| 19661 |
naman |
379 |
<?php endif;?>
|
|
|
380 |
|
| 19605 |
naman |
381 |
<?php endif;?>
|