Subversion Repositories SmartDukaan

Rev

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

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