Subversion Repositories SmartDukaan

Rev

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

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