| Line 42... |
Line 42... |
| 42 |
$url .= '&user_id='.$logged_user['id'];
|
42 |
$url .= '&user_id='.$logged_user['id'];
|
| 43 |
}else{
|
43 |
}else{
|
| 44 |
$url .= '?user_id='.$logged_user['id'];
|
44 |
$url .= '?user_id='.$logged_user['id'];
|
| 45 |
}
|
45 |
}
|
| 46 |
?>
|
46 |
?>
|
| 47 |
<div class="herotext col-xs-10">
|
47 |
<div class="herotext col-xs-8">
|
| 48 |
Daily profitable deals for you
|
48 |
Daily profitable deals for you
|
| 49 |
<script type="text/javascript">
|
49 |
<script type="text/javascript">
|
| 50 |
$(function(){
|
50 |
$(function(){
|
| 51 |
$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
|
51 |
$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
|
| 52 |
$('.notificationUrl').prop('href','<?php echo $url;?>').data('id','<?php echo $notification['NotificationRule']['id'];?>');
|
52 |
$('.notificationUrl').prop('href','<?php echo $url;?>').data('id','<?php echo $notification['NotificationRule']['id'];?>');
|
| Line 60... |
Line 60... |
| 60 |
pma.send('popupnotification','shown','<?php echo $notification['NotificationRule']['type'];?>',me,properties);
|
60 |
pma.send('popupnotification','shown','<?php echo $notification['NotificationRule']['type'];?>',me,properties);
|
| 61 |
}
|
61 |
}
|
| 62 |
});
|
62 |
});
|
| 63 |
</script>
|
63 |
</script>
|
| 64 |
</div>
|
64 |
</div>
|
| 65 |
<div class="col-xs-2 pull-right">
|
65 |
<div class="col-xs-4 pt7">
|
| 66 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
66 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
| 67 |
<a class="filteraction clearfilters" id="clearfilters">Clear Filters</a>
|
67 |
<a class="filteraction clearfilters" id="clearfilters">Clear Filters</a>
|
| 68 |
<?php endif;?>
|
68 |
<?php endif;?>
|
| 69 |
</div>
|
69 |
</div>
|
| 70 |
<?php endif;?>
|
70 |
<?php endif;?>
|
| 71 |
<?php else:?>
|
71 |
<?php else:?>
|
| 72 |
<div class="col-xs-10 herotext">
|
72 |
<div class="col-xs-8 herotext">
|
| 73 |
<?php if(isset($liveScore) && ((strcmp($liveScore['mstate'],'inprogress')==0) or (strcmp($liveScore['mstate'],'innings break')==0))):?>
|
73 |
<?php if(isset($liveScore) && ((strcmp($liveScore['mstate'],'inprogress')==0) or (strcmp($liveScore['mstate'],'innings break')==0))):?>
|
| 74 |
<a target="_blank" href="http://m.cricbuzz.com/live-cricket-scores/<?php echo $liveScore['id'];?>">
|
74 |
<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>
|
75 |
<p><?php echo $liveScore['matchDesc'].' : '.$liveScore['battingTeamName'].' '.$liveScore['battingTeamRuns'].'/'.$liveScore['battingTeamWickets'].'('.$liveScore['battingTeamOvers'].')';?></p>
|
| 76 |
<p><?php echo $liveScore['status'];?></p>
|
76 |
<p><?php echo $liveScore['status'];?></p>
|
| 77 |
</a>
|
77 |
</a>
|
| 78 |
<?php else:?>
|
78 |
<?php else:?>
|
| 79 |
<?php //echo $this->element('headerlinks',array(),array());?>
|
79 |
<?php //echo $this->element('headerlinks',array(),array());?>
|
| 80 |
Daily profitable deals for you
|
80 |
Daily profitable deals for you
|
| 81 |
<?php endif;?>
|
81 |
<?php endif;?>
|
| 82 |
</div>
|
82 |
</div>
|
| 83 |
<div class="col-xs-2 pull-right">
|
83 |
<div class="col-xs-4 pt7">
|
| 84 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
84 |
<?php if(isset($brandschosen) && !empty($brandschosen)):?>
|
| 85 |
<a class="filteraction clearfilters" id="clearfilters">Clear Filters</a>
|
85 |
<a class="filteraction clearfilters" id="clearfilters">Clear Filters</a>
|
| 86 |
<?php endif;?>
|
86 |
<?php endif;?>
|
| 87 |
</div>
|
87 |
</div>
|
| 88 |
<?php endif;?>
|
88 |
<?php endif;?>
|