Parašė Žmogus· 2008 Sau. 4 21:01:29
#6
if (iMEMBER) {
openside2($userdata[]);
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "
<tr>
<td>\n";
echo"<tr><td > ";
if ($userdata['user_avatar'] != "") {
echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' height='50'></center>\n";
} else {
echo "<center><img src='".THEME."images/noavatar.gif' width='50' height='50'></center>\n";
}
echo"</td></tr>";
echo "</td>
<td> <a href='".BASEDIR."edit_profile.php' class='centras' ><b>Aprašymas</b></a><br>
<a href='".BASEDIR."messages.php' class='centras'><b>Žinutės</b></a><br>
<a href='".BASEDIR."members.php' class='centras'><b>Nariai<b></a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo " <a href='".ADMIN."index.php".$aidlink."' class='centras'><b>Administracija</b></a><br>\n";
}
echo "<a href='".BASEDIR."setuser.php?logout=yes' class='centras'><b>Atsijungti</b></a>\n";"
</td><td><img src='".THEME."images/head_12.png' width='19' height='141' alt=''></td></tr><tr>
</tr>
</table>
\n";
Bandyk šita kodą