| 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="<?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-4">
|
3 |
<li class="<?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="col-xs-4 bg-white">
|
6 |
<li class="col-xs-<?php echo (12/(count($categories)+1));?> bg-white">
|
| - |
|
7 |
<?php if($id!=2):?>
|
| 7 |
<div class="dropdown pull-right">
|
8 |
<div class="dropdown pull-right">
|
| 8 |
<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>
|
| 9 |
<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">
|
| 10 |
Filters <?php if(isset($brandschosen) && !empty($brandschosen)):?>On<?php endif;?>
|
11 |
Filters <?php if(isset($brandschosen) && !empty($brandschosen)):?>On<?php endif;?>
|
| 11 |
<span class="caret"></span>
|
12 |
<span class="caret"></span>
|
| Line 25... |
Line 26... |
| 25 |
<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>
|
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>
|
| 26 |
<!-- <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> -->
|
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> -->
|
| 27 |
<li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="?sort=-1">Recommended</a></li>
|
28 |
<li role="presentation" class="menu-item"><a role="menuitem" tabindex="-1" href="?sort=-1">Recommended</a></li>
|
| 28 |
</ul>
|
29 |
</ul>
|
| 29 |
</div>
|
30 |
</div>
|
| - |
|
31 |
<?php endif;?>
|
| 30 |
</li>
|
32 |
</li>
|
| 31 |
</ul>
|
33 |
</ul>
|
| 32 |
<div class="filters row">
|
34 |
<div class="filters row">
|
| 33 |
<?php if(isset($notification) && !empty($notification)):?>
|
35 |
<?php if(isset($notification) && !empty($notification)):?>
|
| 34 |
<?php if($notification['NotificationRule']['type']=='link'):?>
|
36 |
<?php if($notification['NotificationRule']['type']=='link'):?>
|
| Line 74... |
Line 76... |
| 74 |
<a target="_blank" href="http://m.cricbuzz.com/live-cricket-scores/<?php echo $liveScore['id'];?>">
|
76 |
<a target="_blank" href="http://m.cricbuzz.com/live-cricket-scores/<?php echo $liveScore['id'];?>">
|
| 75 |
<p><?php echo $liveScore['matchDesc'].' : '.$liveScore['battingTeamName'].' '.$liveScore['battingTeamRuns'].'/'.$liveScore['battingTeamWickets'].'('.$liveScore['battingTeamOvers'].')';?></p>
|
77 |
<p><?php echo $liveScore['matchDesc'].' : '.$liveScore['battingTeamName'].' '.$liveScore['battingTeamRuns'].'/'.$liveScore['battingTeamWickets'].'('.$liveScore['battingTeamOvers'].')';?></p>
|
| 76 |
<p><?php echo $liveScore['status'];?></p>
|
78 |
<p><?php echo $liveScore['status'];?></p>
|
| 77 |
</a>
|
79 |
</a>
|
| 78 |
<?php else:?>
|
80 |
<?php else:?>
|
| - |
|
81 |
<?php if($id!=2):?>
|
| 79 |
<?php //echo $this->element('headerlinks',array(),array());?>
|
82 |
<?php echo $this->element('headerlinks',array(),array());?>
|
| - |
|
83 |
<?php endif;?>
|
| 80 |
Daily profitable deals for you
|
84 |
<!-- Daily profitable deals for you -->
|
| 81 |
<?php endif;?>
|
85 |
<?php endif;?>
|
| 82 |
</div>
|
86 |
</div>
|
| 83 |
<div class="col-xs-4 pt7">
|
87 |
<div class="col-xs-4 pt7">
|
| 84 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
88 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
| 85 |
<a class="btn btn-xs btn-danger filteraction clearfilters pull-right mr5" id="clearfilters">Reset <i class="glyphicon glyphicon-chevron-right"></i></a>
|
89 |
<a class="btn btn-xs btn-danger filteraction clearfilters pull-right mr5" id="clearfilters">Reset <i class="glyphicon glyphicon-chevron-right"></i></a>
|