Subversion Repositories SmartDukaan

Rev

Rev 17077 | 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">
8
$(function(){
16679 anikendra 9
	var store = <?php echo $store['Store']['id'];?>;
10
	var url = '<?php echo $url;?>';
11
	if( store == 5) {
12
		url = 'http://mobilehotindia.com/r.html?'+Base64.encode(url);
15926 anikendra 13
		//check if shopclues is active or not
14
		active = getCookie('shopcluesActive',1);
15
		if(active && active == 'true'){
16679 anikendra 16
			document.location = url;	
15926 anikendra 17
			pma.send('apk','shopclues','active',me,null);
18
		}else{
19
			pma.send('apk','shopclues','inactive',me,null);
20
			$('#loadingModal').modal('hide');
16679 anikendra 21
			showShopcluesPopup(url);
15926 anikendra 22
		}
16679 anikendra 23
	} else if(store == 6 ) {
24
  		//display paytm help
18262 naman 25
  		//if(needToDisplayPaytmPopup(me)){
26
  		//	showPaytmHelpPopup();
27
	  	//	$('#oktatabyebye').on('click',function(){
28
	  	//		redirectToPaytm(url);	
29
	  	//	});	
30
  		//}else{
16679 anikendra 31
  			redirectToPaytm(url);	
18262 naman 32
  		//}
17077 anikendra 33
	} else if (store == 7) {
34
		redirectTohomeShop18(url);
16679 anikendra 35
	} else if (store == 2) {
36
		url = 'http://mobilehotindia.com/r.html?'+Base64.encode(url);
37
		document.location = url;				
38
	} else if(store == 3){
39
		url = '/r.html?'+Base64.encode(url);
40
		document.location = url;				
15926 anikendra 41
	} else {
16679 anikendra 42
		document.location = url;
15926 anikendra 43
	}	
14455 anikendra 44
});
15926 anikendra 45
</script>
46
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>