Parašė Soo-2· 2008 Sau. 4 20:01:50
#1
sveiki..gal kas zinote kaip perkelti avatara virš tu zodziu?
http://img179.imageshack.us/img1...ogosh4.jpg
kodas:
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";
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>
<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";
aciu iš anksto ;)