Parašė Nevo· 2009 Spa. 3 13:10:59
#5
<?php
global $theme_width,$settings,$aidlink,$locale,$userdata;
echo "
<td width='0' style='padding-right: 0px; padding-left: 0px; padding-bottom: 0px; padding-top:20px;' valign='middle'>";
if(!iMEMBER) {
echo "<form name='loginform' method='post' action='".FUSION_SELF."'>
<table border='0' cellpadding='0' cellspacing='0' width='262' height='60'>
<tr>
<br>
<td width='100%' align='center' valign='center'><img src='".THEME."images/login/vartotojo.png'> <input type='text' name='user_name' class='laukelis' style='width:183px; height:27px; opacity:0.4;filter:alpha(opacity=40)' value='Vartotojas' onfocus=\"if(this.value=='Vartotojas'){this.value='';}\" onblur=\"if(this.value==''){this.value='************';}\"></td>
</tr>
<br>
<td width='100%' align='center' valign='center'><img src='".THEME."images/login/slaptazodis.png'> <input type='password' name='user_pass' class='laukelis' style='width:183px; height:27px; opacity:0.4;filter:alpha(opacity=40)' value='Slaptaþodis' onfocus=\"if(this.value=='Slaptaþodis'){this.value='';}\" onblur=\"if(this.value==''){this.value='************;}\"></td>
<tr>
<td width='100%' align='center' valign='right'> <button name='login' value='submit' type='submit' style='border: 0px solid #000; background-color: #; width:50px; height:10px;'> <img src='".THEME."images/login/login.png' alt='Prisijungti'></td>
<tr><td width='50%' align='right' valign='right'><a href='register.php' target='_blank'>Registracija</a>
<tr><td width='50%' align='right' valign='right'><a href='register.php' target='_blank'>Pamirsau slaptazodi!</a>
</td>
</tr>
</table>
</form>";
} else {
if ($userdata['user_avatar'] != "") {
echo "<img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' height='100' style='border:0px solid #999999'>\n";
} else {
echo "<img src='".THEME."images/nofoto.png' width='100' height='100' border='0'>\n";
}
echo "<td>
<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' style='color: #9A9A9A'>Mano profilis</a><br>
<a href='".BASEDIR."edit_profile.php' style='color: #9A9A9A'>Redaguoti profili</a><br>
<a href='".BASEDIR."messages.php' style='color: #9A9A9A'>Asmenines žinutes</a><br>";
if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
echo "<a href='".ADMIN."index.php".$aidlink."' style='color: #9A9A9A'>Administracija</a>";
}
echo "<img src='".THEME."images/blank.gif' width='30' height='0' alt=''>
<a href='".BASEDIR."setuser.php?logout=yes' style='text-decoration: none'><span style='color: #9A9A9A'>Atsijungti</span> <span style='color: #FF0083'>[x]</span></a><br>";
}
echo "</td></center>";
?>
Megink ;) numeciau opacity ant styles ir pakeiciau JS value abieju zvaigzdutemis :)
Redagavo Nevo· 2009 Spa. 3 13:10:36