Parašė altenis· 2010 Rugp. 26 16:08:25
#7
<td valign='top' class='tbl'>".$locale['u020']."</td>
<td class='tbl'><textarea name='user_sig' rows='5' class='textbox' style='width:295px'>".$data['user_sig']."</textarea><br>
<input type='button' value='b' class='button' style='font-weight:bold;width:25px;' onClick=\"addText('user_sig', '', '');\">
<input type='button' value='i' class='button' style='font-style:italic;width:25px;' onClick=\"addText('user_sig', '', '');\">
<input type='button' value='u' class='button' style='text-decoration:underline;width:25px;' onClick=\"addText('user_sig', '', '');\">
<input type='button' value='url' class='button' style='width:30px;' onClick=\"addText('user_sig', '[url]', '[/url]');\">
<input type='button' value='mail' class='button' style='width:35px;' onClick=\"addText('user_sig', '[mail]', '[/mail]');\">
<input type='button' value='img' class='button' style='width:30px;' onClick=\"addText('user_sig', '[img]', '[/img]');\">
<input type='button' value='center' class='button' style='width:45px;' onClick=\"addText('user_sig', '', '');\">
<input type='button' value='small' class='button' style='width:40px;' onClick=\"addText('user_sig', '', '');\">
</tr>
<tr>
<td colspan='2' class='tbl'><br><div align='center'>\n";
if ($data['user_avatar']) {
echo $locale['u017']."<br>\n<img src='".IMAGES."avatars/".$data['user_avatar']."'><br>
<input type='checkbox' name='del_avatar' value='y'> ".$locale['u019']."
<input type='hidden' name='user_avatar' value='".$data['user_avatar']."'><br><br>\n";
}
echo "<input type='hidden' name='user_hash' value='".$data['user_password']."'>
<input type='submit' name='savechanges' value='".$locale['440']."' class='button'></div>
</td>
</tr>
</table>
</form>\n";
closetable();
}
} else {
opentable($locale['400']);
if ($step == "ban") {
if ($act == "on") {
if ($user_id != 1) {
$result = dbquery("UPDATE ".$db_prefix."users SET user_status='1' WHERE user_id='$user_id'");
echo "<center>".$locale['420']."<br><br></center>\n";
}
} elseif ($act == "off") {
$result = dbquery("UPDATE ".$db_prefix."users SET user_status='0' WHERE user_id='$user_id'");
echo "<center>".$locale['421']."<br><br></center>\n";
}
} elseif ($step == "activate") {
$result = dbquery("SELECT user_name,user_email FROM ".$db_prefix."users WHERE user_id='$user_id'");
if (dbrows($result) != 0) {
ne... nieko nekeiciau....
ne... nieko nekeiciau....
Redagavo altenis· 2010 Rugp. 26 16:08:51