<?php
global $userdata, $aidlink, $locale, $db_prefix, $theme_width, $result;
echo "<table cellspacing='0' cellpadding='0' class='loginp' width='550'><tr>";
if (iMEMBER) {
echo "<td style='padding-left:50px;'>
if ($userdata['user_avatar'] != "") {
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='60' height='60'>\n";
} else {
echo "<img src='".THEME."images/noavatar.jpg' width='60' height='60'>\n";
}
<div style='float:left;'><a href='".BASEDIR."edit_profile.php' style='color:#FFF;'>Redaguoti profili</a>
<a href='".BASEDIR."messages.php' style='color:#FFF;'>Žinutes</span></a></div>
<div style='float:left; padding-left:10px;'>
<a href='".BASEDIR."members.php' style='color:#FFF;'>Nariu sarašas</a>
<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' style='color:#FFF;'>Mano profilis</a>
</div><div style='float:left; padding-left:10px;'>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo " <a href='".ADMIN."index.php".$aidlink."' style='color:Red;'>Administracija</a>";
}
echo" <a href='".BASEDIR."setuser.php?logout=yes' target='' style='color:#FFF;'>Atsijungti</a></td></div><div style='clear:both;'></div>";