Направи го така, трябва да стане
<?php include"home.php"; ?>
</style></head><body leftmargin="0" topmargin="0">
<table align="center" border="1" bordercolor="#666666" cellpadding="0" cellspacing="0" frame="vsides" rules="none" width="760">
<tbody><tr>
<td align="left" background="images/left_bg.gif" valign="top" width="204"><img src="images/left_top_news.gif" height="36" width="204">
<?php include"pictures.php"; ?>
<?php include"menu.php"; ?></td>
<td background="images/xu.gif" height="190" width="1"></td>
<td align="center" bgcolor="#ffffff" valign="top" width="553" style="background-image: url(images/01_03.jpg); background-repeat: no-repeat; background-position:right;">
<table width="540" border="0" cellpadding="0" cellspacing="0">
<?php include "usermenu.php"; ?>
<tr><td align="center" height="10"></td></tr>
<tr><td align="center"><font style="background-color: #ffffff;"><h1>Reset Character</h1></font></td></tr>
<tr><td align="center" height="10"></td></tr>
<tr><td align="center"><font style="font-size: 16px; background-color: #ffffff;">
<?php
require("config.php");
include_once('sql_check.php');
_OQE01();
$_I6otf=mssql_connect("$_I6ooJ","$_I6Cto","$_I6i8Q");
$_I6iiJ=mssql_select_db("MuOnline",$_I6otf);
$_IfQ8O = stripslashes($_POST['character']);
$_I6L6J = stripslashes($_SESSION['b34523']);
if (
(eregi("[^a-zA-Z0-9_-]", $_IfQ8O)) ||
(eregi("[^a-zA-Z0-9_-]", $_I6L6J)) )
{ echo("Please use the following characters: A-Z 0-9"); exit(); }
$_IfQ8O = str_replace("'","","$_IfQ8O");
$_IfQ8O = str_replace(" ","","$_IfQ8O");
$_I6L6J = str_replace("'","","$_I6L6J");
$_I6L6J = str_replace(" ","","$_I6L6J");
$_I6LiQ = mssql_query("SELECT memb___id FROM MEMB_INFO WHERE memb___id='$_I6L6J'");
$_I6lI8 = mssql_num_rows($_I6LiQ);
$_IfjJt = mssql_query("SELECT Name FROM Character WHERE Name='$_IfQ8O' and AccountID='$_I6L6J'");
$_Ifj6C = mssql_num_rows($_IfjJt);
$_IftOJ = mssql_query("SELECT ConnectStat FROM MEMB_STAT WHERE memb___id='$_I6L6J'");
$_IftCJ = mssql_fetch_row($_IftOJ);
$_I6J8j = mssql_query("Select Clevel,Resets,Money,LevelUpPoint,Class,ctlcode From Character where Name='$_IfQ8O'");
$_I66L1 = mssql_fetch_row($_I6J8j);
$_IojJQ=$_I66L1[1] + (1);
$_IoJ0t=$_I66L1[2]-$_IfC6I;
$_IoJQl=$_IfC6I;
$_IoJ8t=$_I66L1[1] + 1;
$_IoJLo=$_I66L1[1] * $_IfLIL + $_IfLIL;
if (empty($_IfQ8O) || empty($_I6L6J)){
echo "Please select a Character !";}
elseif ($_I6lI8 <= 0){
echo "Cheats don't work here..."; exit();}
elseif ($_Ifj6C <= 0){
echo "Cheats don't work here..."; exit();}
elseif ($_I66L1[1] > $_Ifiof-1){
echo "<font color=red><b>You are MAX resets possible, GG!</b>"; }
elseif ($_IftCJ[0] != 0){
echo "Please logoff before reset!"; }
elseif ($_I66L1[5]==8){
echo "<font color=red><b>[WARRNING] --> ADMIN <-- [WARRNING]</b></font>"; }
elseif ($_I66L1[0] < $_IfiQL){
echo "You need [$_IfiQL] level to reset, your level is [$_I66L1[0]]..."; }
elseif ($_IoJ0t < 0){
echo "You need [".number_format($_IoJQl)."] zen to reset!"; }
else {
if ($_I66L1[0]>0){
$_If1j0 = "
UPDATE dbo.Character
SET clevel=1
WHERE Name = '$_IfQ8O'
AND AccountID = '$_I6L6J'
UPDATE dbo.Character SET Resets = '$_IojJQ'
WHERE Name = '$_IfQ8O'
AND AccountID = '$_I6L6J'
UPDATE dbo.Character SET experience = '0'
WHERE Name = '$_IfQ8O'
AND AccountID = '$_I6L6J'
UPDATE dbo.Character SET money = '$_IoJ0t'
WHERE Name = '$_IfQ8O'
AND AccountID = '$_I6L6J'
UPDATE dbo.Character SET LevelUpPoint = '$_IoJLo'
WHERE Name = '$_IfQ8O'
AND AccountID = '$_I6L6J'
UPDATE dbo.Character SET MapNumber = '0'
WHERE Name = '$_IfQ8O'
AND AccountID = '$_I6L6J'
UPDATE dbo.Character SET MapPosX= '125'
WHERE Name = '$_IfQ8O'
AND AccountID = '$_I6L6J'
UPDATE dbo.Character SET MapPosY= '125'
WHERE Name = '$_IfQ8O'
AND AccountID = '$_I6L6J'
UPDATE dbo.Character SET strength = '25'
WHERE Name = '$_IfQ8O'
AND AccountID = '$_I6L6J'
UPDATE dbo.Character SET dexterity = '25'
WHERE Name = '$_IfQ8O'
AND AccountID = '$_I6L6J'
UPDATE dbo.Character SET vitality = '25'
WHERE Name = '$_IfQ8O'
AND AccountID = '$_I6L6J'
UPDATE dbo.Character SET energy = '25'
WHERE Name = '$_IfQ8O'
AND AccountID = '$_I6L6J'
UPDATE dbo.Character SET LevelUpPoint = '$_IoJLo'
WHERE Name = '$_IfQ8O'
AND AccountID = '$_I6L6J'
";}
$_Io680 = mssql_query($_If1j0);
echo "<font color=\"green\">[$_IfQ8O] have done [$_IoJ8t] Resets successfully.</font>";
}
?></td>
</table>
</td>
</tr>
</tbody></table>
</body></html>