Subversion Repositories SmartDukaan

Rev

Rev 20401 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
14455 anikendra 1
<div class="container">
2
	<div class="well text-center">
3
		You are being redirected to <a href="<?php echo $url;?>"><?php echo $store['Store']['name'];?></a>
4
	</div>
5
</div>
15926 anikendra 6
<?php echo $this->element('unlikemodal');?>
14455 anikendra 7
<script type="text/javascript">
20413 amit.gupta 8
	store = <?php echo $store['Store']['id'];?>;
9
	url = '<?php echo $url;?>';
10
</script>
11
<?php echo $outputcategory;?>
12
<script type="text/javascript">
14455 anikendra 13
$(function(){
16679 anikendra 14
	if( store == 5) {
15
		url = 'http://mobilehotindia.com/r.html?'+Base64.encode(url);
15926 anikendra 16
		//check if shopclues is active or not
17
		active = getCookie('shopcluesActive',1);
18
		if(active && active == 'true'){
16679 anikendra 19
			document.location = url;	
15926 anikendra 20
			pma.send('apk','shopclues','active',me,null);
21
		}else{
22
			pma.send('apk','shopclues','inactive',me,null);
23
			$('#loadingModal').modal('hide');
16679 anikendra 24
			showShopcluesPopup(url);
15926 anikendra 25
		}
16679 anikendra 26
	} else if(store == 6 ) {
20401 amit.gupta 27
  		redirectToPaytm(url);
17077 anikendra 28
	} else if (store == 7) {
29
		redirectTohomeShop18(url);
16679 anikendra 30
	} else if (store == 2) {
31
		url = 'http://mobilehotindia.com/r.html?'+Base64.encode(url);
32
		document.location = url;				
33
	} else if(store == 3){
34
		url = '/r.html?'+Base64.encode(url);
35
		document.location = url;				
15926 anikendra 36
	} else {
16679 anikendra 37
		document.location = url;
15926 anikendra 38
	}	
14455 anikendra 39
});
15926 anikendra 40
</script>
41
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>