Subversion Repositories SmartDukaan

Rev

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

Rev 16018 Rev 16082
Line 43... Line 43...
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-12">
47
			<div class="herotext col-xs-12">
-
 
48
				Daily profitable deals for you
48
				<?php echo $this->element('headerlinks');?>
49
				<?php //echo $this->element('headerlinks');?>
49
				<script type="text/javascript">
50
				<script type="text/javascript">
50
					$(function(){
51
					$(function(){
51
						$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
52
						$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
52
						$('.notificationUrl').prop('href','<?php echo $url;?>');
53
						$('.notificationUrl').prop('href','<?php echo $url;?>');
53
						if(showpopup(<?php echo $notification['NotificationRule']['id'];?>,<?php echo $notification['NotificationRule']['popup_display_count'];?>,<?php echo $notification['NotificationRule']['popup_display_interval'];?>)) {
54
						if(showpopup(<?php echo $notification['NotificationRule']['id'];?>,<?php echo $notification['NotificationRule']['popup_display_count'];?>,<?php echo $notification['NotificationRule']['popup_display_interval'];?>)) {
Line 69... Line 70...
69
            <a target="_blank" href="http://m.cricbuzz.com/live-cricket-scores/<?php echo $liveScore['id'];?>">
70
            <a target="_blank" href="http://m.cricbuzz.com/live-cricket-scores/<?php echo $liveScore['id'];?>">
70
                <p><?php echo $liveScore['matchDesc'].' : '.$liveScore['battingTeamName'].' '.$liveScore['battingTeamRuns'].'/'.$liveScore['battingTeamWickets'].'('.$liveScore['battingTeamOvers'].')';?></p>
71
                <p><?php echo $liveScore['matchDesc'].' : '.$liveScore['battingTeamName'].' '.$liveScore['battingTeamRuns'].'/'.$liveScore['battingTeamWickets'].'('.$liveScore['battingTeamOvers'].')';?></p>
71
                <p><?php echo $liveScore['status'];?></p>
72
                <p><?php echo $liveScore['status'];?></p>
72
            </a>
73
            </a>
73
        <?php else:?>
74
        <?php else:?>
74
        	<?php echo $this->element('headerlinks',array(),array('cache' => array('key' => 'userlinks-'.$logged_user['id'].'-'.$id, 'config' => 'day')));?>
75
        	<?php //echo $this->element('headerlinks',array(),array());?>
-
 
76
        	Daily profitable deals for you
75
        <?php endif;?>
77
        <?php endif;?>
76
        </div>
78
        </div>
77
		<?php endif;?>			
79
		<?php endif;?>			
78
	</div>
80
	</div>