Subversion Repositories SmartDukaan

Rev

Rev 15085 | Rev 16679 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<div class="container">
        <div class="well text-center">
                You are being redirected to <a href="<?php echo $url;?>"><?php echo $store['Store']['name'];?></a>
        </div>
</div>
<?php echo $this->element('unlikemodal');?>
<script type="text/javascript">
$(function(){
        if(<?php echo $store['Store']['id'];?> == 5) {
                //check if shopclues is active or not
                active = getCookie('shopcluesActive',1);
                if(active && active == 'true'){
                        document.location = '<?php echo $url;?>';       
                        pma.send('apk','shopclues','active',me,null);
                }else{
                        pma.send('apk','shopclues','inactive',me,null);
                        $('#loadingModal').modal('hide');
                        showShopcluesPopup('<?php echo $url;?>');
                }
        } else {
                document.location = '<?php echo $url;?>';
        }       
});
</script>
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>