Subversion Repositories SmartDukaan

Rev

Rev 10908 | Rev 10987 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 10908 Rev 10953
Line 9... Line 9...
9
    <title>Mobile Phone Reviews and Best Deals in India | saholic.com</title>
9
    <title>Mobile Phone Reviews and Best Deals in India | saholic.com</title>
10
    <?php }?>
10
    <?php }?>
11
    <?php if(isset($metaDescription) && !empty($metaDescription)){?>
11
    <?php if(isset($metaDescription) && !empty($metaDescription)){?>
12
      <meta name="Description" content="<?php echo $metaDescription;?>"</>
12
      <meta name="Description" content="<?php echo $metaDescription;?>"</>
13
    <?php }?>
13
    <?php }?>
-
 
14
    <?php if(isset($metaKeywords) && !empty($metaKeywords)){?>
-
 
15
      <meta name="keywords" content="<?php echo $metaKeywords;?>"</>
-
 
16
    <?php }?>
14
    <link rel="shortcut icon" href="assets/img/favicon.ico" type="image/x-icon">
17
    <link rel="shortcut icon" href="assets/img/favicon.ico" type="image/x-icon">
15
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
18
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
16
    <!-- <link rel="stylesheet/less" href="<?php //echo base_url();?>assets/css/common.less" type="text/css"> -->
19
    <!-- <link rel="stylesheet/less" href="<?php //echo base_url();?>assets/css/common.less" type="text/css"> -->
17
    <?php if(isset($stylesheet) && !empty($stylesheet)){?>
20
    <?php if(isset($stylesheet) && !empty($stylesheet)){?>
18
    <link rel="stylesheet" href="<?php echo base_url();?>assets/css/<?php echo $stylesheet.'?version='.$this->config->item('cdn_version');?>" type="text/css">
21
    <link rel="stylesheet" href="<?php echo base_url();?>assets/css/<?php echo $stylesheet.'?version='.$this->config->item('cdn_version');?>" type="text/css">
19
    <script src='<?=base_url()?>assets/js/pace.js' type="text/javascript"></script>
22
    <script src='<?=base_url()?>assets/js/pace.js' type="text/javascript"></script>
20
    <?php } ?>
23
    <?php } ?>
21
        <script>
24
        <script>
22
      //less.refresh();
25
      //less.refresh();
23
      var base_url="<?php echo base_url();?>";
26
      var base_url="<?php echo base_url();?>";
-
 
27
      var _gaq = _gaq || [];
24
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
28
      _gaq.push(['_setAccount', 'UA-50134262-1']);
25
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
29
      _gaq.push(['_setDomainName', 'saholic.com']);
-
 
30
      _gaq.push(['_trackPageview']);
-
 
31
 
-
 
32
      (function() {
26
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
33
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
27
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
34
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
28
      ga('create', 'UA-50134262-1', 'shop2020.com');
35
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
29
      ga('send', 'pageview');
36
      })();
30
    </script>
37
    </script>
31
  </head>
38
  </head>
32
  <body>
39
  <body>
33
    
40
    
34
    <header class="clearfix">
41
    <header class="clearfix">
Line 98... Line 105...
98
$msg = $this->session->flashdata('msg');
105
$msg = $this->session->flashdata('msg');
99
if(isset($msg) && $msg == 'Registered Successfully'){
106
if(isset($msg) && $msg == 'Registered Successfully'){
100
$authorized = $this->session->userdata('authorized');
107
$authorized = $this->session->userdata('authorized');
101
$email = $authorized['email'];?>
108
$email = $authorized['email'];?>
102
<script type="text/javascript">
109
<script type="text/javascript">
-
 
110
if(typeof _gaq != "undefined" && _gaq != null)  {
103
ga('send', 'event', 'Account', 'New user Registration',<?php if(isset($email)){echo $email;}?>);
111
  _gaq.push(['_trackEvent', 'Account', 'New user Registration',<?php if(isset($email)){echo $email;}?>]);
-
 
112
}
104
</script>
113
</script>
105
<?php 
114
<?php 
106
echo "<div class='sucess-reg'>".$this->session->flashdata('msg'). "</div>";
115
echo "<div class='sucess-reg'>".$this->session->flashdata('msg'). "</div>";
107
}
116
}
108
 ?>
117
 ?>
109
118