Subversion Repositories SmartDukaan

Rev

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

Rev 10998 Rev 11023
Line 110... Line 110...
110
if(isset($msg) && $msg == 'Registered Successfully'){
110
if(isset($msg) && $msg == 'Registered Successfully'){
111
$authorized = $this->session->userdata('authorized');
111
$authorized = $this->session->userdata('authorized');
112
$email = $authorized['email'];?>
112
$email = $authorized['email'];?>
113
<script type="text/javascript">
113
<script type="text/javascript">
114
if(typeof _gaq != "undefined" && _gaq != null)  {
114
if(typeof _gaq != "undefined" && _gaq != null)  {
115
  _gaq.push(['_trackEvent', 'Account', 'New user Registration',<?php if(isset($email)){echo $email;}?>]);
115
  _gaq.push(['_trackEvent', 'Account', 'New user Registration','<?php if(isset($email)){echo $email;}?>']);
116
}
116
}
117
</script>
117
</script>
118
<?php 
118
<?php 
119
echo "<div class='sucess-reg'>".$this->session->flashdata('msg'). "</div>";
119
echo "<div class='sucess-reg'>".$this->session->flashdata('msg'). "</div>";
120
}
120
}