Parašė Jointass· 2009 Lie. 23 15:07:02
#1
isidedu avatara vistiek man rodo no avatar paveiksliuka gal kas galit sutvarky:
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2005 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
if (iMEMBER) {
openside_panel($userdata['user_name']);
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo "<td class='side-body-login'><img src='".THEME."images/user_info/edit.png' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Apraðymas</a><br>
<img src='".THEME."images/user_info/msg.png' alt=''> <a href='".BASEDIR."messages.php' class='side'>Þinutës</a><br>
<img src='".THEME."images/user_info/members.png' alt=''> <a href='".BASEDIR."members.php' class='side'>".$locale['082']."</a><br>\n";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<img src='".THEME."images/user_info/admin.png' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a><br>\n";
}
echo "<img src='".THEME."images/user_info/logout.png' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Atsijungti</a><br><br><br><br>\n</td><td align='right'>";
echo ($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='50' height='50'><br>\n" : "<img src='".THEME."images/noavatar.gif' border='0' width='50' height='50'>\n")."";
$result = dbquery("SELECT count(download_id) FROM ".$db_prefix."downloads");
echo "<MARQUEE direction='left'>Mes turime <b>".dbresult($result, 0)."</b> dainų!</MARQUEE>\n";
echo "</td>";
} else {
openside_panel($locale['060']);
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action='".FUSION_SELF."'>
<tr>
<div align='center'><a href='".BASEDIR."register.php'><img src='".THEME."images/register.gif' border='0'></a> <a href='".BASEDIR."lostpassword.php'><img src='".THEME."images/remember.gif' border='0'></a></div>
</tr><br>
<tr>
<td align='center'><input type='text' name='user_name' class='textbox_2' style='width:104px;height:19px;'></td>
</tr>
<tr>
<td align='center'><input type='password' name='user_pass' class='textbox_2' style='width:104px;height:19px;'></td>
</tr>
<tr>
<td align='center'> <input type='checkbox' name='remember_me' value='y' title='Atsiminti slaptaþodá?' style='vertical-align:middle;'> <input type='submit' name='login' value='Jungtis' class='button_2'></td>
</tr>
</form>\n";
}
closeside_panel();
?>