Subversion Repositories SmartDukaan

Rev

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

Rev 19326 Rev 19607
Line 203... Line 203...
203
  padding: 13px;
203
  padding: 13px;
204
  pointer-events: none;
204
  pointer-events: none;
205
}
205
}
206
.left-addon .glyphicon  { left:  0px;}
206
.left-addon .glyphicon  { left:  0px;}
207
.left-addon input  { padding:5px 6px 3px 36px; }
207
.left-addon input  { padding:5px 6px 3px 36px; }
208
</style>
-
 
209
<?php if($id==6):?>
-
 
210
<div style="background:#58d936;text-align: center;width:100%;font-size:12px;padding:5px 1px 1px 1px;">
-
 
211
	<a href= "<?php echo $base_url."abouts/returnpolicy";?>" style="color:#E9292A;"><strong><u>EASY RETURNS, FREE REPLACEMENT : </strong>
-
 
212
	See detail</a>
-
 
213
	<br>
-
 
214
	<a href= "<?php echo $base_url."abouts/shippingpolicy";?>" style="color:#E9292A;"><strong><u>FREE SHIPPINGS : </strong>
-
 
215
	See how</a>
-
 
216
</div>
-
 
217
 
208
 
218
<?php endif;?>
209
.accmenu>li {
219
<?php //echo strtok($_SERVER["REQUEST_URI"],'?');?>
210
	padding : 0px ;
-
 
211
}
-
 
212
</style>
220
 
213
 
-
 
214
<?php if($id==6):?>
221
<?php if($id==6 && $subcategories && array_key_exists($subcategories, $searchableSubCategories)):?>
215
<div class = "row" style="background:white;padding:5px 0px;">	
-
 
216
		<hr style="margin-top:0px;margin-bottom:4px;">
-
 
217
	
222
	<div id= "moreitem">    
218
	<div class= "col-xs-9" style="padding:0px;">
-
 
219
		<?php if($id==6):?>
-
 
220
		
-
 
221
		<div style="width:100%;font-size:12px;padding:5px 1px 1px 1px;margin-left:5px;">
223
	    <a onclick="clearFilters()" href="<?php echo $_SERVER['HTTP_REFERER'];?>"><span style="padding:3px" class="glyphicon glyphicon-arrow-left"></span>Showing <?php echo $searchableSubCategories[$subcategories];?></a>
222
			<a href= "<?php echo $base_url."abouts/returnpolicy";?>" style="color:#3399fe;">Easy Returns, Free Replacement:
-
 
223
			<span style="border: #3399fe 1px solid;padding:2px;font-size:11px;"> See detail </span></a>
-
 
224
			<br>
-
 
225
			<a href= "<?php echo $base_url."abouts/shippingpolicy";?>" style="color:#3399fe;">Free Shippings: 
-
 
226
			<span style="border: #3399fe 1px solid;padding:2px;font-size:11px;"> See how </span></a>
-
 
227
		</div>
-
 
228
		
-
 
229
		<?php endif;?>
-
 
230
		<?php //echo strtok($_SERVER["REQUEST_URI"],'?');?>
224
	</div>
231
	</div>
-
 
232
	
-
 
233
	<div class ="col-xs-3" style="padding:0px;">
-
 
234
		<?php if(isset($id) && $id == 6):?>
-
 
235
								<ul class="nav">
-
 
236
									<li class="tab_layout" style="height: 41px !important;">
-
 
237
										
225
    <div class= "inner-addon left-addon" style='padding-top:5px;position: relative;'>
238
										<div class="dropdown pull-right" style="padding: 4px 4px 0px;">
-
 
239
											
-
 
240
											<button class="btn btn-default btn-xs dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
-
 
241
												
-
 
242
												<?php if((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>												
-
 
243
													<i class="glyphicon glyphicon-sort"></i> SORT
-
 
244
												<?php else:?>
-
 
245
													 FILTER
-
 
246
												<?php endif;?>
-
 
247
											</button>
-
 
248
											<ul class="dropdown-menu dropdown-menu-right accmenu" role="menu" aria-labelledby="dropdownMenu1" style="right:4px;">
-
 
249
											
-
 
250
											<?php if((isset($brands) && !empty($brands)) || (isset($subcategories) && !empty($subcategories))):?>
-
 
251
											<?php else:?>	
226
        <i class="glyphicon glyphicon-search"></i>
252
												<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>
227
        <input type="text" id= "searchforbrand" placeholder="Search brands or models"  class="input-block-level">
253
												<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>
-
 
254
												<li role="presentation" class="dropdown-header menu-item" style="padding-left: 20px;">SORT</li>
-
 
255
												
-
 
256
											<?php endif;?>
228
    </div>
257
												<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;?><?php if(isset($whatfirst) && !empty($whatfirst)):?><?php echo "&whatfirst=".$whatfirst;?><?php endif;?>">Bestsellers</a></li>
229
<?php elseif(isset($searchfor) && !empty($searchfor)):?>
258
												<li role="presentation" class="menu-item<?php if(isset($sortlabel) && $sortlabel == 'pricelow'):?> selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=available_price&direction=1<?php echo $filterstr;?><?php if(isset($whatfirst) && !empty($whatfirst)):?><?php echo "&whatfirst=".$whatfirst;?><?php endif;?>">Price- Low to High</a></li>
230
<div id= "moreitem">    
259
												<li role="presentation" class="menu-item<?php if(isset($sortlabel) && $sortlabel == 'pricehigh'):?> selected<?php endif;?>"><a role="menuitem" tabindex="-1" href="?sort=available_price&direction=-1<?php echo $filterstr;?><?php if(isset($whatfirst) && !empty($whatfirst)):?><?php echo "&whatfirst=".$whatfirst;?><?php endif;?>">Price- High to Low</a></li>	
231
    <a href="<?php echo $_SERVER['HTTP_REFERER'];?>"><span style="padding:3px" class="glyphicon glyphicon-arrow-left"></span>Showing <?php echo $searchfor;?> items</a>
260
												<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;?><?php if(isset($whatfirst) && !empty($whatfirst)):?><?php echo "&whatfirst=".$whatfirst;?><?php endif;?>">Recommended</a></li>
-
 
261
												
-
 
262
											</ul>
-
 
263
										</div>
-
 
264
										
-
 
265
									</li>	
-
 
266
								</ul>
-
 
267
								
-
 
268
		<?php else:?>
-
 
269
				&nbsp;
-
 
270
		<?php endif;?>
-
 
271
	</div>	
-
 
272
	
-
 
273
	<hr style="margin-top:7px;margin-bottom:4px;">
232
</div>
274
</div>
233
<?php endif;?>
275
<?php endif;?>
-
 
276
	
-
 
277
	<?php if($id==6 && $subcategories && array_key_exists($subcategories, $searchableSubCategories)):?>
-
 
278
		<div style="padding-top: 0px;background:white;">
-
 
279
		
-
 
280
		    <div class= "inner-addon left-addon" style='padding-top:5px;position: relative;'>
-
 
281
		        <i class="glyphicon glyphicon-search"></i>
-
 
282
		        <input type="text" id= "searchforbrand" placeholder="Search brands or models"  class="input-block-level">
-
 
283
		    </div>
-
 
284
		    
-
 
285
		    <hr style="margin-top:0px;margin-bottom:4px;">
-
 
286
		</div>
-
 
287
	<?php //elseif(isset($searchfor) && !empty($searchfor)):?>
-
 
288
<!-- 	<div id= "moreitem">     -->
-
 
289
<!--  	    <a href="<?php //echo $_SERVER['HTTP_REFERER'];?>"><span style="padding:3px" class="glyphicon glyphicon-arrow-left"></span>Showing <?php //echo $searchfor;?> items</a>-->
-
 
290
<!-- 	</div> -->
-
 
291
	<?php endif;?>
234
 
292
 
235
 
293
 
236
<div class="text-center hidden" id="searchloader">
294
<div class="text-center hidden" id="searchloader">
237
    <br><br><br><br>
295
    <br><br><br><br>
238
          <div class="hexdots-loader"></div>         
296
          <div class="hexdots-loader"></div>