Subversion Repositories SmartDukaan

Rev

Rev 19379 | Rev 20144 | 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
 
19379 naman 32
 
19367 naman 33
		<script type="text/javascript">
34
		    window.smartlook||(function(d) {
35
		    var o=smartlook=function(){ o.api.push(arguments)},s=d.getElementsByTagName('script')[0];
36
		    var c=d.createElement('script');o.api=new Array();c.async=true;c.type='text/javascript';
37
		    c.charset='utf-8';c.src='//rec.getsmartlook.com/bundle.js';s.parentNode.insertBefore(c,s);
38
		    })(document);
19379 naman 39
		    smartlook('init', '<?php echo Configure::read("smartlookkey");?>');
19367 naman 40
		</script>
41
 
42
		<script>
19386 naman 43
 
19367 naman 44
			smartlook('tag', 'name', me);
45
		</script>
19379 naman 46
 
17807 manish.sha 47
	</head>
17885 manish.sha 48
	<body>		
17807 manish.sha 49
		<?php //echo $this->element('header');?>
50
		<?php echo $this->Session->flash(); ?>
51
		<?php echo $this->fetch('content'); ?>			
52
		<?php //echo $this->element('sql_dump'); ?>		
53
		<script>
54
		  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
55
		  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
56
		  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
57
		  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
58
		  ga('create', 'UA-59241805-1', 'auto');
59
		  ga('send', 'pageview');
60
		  ga('set', '&uid', me); // Set the user ID using signed-in user_id.
61
		</script>
62
		<script src="<?php echo $base_url;?>js/jquery.timeago.js"></script>
63
		<script src="<?php echo $base_url;?>js/cassandraMap.js"></script>
64
		<script type="text/javascript">
65
			jQuery(document).ready(function() {
66
			  jQuery("time.timeago").timeago();
67
			});
68
		</script>
69
	</body>
70
</html>