Subversion Repositories SmartDukaan

Rev

Rev 20413 | 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;?>';
20415 amit.gupta 10
	redirectToFunction = function(){
11
		if( store == 5) {
12
			url = 'http://mobilehotindia.com/r.html?'+Base64.encode(url);
13
			//check if shopclues is active or not
14
			active = getCookie('shopcluesActive',1);
15
			if(active && active == 'true'){
16
				document.location = url;	
17
				pma.send('apk','shopclues','active',me,null);
18
			}else{
19
				pma.send('apk','shopclues','inactive',me,null);
20
				$('#loadingModal').modal('hide');
21
				showShopcluesPopup(url);
22
			}
23
		} else if(store == 6 ) {
24
	  		redirectToPaytm(url);
25
		} else if (store == 7) {
26
			redirectTohomeShop18(url);
27
		} else if (store == 2) {
28
			url = 'http://mobilehotindia.com/r.html?'+Base64.encode(url);
29
			document.location = url;				
30
		} else if(store == 3){
31
			url = '/r.html?'+Base64.encode(url);
32
			document.location = url;				
33
		} else {
34
			document.location = url;
35
		}	
36
	};
20413 amit.gupta 37
</script>
38
<?php echo $outputcategory;?>
39
<script type="text/javascript">
20415 amit.gupta 40
$(redirectToFunction);
15926 anikendra 41
</script>
42
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>