Location: PHPKode > scripts > Ja2BU > session.php
<?php
if(isset($_SESSION['INC_USER_NAME']) == true){
$smarty->assign('sessiontrue','
<li><img src="themes/'.$themes.'/styles/images/hello.png" width="16px" height="16px" />&nbsp;'.$lang['RETHEADE'].'&nbsp;'.$_SESSION['INC_USER_NAME'].'</li>
<li><img src="themes/'.$themes.'/styles/images/settings.png" width="16px" height="16px" />&nbsp;<a href="'.$sitepath.'/link.php" title="{'.$lang['LINKSETT'].'}">'.$lang['LINKSETT'].'</a></li>
<li><img src="themes/'.$themes.'/styles/images/document.png" width="16px" height="16px" />&nbsp;<a href="'.$sitepath.'/profile.php?id='.$_SESSION['INC_USER_NAME'].'" title="{'.$lang['LINKBOOK'].'}">'.$lang['LINKBOOK'].'</a></li>
<li><img src="themes/'.$themes.'/styles/images/mail.png" width="16px" height="16px" />&nbsp;<a href="'.$sitepath.'/messages.php" title="'.$lang['LINKMESS'].'">'.$lang['LINKMESS'].'</a></li>
<li><img src="themes/'.$themes.'/styles/images/close.png" width="16px" height="16px" />&nbsp;<a href="'.$sitepath.'/signout.php" title="'.$lang['LINKOUT'].'">'.$lang['LINKOUT'].'</a></li>
');
}else{
$smarty->assign('sessiontrue','
<li><img src="themes/'.$themes.'/styles/images/hello.png" width="16px" height="16px" />&nbsp;<a href="'.$sitepath.'/signup.php" title="'.$lang['LINKREGIS'].' '.$sitetitle.'">'.$lang['LINKREGIS'].'</a> - '.$sitetitle.'</li>
<li><img src="themes/'.$themes.'/styles/images/document.png" width="16px" height="16px" />&nbsp;<a href="'.$sitepath.'/signin.php">'.$lang['LINKLOGIN'].'</a></li>
');
}
?>
Return current item: Ja2BU