Subversion Repositories SmartDukaan

Rev

Rev 15403 | Details | Compare with Previous | 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">
15839 manish.sha 16
		<link rel="stylesheet" href="<?php echo $base_url;?>css/style.css?v=<?php echo $staticversion;?>">
17
		<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">	
15403 manish.sha 18
		<script type="text/javascript" src="<?php echo $base_url;?>js/jquery-1.10.2.js"></script>
19
		<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
20
		<?php
21
			echo $this->Html->meta('icon');
22
			// echo $this->Html->css(array('style'));
23
			echo $this->fetch('meta');
24
			echo $this->fetch('css');
25
			echo $this->fetch('script');
26
		?>
27
		<script type="text/javascript">
28
			var me = '<?php echo $logged_user['id'];?>';
29
			var apihost = '<?php echo $apihost;?>';
30
		</script>
31
	</head>
32
	<body>		
33
		<div id="fb-root"></div>
34
<script>(function(d, s, id) {
35
  var js, fjs = d.getElementsByTagName(s)[0];
36
  if (d.getElementById(id)) return;
37
  js = d.createElement(s); js.id = id;
38
  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=266002386914682&version=v2.0";
39
  fjs.parentNode.insertBefore(js, fjs);
40
}(document, 'script', 'facebook-jssdk'));</script>
41
		<div class="container">
42
			<?php echo $this->element('header');?>
43
			<?php echo $this->Session->flash(); ?>
44
			<?php echo $this->fetch('content'); ?>			
45
		</div>
46
		<?php //echo $this->element('footer');?>			
47
		<?php //echo $this->element('sql_dump'); ?>	
48
		<script>
49
		  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
50
		  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
51
		  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
52
		  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
53
		  ga('create', 'UA-59241805-1', 'auto');
54
		  ga('send', 'pageview');
55
		  ga('set', '&uid', me); // Set the user ID using signed-in user_id.
56
		</script>
57
		<script src="<?php echo $base_url;?>js/jquery.timeago.js"></script>
58
		<script type="text/javascript">
59
			jQuery(document).ready(function() {
60
			  jQuery("time.timeago").timeago();
61
			});
62
		</script>
63
	</body>
64
</html>