Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
15403 manish.sha 1
<?php
2
$cakeDescription = __d('cake_dev', 'MobileHotIndia');
3
?>
4
<!DOCTYPE html>
5
<html lang="en">
6
	<head>
7
	  	<?php echo $this->Html->charset(); ?>
8
	    <meta charset="utf-8">
9
	    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
10
	    <meta name="author" content="">	
11
		<meta name="keywords" content="<?php if(isset($tags)){echo implode(',',$tags);}?>freebies, coupons, cashback"/>
12
		<meta name="description" content="<?php echo $description;?>"/>
13
		<meta property="fb:admins" content="100004076526759"/>
14
		<title><?php echo $cakeDescription ?>: <?php echo trim($title_for_layout); ?></title>
15
		<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
16
		<link rel="stylesheet" href="<?php echo $base_url;?>css/style.css?v=<?php echo $staticversion;?>">		
17
		<script type="text/javascript" src="<?php echo $base_url;?>js/jquery-1.10.2.js"></script>
18
		<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
19
		<?php
20
			echo $this->Html->meta('icon');
21
			// echo $this->Html->css(array('style'));
22
			echo $this->fetch('meta');
23
			echo $this->fetch('css');
24
			echo $this->fetch('script');
25
		?>
26
		<script type="text/javascript">
27
			var me = '<?php echo $logged_user['id'];?>';
28
			var apihost = '<?php echo $apihost;?>';
29
		</script>
30
	</head>
31
	<body>		
32
		<div id="fb-root"></div>
33
<script>(function(d, s, id) {
34
  var js, fjs = d.getElementsByTagName(s)[0];
35
  if (d.getElementById(id)) return;
36
  js = d.createElement(s); js.id = id;
37
  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=266002386914682&version=v2.0";
38
  fjs.parentNode.insertBefore(js, fjs);
39
}(document, 'script', 'facebook-jssdk'));</script>
40
		<div class="container">
41
			<?php echo $this->element('header');?>
42
			<?php echo $this->Session->flash(); ?>
43
			<?php echo $this->fetch('content'); ?>			
44
		</div>
45
		<?php //echo $this->element('footer');?>			
46
		<?php //echo $this->element('sql_dump'); ?>	
47
		<script>
48
		  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
49
		  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
50
		  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
51
		  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
52
		  ga('create', 'UA-59241805-1', 'auto');
53
		  ga('send', 'pageview');
54
		  ga('set', '&uid', me); // Set the user ID using signed-in user_id.
55
		</script>
56
		<script src="<?php echo $base_url;?>js/jquery.timeago.js"></script>
57
		<script type="text/javascript">
58
			jQuery(document).ready(function() {
59
			  jQuery("time.timeago").timeago();
60
			});
61
		</script>
62
	</body>
63
</html>