<?php if ($this->helper('customer')->isLoggedIn() ){ echo '<a href="<?php echo $this->getUrl('customer/account/login/');?>">Login</a>'; }else { echo '<a href="<?php echo $this->getUrl('customer/account/logout/');?>">Logout</a>'; } ?>
<?php if ($this->helper('customer')->isLoggedIn() ){ echo '<a href="<?php echo $this->getUrl('customer/account/login/');?>">Login</a>'; }else { echo '<a href="<?php echo $this->getUrl('customer/account/logout/');?>">Logout</a>'; } ?>