<?php global $my;if (intval($my->id) > 0) { echo '<a href="#">logout</a>';} else { echo '<a href="#">login</a>';}?>
<?php if (eFactory::getElxis()->user()->gid <> 7) { echo '<a href="#">logout</a>';} else { echo '<a href="#">login</a>';}?>
I found login link is <a href="index.php?option=com_login">Log In</a>and Register link is <a href="index.php?option=com_registration&task=register">Register</a>
global $my; if (intval($my->id) > 0) { echo ' <ul class="login"> <li> <a href="#">My Account</a> </li> <li> <a href="index.php?option=com_login&Itemid=29">Logout</a> </li> </ul>';} else { echo ' <ul class="login"> <li> <a href="index.php?option=com_registration&task=register">Register</a> </li> <li> <a href="index.php?option=com_login">Log In</a> </li> </ul> ';}