| Line 8... |
Line 8... |
| 8 |
<div class="filters row">
|
8 |
<div class="filters row">
|
| 9 |
<?php //$skipmobileverification = SessionHelper::read('skipmobileverification');if(!$logged_user['mobile_verified'] && !isset($skipmobileverification)):?>
|
9 |
<?php //$skipmobileverification = SessionHelper::read('skipmobileverification');if(!$logged_user['mobile_verified'] && !isset($skipmobileverification)):?>
|
| 10 |
<!-- <div class="verificationalert">Your phone number is not verified. <a href="<?php echo $base_url;?>/users/verifymobile">Verify now</a></div> -->
|
10 |
<!-- <div class="verificationalert">Your phone number is not verified. <a href="<?php echo $base_url;?>/users/verifymobile">Verify now</a></div> -->
|
| 11 |
<?php //endif;?>
|
11 |
<?php //endif;?>
|
| 12 |
<?php if(isset($notification) && !empty($notification)):?>
|
12 |
<?php if(isset($notification) && !empty($notification)):?>
|
| - |
|
13 |
<?php if($notification['NotificationRule']['type']=='link'):?>
|
| 13 |
<div class="alert alert-info text-center col-xs-8">
|
14 |
<div class="alert alert-info text-center col-xs-8">
|
| 14 |
<a target="_blank" href="<?php echo $notification['NotificationRule']['url'].'?user_id='.$logged_user['id'];?>" class="webnotification"><?php echo $notification['NotificationRule']['message'];?></a>
|
15 |
<a target="_blank" href="<?php echo $notification['NotificationRule']['url'].'?user_id='.$logged_user['id'];?>" class="webnotification"><?php echo $notification['NotificationRule']['message'];?></a>
|
| - |
|
16 |
</div>
|
| - |
|
17 |
<?php elseif($notification['NotificationRule']['type']=='popup'):?>
|
| - |
|
18 |
<?php
|
| - |
|
19 |
$url = $notification['NotificationRule']['url'];
|
| - |
|
20 |
if(strpos($url, '?')!==false){
|
| - |
|
21 |
$url .= '&user_id='.$logged_user['id'];
|
| - |
|
22 |
}else{
|
| - |
|
23 |
$url .= '?user_id='.$logged_user['id'];
|
| - |
|
24 |
}
|
| - |
|
25 |
?>
|
| - |
|
26 |
<div class="alert text-center col-xs-8">
|
| - |
|
27 |
<script type="text/javascript">
|
| - |
|
28 |
$(function(){
|
| - |
|
29 |
$('#notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
|
| - |
|
30 |
$('#notificationUrl').prop('href','<?php echo $url;?>');
|
| - |
|
31 |
if(showpopup(<?php echo $notification['NotificationRule']['id'];?>,<?php echo $notification['NotificationRule']['popup_display_count'];?>,<?php echo $notification['NotificationRule']['popup_display_interval'];?>)) {
|
| - |
|
32 |
$('#notificationModal').modal();
|
| - |
|
33 |
}
|
| - |
|
34 |
});
|
| - |
|
35 |
</script>
|
| 15 |
</div>
|
36 |
</div>
|
| - |
|
37 |
<?php endif;?>
|
| 16 |
<?php else:?>
|
38 |
<?php else:?>
|
| 17 |
<div class="col-xs-8 herotext">
|
39 |
<div class="col-xs-8 herotext">
|
| 18 |
<?php if((strcmp($liveScore['mstate'],'inprogress')==0) or (strcmp($liveScore['mstate'],'innings break')==0)):?>
|
40 |
<?php if((strcmp($liveScore['mstate'],'inprogress')==0) or (strcmp($liveScore['mstate'],'innings break')==0)):?>
|
| 19 |
<a target="_blank" href="http://m.cricbuzz.com/live-cricket-scores/<?php echo $liveScore['id'];?>">
|
41 |
<a target="_blank" href="http://m.cricbuzz.com/live-cricket-scores/<?php echo $liveScore['id'];?>">
|
| 20 |
<p><?php echo $liveScore['matchDesc'].' : '.$liveScore['battingTeamName'].' '.$liveScore['battingTeamRuns'].'/'.$liveScore['battingTeamWickets'].'('.$liveScore['battingTeamOvers'].')';?></p>
|
42 |
<p><?php echo $liveScore['matchDesc'].' : '.$liveScore['battingTeamName'].' '.$liveScore['battingTeamRuns'].'/'.$liveScore['battingTeamWickets'].'('.$liveScore['battingTeamOvers'].')';?></p>
|