Subversion Repositories SmartDukaan

Rev

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

Rev 11023 Rev 11089
Line 91... Line 91...
91
      
91
      
92
      }
92
      }
93
    }
93
    }
94
?>
94
?>
95
<div class="profile-overlay" style="display:none">
95
<div class="profile-overlay" style="display:none">
-
 
96
  <?php if(isset($authorized['isLoggedIn']) && !empty($authorized['isLoggedIn'])){?>
96
  <div>Account</div>
97
  <div>Account</div>
-
 
98
   <?php } else { ?>
-
 
99
   <div>Account</div>
-
 
100
  <?php }?>
97
  <?php if(isset($authorized['isLoggedIn']) && !empty($authorized['isLoggedIn'])){ ?>
101
  <?php if(isset($authorized['isLoggedIn']) && !empty($authorized['isLoggedIn'])){ ?>
98
  <a href="<?php echo base_url().'logout';?>">Logout</a>
-
 
99
  <a href="<?php echo base_url().'my-orders';?>">My Orders</a>
102
  <a href="<?php echo base_url().'my-orders';?>">My Orders</a>
-
 
103
  <a href="<?php echo base_url().'logout';?>">Logout<span><?php print_r($authorized['email']);?></span></a>
100
  <!-- <a href="#">My Account</a> --> 
104
  <!-- <a href="#">My Account</a> --> 
101
  <?php } else {?>
105
  <?php } else {?>
102
  <a href="<?php echo base_url().'login';?>">Sign In</a>
106
  <a href="<?php echo base_url().'login';?>">Sign In</a>
103
  <a href="<?php echo base_url().'register';?>">Register</a>  
107
  <a href="<?php echo base_url().'register';?>">Register</a>  
104
  <?php } ?>
108
  <?php } ?>