| 15403 |
manish.sha |
1 |
<div class="container">
|
|
|
2 |
<div class="panel panel-primary">
|
|
|
3 |
<div class="panel-heading" style="background-color:#125688;text-align:center;">
|
|
|
4 |
<h3 class="panel-title"><a href="/" style="text-decoration: none;">MobileHot India</a></h3>
|
|
|
5 |
</div>
|
|
|
6 |
</div>
|
|
|
7 |
<div class="searchbar">
|
|
|
8 |
<form class="navbar-form" role="search" method="GET" name="search" action="<?php echo $base_url;?>search">
|
|
|
9 |
<div class="input-group col-xs-12 text-right" id="remote">
|
|
|
10 |
<input autocomplete="off" type="text" class="form-control" placeholder="Search for items" name="q" id="srch-term">
|
|
|
11 |
<div class="input-group-btn w25px">
|
|
|
12 |
<button class="btn btn-default" type="submit"><i class="glyphicon glyphicon-search"></i></button>
|
|
|
13 |
</div>
|
|
|
14 |
</div>
|
|
|
15 |
</form>
|
|
|
16 |
</div>
|
|
|
17 |
|
|
|
18 |
<div id="searchBanners" class="carousel slide" data-ride="carousel">
|
|
|
19 |
|
|
|
20 |
<?php if(!empty($campaigns)):
|
|
|
21 |
$count=0;?>
|
|
|
22 |
<ol class="carousel-indicators">
|
|
|
23 |
<?php foreach ($campaigns as $key => $campaign):?>
|
|
|
24 |
<li data-target="#searchBanners" data-url="<?php echo $campaign['Campaign']['url'];?>" data-source="<?php echo $campaign['Campaign']['store_id'];?>" data-slide-to="<?php echo $count;?>" <?php if($count==0):?>class="active"<?php endif;?> data-price="0"></li>
|
|
|
25 |
<?php $count++;?>
|
|
|
26 |
<?php endforeach;?>
|
|
|
27 |
</ol>
|
|
|
28 |
|
|
|
29 |
<?php $count1=0;?>
|
|
|
30 |
<div class="carousel-inner" role="listbox">
|
|
|
31 |
<?php foreach ($campaigns as $key => $campaign):?>
|
|
|
32 |
<div class="item <?php if($count1==0):?>active<?php endif;?>">
|
|
|
33 |
<a href="<?php echo $campaign['Campaign']['url'];?>"><img src="<?php echo $campaign['Campaign']['img_url'];?>" alt="/"></a>
|
|
|
34 |
</div>
|
|
|
35 |
<?php $count1++;?>
|
|
|
36 |
<?php endforeach;?>
|
|
|
37 |
</div>
|
|
|
38 |
<?php endif;?>
|
|
|
39 |
<a class="left carousel-control" href="#searchBanners" role="button" data-slide="prev">
|
|
|
40 |
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
|
|
|
41 |
<span class="sr-only">Previous</span>
|
|
|
42 |
</a>
|
|
|
43 |
<a class="right carousel-control" href="#searchBanners" role="button" data-slide="next">
|
|
|
44 |
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
|
|
|
45 |
<span class="sr-only">Next</span>
|
|
|
46 |
</a>
|
|
|
47 |
</div>
|
| 15470 |
manish.sha |
48 |
|
|
|
49 |
<div class="searchresults">
|
|
|
50 |
<?php if(!empty($result)):?>
|
|
|
51 |
<div class="searchterm">
|
|
|
52 |
<?php echo $q;?> Total (<?php echo sizeof($result)-1;?> results)
|
|
|
53 |
</div>
|
|
|
54 |
<div class="scroll">
|
|
|
55 |
<?php echo $this->element('searchresult');?>
|
|
|
56 |
</div>
|
|
|
57 |
<?php endif;?>
|
| 15403 |
manish.sha |
58 |
</div>
|
|
|
59 |
</div>
|
|
|
60 |
<?php echo $this->element('unlikemodal');?>
|
|
|
61 |
<script type="text/javascript" src="/js/bootstrap-typeahead.js?v=<?php echo $staticversion;?>"></script>
|
|
|
62 |
|
|
|
63 |
<script type="text/javascript">
|
|
|
64 |
$('#srch-term').typeahead({
|
|
|
65 |
ajax: { url: '../autosuggest.json',
|
|
|
66 |
triggerLength: 3,
|
|
|
67 |
method: 'get'
|
|
|
68 |
},
|
|
|
69 |
display: 'val',
|
|
|
70 |
val: 'val',
|
|
|
71 |
});
|
|
|
72 |
</script>
|
|
|
73 |
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>
|
|
|
74 |
<ul class="nav nav-tabs catselect">
|
|
|
75 |
<!-- <li class="<?php if(!isset($id)):?>active<?php endif;?> col-xs-4"><a href="/deals/mine">All</a></li> -->
|
|
|
76 |
<li class=" col-xs-6">
|
|
|
77 |
<a href="/category/3"><img src="/img/mobile.png" alt="" /> Mobiles</a></li>
|
|
|
78 |
<li class=" col-xs-6">
|
|
|
79 |
<a href="/category/5"><img src="/img/tablet.png" alt="" /> Tablets</a></li>
|
|
|
80 |
</ul>
|
| 15460 |
manish.sha |
81 |
<!--
|
| 15403 |
manish.sha |
82 |
<div class="filters row">
|
|
|
83 |
|
|
|
84 |
<div class="dropdown pull-right">
|
|
|
85 |
<button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
|
| 15460 |
manish.sha |
86 |
SORT <?php //if(isset($brandschosen) && !empty($brandschosen)):?>On<?php //endif;?>
|
| 15403 |
manish.sha |
87 |
<span class="caret"></span>
|
|
|
88 |
</button>
|
| 15460 |
manish.sha |
89 |
<ul class="dropdown-menu dropdown-menu-right" role="menu" aria-labelledby="dropdownMenu1"> -->
|
| 15403 |
manish.sha |
90 |
<!-- <li role="presentation" class="dropdown-header menu-item">
|
|
|
91 |
FILTER
|
| 15460 |
manish.sha |
92 |
<?php //if(isset($brandschosen) && !empty($brandschosen)):?>
|
| 15403 |
manish.sha |
93 |
<button class="btn btn-xs clearfilters" id="clearfilters">Clear all Filters</button>
|
| 15460 |
manish.sha |
94 |
<?php //endif;?>
|
| 15403 |
manish.sha |
95 |
</li>
|
| 15460 |
manish.sha |
96 |
<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> -->
|
| 15403 |
manish.sha |
97 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Price-range</a></li> -->
|
|
|
98 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="#">Sub-category</a></li> -->
|
| 15460 |
manish.sha |
99 |
<!--
|
| 15403 |
manish.sha |
100 |
<li role="presentation" class="dropdown-header menu-item">SORT</li>
|
| 15460 |
manish.sha |
101 |
<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>
|
| 15403 |
manish.sha |
102 |
<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>
|
| 15460 |
manish.sha |
103 |
<!-- <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> -->
|
|
|
104 |
<!-- <li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="?sort=-1">Recommended</a></li>
|
| 15403 |
manish.sha |
105 |
</ul>
|
|
|
106 |
</div>
|
|
|
107 |
|
|
|
108 |
|
| 15460 |
manish.sha |
109 |
</div> -->
|