Subversion Repositories SmartDukaan

Rev

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

Rev 14849 Rev 14928
Line 1... Line 1...
1
	<ul class="nav nav-tabs catselect">
1
	<ul class="nav nav-tabs catselect">
2
		<li class="<?php if(!isset($id)):?>active<?php endif;?> col-xs-4"><a href="/deals/mine">All</a></li>
2
		<!-- <li class="<?php if(!isset($id)):?>active<?php endif;?> col-xs-4"><a href="/deals/mine">All</a></li> -->
3
	<?php foreach($categories AS $catId => $name):?>
3
	<?php foreach($categories AS $catId => $name):?>
-
 
4
		<?php if($catId==3)$name='All';?>
4
	  <li class="<?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-4">
5
	  <li class="<?php if((isset($id)) && $catId == $id):?>active<?php endif;?> col-xs-6">
5
	    <a href="/category/<?php echo $catId;?>"><?php echo $name;?></a></li>
6
	    <a href="/category/<?php echo $catId;?>"><?php echo $name;?></a></li>
6
	<?php endforeach;?>
7
	<?php endforeach;?>
7
	</ul>
8
	</ul>
8
	<div class="filters row">		
9
	<div class="filters row">		
9
		<?php //$skipmobileverification = SessionHelper::read('skipmobileverification');if(!$logged_user['mobile_verified'] && !isset($skipmobileverification)):?>
10
		<?php //$skipmobileverification = SessionHelper::read('skipmobileverification');if(!$logged_user['mobile_verified'] && !isset($skipmobileverification)):?>
Line 24... Line 25...
24
				}
25
				}
25
			?>
26
			?>
26
			<div class="alert text-center col-xs-8">
27
			<div class="alert text-center col-xs-8">
27
				<script type="text/javascript">
28
				<script type="text/javascript">
28
					$(function(){
29
					$(function(){
29
						$('#notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
30
						$('.notificationMessage').html('<?php echo $notification['NotificationRule']['message'];?>');
30
						$('#notificationUrl').prop('href','<?php echo $url;?>');
31
						$('.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
						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
							$('#notificationModal'+'<?php echo ucfirst($notification['NotificationRule']['popup_type']);?>').modal({show: true,keyboard: false,backdrop: 'static'});											
33
						}
34
						}
34
					});
35
					});
35
				</script>
36
				</script>
36
			</div>
37
			</div>
37
			<?php endif;?>
38
			<?php endif;?>
38
		<?php else:?>
39
		<?php else:?>
39
		<div class="col-xs-8 herotext">
40
		<div class="col-xs-8 herotext">
40
        <?php if((strcmp($liveScore['mstate'],'inprogress')==0) or (strcmp($liveScore['mstate'],'innings break')==0)):?>
41
        <?php if(isset($liveScore) && ((strcmp($liveScore['mstate'],'inprogress')==0) or (strcmp($liveScore['mstate'],'innings break')==0))):?>
41
            <a target="_blank" href="http://m.cricbuzz.com/live-cricket-scores/<?php echo $liveScore['id'];?>">
42
            <a target="_blank" href="http://m.cricbuzz.com/live-cricket-scores/<?php echo $liveScore['id'];?>">
42
                <p><?php echo $liveScore['matchDesc'].' : '.$liveScore['battingTeamName'].' '.$liveScore['battingTeamRuns'].'/'.$liveScore['battingTeamWickets'].'('.$liveScore['battingTeamOvers'].')';?></p>
43
                <p><?php echo $liveScore['matchDesc'].' : '.$liveScore['battingTeamName'].' '.$liveScore['battingTeamRuns'].'/'.$liveScore['battingTeamWickets'].'('.$liveScore['battingTeamOvers'].')';?></p>
43
                <p><?php echo $liveScore['status'];?></p>
44
                <p><?php echo $liveScore['status'];?></p>
44
            </a>
45
            </a>
45
        <?php else:?>
46
        <?php else:?>