| Line 23... |
Line 23... |
| 23 |
<!-- <link rel="stylesheet/less" href="<?php //echo base_url();?>assets/css/common.less" type="text/css"> -->
|
23 |
<!-- <link rel="stylesheet/less" href="<?php //echo base_url();?>assets/css/common.less" type="text/css"> -->
|
| 24 |
<?php if(isset($stylesheet) && !empty($stylesheet)){?>
|
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">
|
25 |
<link rel="stylesheet" href="<?php echo base_url();?>assets/css/<?php echo $stylesheet.'?version='.$this->config->item('cdn_version');?>" type="text/css">
|
| 26 |
|
26 |
|
| 27 |
<?php } ?>
|
27 |
<?php } ?>
|
| - |
|
28 |
<?php $authorized=$this->session->userdata('authorized');?>
|
| 28 |
<script>
|
29 |
<script>
|
| 29 |
//less.refresh();
|
30 |
//less.refresh();
|
| 30 |
var base_url="<?php echo base_url();?>";
|
31 |
var base_url="<?php echo base_url();?>";
|
| 31 |
var _gaq = _gaq || [];
|
32 |
var _gaq = _gaq || [];
|
| 32 |
_gaq.push(['_setAccount', '<?php echo $this->config->item('ga_id');?>']);
|
33 |
_gaq.push(['_setAccount', '<?php echo $this->config->item('ga_id');?>']);
|
| Line 40... |
Line 41... |
| 40 |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
41 |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
| 41 |
})();
|
42 |
})();
|
| 42 |
<?php if(isset($authorized['isPrivateDealUser']) && !empty($authorized['isPrivateDealUser'])) :?>
|
43 |
<?php if(isset($authorized['isPrivateDealUser']) && !empty($authorized['isPrivateDealUser'])) :?>
|
| 43 |
_gaq.push(['_setCustomVar',
|
44 |
_gaq.push(['_setCustomVar',
|
| 44 |
1, // This custom var is set to slot #1. Required parameter.
|
45 |
1, // This custom var is set to slot #1. Required parameter.
|
| 45 |
'User Type', // The name of the custom variable. Required parameter.
|
46 |
'typeofuser', // The name of the custom variable. Required parameter.
|
| 46 |
'PrivateDeal', // Sets the value of "User Type" to "Member" or "Visitor" depending on status. Required parameter.
|
47 |
'PrivateDeal', // Sets the value of "User Type" to "Member" or "Visitor" depending on status. Required parameter.
|
| 47 |
2 // Sets the scope to session-level. Optional parameter.
|
48 |
2 // Sets the scope to session-level. Optional parameter.
|
| 48 |
]);
|
49 |
]);
|
| 49 |
<?php endif;?>
|
50 |
<?php endif;?>
|
| 50 |
</script>
|
51 |
</script>
|
| Line 55... |
Line 56... |
| 55 |
<div class="menu" onclick="toggleOverlay(event)"></div>
|
56 |
<div class="menu" onclick="toggleOverlay(event)"></div>
|
| 56 |
<h1><a href="<?php echo base_url();?>"><img src="<?=base_url()?>assets/images/logo.PNG" alt="saholic logo"/></a></h1>
|
57 |
<h1><a href="<?php echo base_url();?>"><img src="<?=base_url()?>assets/images/logo.PNG" alt="saholic logo"/></a></h1>
|
| 57 |
<?php if($stylesheet != 'authorize.css'){?>
|
58 |
<?php if($stylesheet != 'authorize.css'){?>
|
| 58 |
<a class="cart" href="<?php echo base_url().'cart'?>">
|
59 |
<a class="cart" href="<?php echo base_url().'cart'?>">
|
| 59 |
<span>
|
60 |
<span>
|
| 60 |
<?php $authorized=$this->session->userdata('authorized');
|
- |
|
| - |
|
61 |
<?php
|
| 61 |
if(isset($authorized) && !empty($authorized)){
|
62 |
if(isset($authorized) && !empty($authorized)){
|
| 62 |
$cartCount = $authorized['totalItems'];
|
63 |
$cartCount = $authorized['totalItems'];
|
| 63 |
}else{
|
64 |
}else{
|
| 64 |
$cartCount = 0;
|
65 |
$cartCount = 0;
|
| 65 |
}echo $cartCount;?>
|
66 |
}echo $cartCount;?>
|