Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <?php if(isset($title) && !empty($title)){?>
      <title><?php echo $title;?></title>
    <?php } elseif(isset($stylesheet) && $stylesheet == 'common.css'){?>
    <title>Mobile Phone Reviews and Best Deals in India | bigutsav.com</title>
    <?php }?>
    <?php if(isset($metaDescription) && !empty($metaDescription)){?>
      <meta name="Description" content="<?php echo $metaDescription;?>"/>
    <?php } elseif(isset($stylesheet) && $stylesheet == 'common.css'){?>
    <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."/>
    <?php }?>
    <?php if(isset($metaKeywords) && !empty($metaKeywords)){?>
      <meta name="keywords" content="<?php echo $metaKeywords;?>"/>
    <?php } elseif(isset($stylesheet) && $stylesheet == 'common.css'){?>
      <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"/>
    <?php } ?>
    <link rel="shortcut icon" href="/assets/images/favicon.ico" type="image/x-icon">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <!-- <link rel="stylesheet/less" href="<?php //echo base_url();?>assets/css/common.less" type="text/css"> -->
    <?php if(isset($stylesheet) && !empty($stylesheet)){?>
    <link rel="stylesheet" href="<?php echo base_url();?>assets/css/<?php echo $stylesheet.'?version='.$this->config->item('cdn_version');?>" type="text/css">

    <?php } ?>
          <?php $authorized=$this->session->userdata('authorized');?>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', '<?php echo $this->config->item('ga_id');?>', 'auto');
  ga('send', 'pageview');
  ga('require', 'ecommerce');   // Load the ecommerce plug-in.
      //less.refresh();
      var base_url="<?php echo base_url();?>";
<?php if(isset($authorized['isPrivateDealUser']) && !empty($authorized['isPrivateDealUser'])) :?>
        var dimensionValue = 'PrivateDeal';
        ga('set', 'dimension1', dimensionValue);
<?php endif;?>
    </script>
        <meta name="OMG-Verify-V1" content="796881-0c8ca8b9-601a-4c0f-b9e8-4c2cabe788f7" />
  </head>
  <body>
    
<?php
       if($stylesheet != 'authorize.css'){
      $data = $response['header'];
      if(isset($data) and !empty($data))
      {
      foreach($data as $headkey=>$value)
      {
        if(isset($value['render']) and !empty($value['render']))
        {
          unset($value['render']);
          if(isset($value) and !empty($value))
          $this->load->view($this->layoutName.$headkey,array($headkey=>$value));
        else
          $this->load->view($this->layoutName.$headkey);
        }
        else
          { 
            if(isset($value) and !empty($value) and count($value)>1)
              { //echo 'data list here';
          }
          }
      
        
      }
      
      }
    }
?>