Subversion Repositories SmartDukaan

Rev

Rev 17885 | Rev 19379 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
17807 manish.sha 1
<?php $cakeDescription = __d('cake_dev', 'ProfitTill');?>
2
<!DOCTYPE html>
3
<html lang="en">
4
	<head>
5
	  	<?php echo $this->Html->charset(); ?>
6
	    <meta charset="utf-8">
7
	    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
8
	    <meta name="author" content="">	
9
		<meta name="keywords" content="<?php if(isset($tags)){echo implode(',',$tags);}?>freebies, coupons, cashback"/>
10
		<meta name="description" content="<?php echo $description;?>"/>
11
		<meta property="fb:admins" content="100004076526759"/>
12
		<title><?php echo $cakeDescription ?>: <?php echo trim($title_for_layout); ?></title>
13
		<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
14
		<link rel="stylesheet" href="<?php echo $base_url;?>css/style.css?v=<?php echo $staticversion;?>">
15
		<link href='http://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css'>
16
		<script type="text/javascript" src="<?php echo $base_url;?>js/jquery-1.10.2.js"></script> 
17
		<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
18
		<?php
19
			echo $this->Html->meta('icon');
20
			// echo $this->Html->css(array('style'));
21
			echo $this->fetch('meta');
22
			echo $this->fetch('css');
23
			echo $this->fetch('script');
24
		?>
25
		<script type="text/javascript">
26
			var me = '<?php echo $logged_user['id'];?>';
19367 naman 27
			var myemail =  '<?php echo $logged_user['email'];?>';
17807 manish.sha 28
			var apihost = '<?php echo $apihost;?>';
29
			var ip = '<?php echo $_SERVER['HTTP_CF_CONNECTING_IP'];?>';
30
		</script>
19367 naman 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;?>
17807 manish.sha 48
	</head>
17885 manish.sha 49
	<body>		
17807 manish.sha 50
		<?php //echo $this->element('header');?>
51
		<?php echo $this->Session->flash(); ?>
52
		<?php echo $this->fetch('content'); ?>			
53
		<?php //echo $this->element('sql_dump'); ?>		
54
		<script>
55
		  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
56
		  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
57
		  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
58
		  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
59
		  ga('create', 'UA-59241805-1', 'auto');
60
		  ga('send', 'pageview');
61
		  ga('set', '&uid', me); // Set the user ID using signed-in user_id.
62
		</script>
63
		<script src="<?php echo $base_url;?>js/jquery.timeago.js"></script>
64
		<script src="<?php echo $base_url;?>js/cassandraMap.js"></script>
65
		<script type="text/javascript">
66
			jQuery(document).ready(function() {
67
			  jQuery("time.timeago").timeago();
68
			});
69
		</script>
70
	</body>
71
</html>