Subversion Repositories SmartDukaan

Rev

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

Rev 17885 Rev 19367
Line 22... Line 22...
22
			echo $this->fetch('css');
22
			echo $this->fetch('css');
23
			echo $this->fetch('script');
23
			echo $this->fetch('script');
24
		?>
24
		?>
25
		<script type="text/javascript">
25
		<script type="text/javascript">
26
			var me = '<?php echo $logged_user['id'];?>';
26
			var me = '<?php echo $logged_user['id'];?>';
-
 
27
			var myemail =  '<?php echo $logged_user['email'];?>';
27
			var apihost = '<?php echo $apihost;?>';
28
			var apihost = '<?php echo $apihost;?>';
28
			var ip = '<?php echo $_SERVER['HTTP_CF_CONNECTING_IP'];?>';
29
			var ip = '<?php echo $_SERVER['HTTP_CF_CONNECTING_IP'];?>';
29
		</script>
30
		</script>
-
 
31
		
-
 
32
		<?php if(in_array($logged_user['id'],Configure::read('recorduser'))):?>
-
 
33
		
-
 
34
		<script type="text/javascript">
-
 
35
		    window.smartlook||(function(d) {
-
 
36
		    var o=smartlook=function(){ o.api.push(arguments)},s=d.getElementsByTagName('script')[0];
-
 
37
		    var c=d.createElement('script');o.api=new Array();c.async=true;c.type='text/javascript';
-
 
38
		    c.charset='utf-8';c.src='//rec.getsmartlook.com/bundle.js';s.parentNode.insertBefore(c,s);
-
 
39
		    })(document);
-
 
40
		    smartlook('init', '869b6e4de6581a1cb4c248c1adb3f171dc1f3747');
-
 
41
		</script>
-
 
42
		
-
 
43
		<script>
-
 
44
			smartlook('tag', 'email', myemail);
-
 
45
			smartlook('tag', 'name', me);
-
 
46
		</script>
-
 
47
		<?php endif;?>
30
	</head>
48
	</head>
31
	<body>		
49
	<body>		
32
		<?php //echo $this->element('header');?>
50
		<?php //echo $this->element('header');?>
33
		<?php echo $this->Session->flash(); ?>
51
		<?php echo $this->Session->flash(); ?>
34
		<?php echo $this->fetch('content'); ?>			
52
		<?php echo $this->fetch('content'); ?>