<?php
global $userdata, $aidlink, $locale, $db_prefix, $theme_width, $result;
echo "<table cellspacing='0' cellpadding='0' class='loginp' width='550'><tr>";
if (iMEMBER) {
if ($data['user_avatar'] != "") {
echo "<img src='".IMAGES."avatars/".$data['user_avatar']."' alt='".$locale['567']."'>\n";
}else{
echo "<img src='".THEME."images/avatar.png' alt='".$locale['567']."'>\n";
}
echo "<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>";