Subversion Repositories SmartDukaan

Rev

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

Rev 15085 Rev 15926
Line 1... Line 1...
1
<div class="container">
1
<div class="container">
2
	<div class="well text-center">
2
	<div class="well text-center">
3
		You are being redirected to <a href="<?php echo $url;?>"><?php echo $store['Store']['name'];?></a>
3
		You are being redirected to <a href="<?php echo $url;?>"><?php echo $store['Store']['name'];?></a>
4
	</div>
4
	</div>
5
</div>
5
</div>
-
 
6
<?php echo $this->element('unlikemodal');?>
6
<script type="text/javascript">
7
<script type="text/javascript">
7
$(function(){
8
$(function(){
-
 
9
	if(<?php echo $store['Store']['id'];?> == 5) {
-
 
10
		//check if shopclues is active or not
-
 
11
		active = getCookie('shopcluesActive',1);
-
 
12
		if(active && active == 'true'){
-
 
13
			document.location = '<?php echo $url;?>';	
-
 
14
			pma.send('apk','shopclues','active',me,null);
-
 
15
		}else{
-
 
16
			pma.send('apk','shopclues','inactive',me,null);
-
 
17
			$('#loadingModal').modal('hide');
-
 
18
			showShopcluesPopup('<?php echo $url;?>');
-
 
19
		}
-
 
20
	} else {
8
	document.location = '<?php echo $url;?>';
21
		document.location = '<?php echo $url;?>';
-
 
22
	}	
9
});
23
});
10
</script>
-
 
11
24
</script>
-
 
25
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>
-
 
26
12
27