Parašė Soo-2· 2009 Vas. 6 23:02:28
#71
Gal zinot kaip man padaryti kad butu taip:
[img]
http://failai.in/P/1233952050_un...[/img]
Ten kur img tai turi but avataras ( ne multiku herojas )
o kur text tai visa kita, idedu visa koda
if (iMEMBER) {
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
if ($userdata['user_avatar'] != "") {
echo "<img src='".BASEDIR."grafika/avatars/".$userdata['user_avatar']."' width='50' height='50'>\n";
} else {
echo "<img src='".BASEDIR."grafika/nezinomas.png' width='50' height='50'>\n";
}
echo " <a href='".BASEDIR."aprasas.html' ><font color='bbd943'><b>Redaguoti apraðymą</b></font></a><br>
<a href='".BASEDIR."narys_".$userdata["user_id"]."_pagrindas.html'><font color='bbd943'><b>Mano apraðymas</b></font></a><br>
<a href='".BASEDIR."zinutes.html' ><font color='bbd943'><b>Þinutës</b></font></a><br>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo " <a href='".ADMIN."index.php".$aidlink."' ><font color='bbd943'><b>Administracija</b></font></a><br>";
}
echo " <a href='".BASEDIR."statusas.php?logout=yes' ><font color='bbd943'><b>Atsijungti</b></font></a>\n";"
\n";
} else {
echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
<form name='loginform' method='post' action=''>
<input type='text' name='user_name' class='jungtis_laukelis' style='width:100px;height:17px;' value='Vardas' onFocus=\"if(this.value=='Vardas'){this.value='';}\" onBlur=\"if(this.value==''){this.value='Vardas';}\">
<input type='password' name='user_pass' class='jungtis_laukelis' style='width:100px;height:17px;' value='passwordas' onFocus=\"if(this.value=='Vardas'){this.value='';}\" onBlur=\"if(this.value==''){this.value='Vardas';}\">
<input type='submit' name='login' value='' class='jungtis_mygtukas' style='width:25px;height:25px;'><br>
</form>
";