Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
20609 amit.gupta 1
<!DOCTYPE html>
2
<html lang="en">
3
  <head>
4
    <meta charset="utf-8">
5
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
6
    <?php if(isset($title) && !empty($title)){?>
7
      <title><?php echo $title;?></title>
8
    <?php } elseif(isset($stylesheet) && $stylesheet == 'common.css'){?>
9
    <title>Mobile Phone Reviews and Best Deals in India | bigutsav.com</title>
10
    <?php }?>
11
    <?php if(isset($metaDescription) && !empty($metaDescription)){?>
12
      <meta name="Description" content="<?php echo $metaDescription;?>"/>
13
    <?php } elseif(isset($stylesheet) && $stylesheet == 'common.css'){?>
14
    <meta name="Description" content="Comprehensive reviews and Best Deals on mobile phones in India. Experience n' buy online. FREE Next Day delivery. Original product - Full manufacturer warranty."/>
15
    <?php }?>
16
    <?php if(isset($metaKeywords) && !empty($metaKeywords)){?>
17
      <meta name="keywords" content="<?php echo $metaKeywords;?>"/>
18
    <?php } elseif(isset($stylesheet) && $stylesheet == 'common.css'){?>
19
      <meta name="keywords" content="Mobile phones, mobile phone reviews, mobile phone, mobile accessories, latest mobile phones, mobile phone prices, mobile phones India, mobile phone comparison"/>
20
    <?php } ?>
21
    <link rel="shortcut icon" href="/assets/images/favicon.ico" type="image/x-icon">
22
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
23
    <!-- <link rel="stylesheet/less" href="<?php //echo base_url();?>assets/css/common.less" type="text/css"> -->
24
    <?php if(isset($stylesheet) && !empty($stylesheet)){?>
25
    <link rel="stylesheet" href="<?php echo base_url();?>assets/css/<?php echo $stylesheet.'?version='.$this->config->item('cdn_version');?>" type="text/css">
26
 
27
    <?php } ?>
28
          <?php $authorized=$this->session->userdata('authorized');?>
29
<script>
30
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
31
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
32
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
33
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
34
 
35
  ga('create', '<?php echo $this->config->item('ga_id');?>', 'auto');
36
  ga('send', 'pageview');
37
  ga('require', 'ecommerce');   // Load the ecommerce plug-in.
38
      //less.refresh();
39
      var base_url="<?php echo base_url();?>";
40
<?php if(isset($authorized['isPrivateDealUser']) && !empty($authorized['isPrivateDealUser'])) :?>
41
	var dimensionValue = 'PrivateDeal';
42
	ga('set', 'dimension1', dimensionValue);
43
<?php endif;?>
44
    </script>
45
	<meta name="OMG-Verify-V1" content="796881-0c8ca8b9-601a-4c0f-b9e8-4c2cabe788f7" />
46
  </head>
47
  <body>
48
 
49
<?php
50
       if($stylesheet != 'authorize.css'){
51
      $data = $response['header'];
52
      if(isset($data) and !empty($data))
53
      {
54
      foreach($data as $headkey=>$value)
55
      {
56
        if(isset($value['render']) and !empty($value['render']))
57
        {
58
          unset($value['render']);
59
          if(isset($value) and !empty($value))
60
          $this->load->view($this->layoutName.$headkey,array($headkey=>$value));
61
        else
62
          $this->load->view($this->layoutName.$headkey);
63
        }
64
        else
65
          { 
66
            if(isset($value) and !empty($value) and count($value)>1)
67
              { //echo 'data list here';
68
          }
69
          }
70
 
71
 
72
      }
73
 
74
      }
75
    }
76
?>