Its simple
@ron I believe its trying to get the passord from Account.dbo change it to Login.dbo
@sexy/ron
I made this level editor script from Emisand's GunZ Admin Panel:
Code:
<table width="980" border="0" bordercolor="#FF6633">
<tr>
<td style="border-style: solid; border-width: 2px"><font face="Arial"><em><strong>Change Character Level</strong></em></td>
</tr>
<tr>
<td bordercolor="#FF6633"><FORM METHOD=POST ACTION="<?php echo $_SERVER['PHP_SELF']; ?>?act=cambiarchar">
Name:
<input name="name" type="text" id="name" />
Old Level:
<input name="charact" type="text" id="charact" />
New Level:
<input name="ncharact" type="text" id="ncharact" />
<input type="submit" name="Submit99" value="Change Level" />
</form> </td>
</tr>
<tr>
<td width="730" bordercolor="#FF6633">Results:
<?php
if ($_GET['act'] == 'cambiarchar')
{
$charact = anti_injection($_POST['charact']);
$ncharact = anti_injection($_POST['ncharact']);
$name = anti_injection($_POST['name']);
if (valida(Array($charact,$ncharact,$name)) == true)
{
$query = mssql_query("SELECT * FROM Character WHERE Name='$name'");
if(mssql_num_rows($query)<1){
echo "El character no existe";
} else {
$cambiar = mssql_query("UPDATE Character SET Level='$ncharact' WHERE Name='$name'");
$log = "Character $name has been changed to level $ncharact";
$ip = $_SERVER['REMOTE_ADDR'];
$fecha = date("d-m-y - H:i:s");
$fileb = fopen("log.txt","r");
$escrito= fread($fileb,1000000);
$file = fopen("log.txt","w+");
$total= "$fecha - $ip: $log
\n\n$escrito";
fwrite($file,$total, 1000000);
fclose($fileb);
fclose($file);
echo "Level of the Character $name changed to $ncharact";
}
}
}
?></td>
</tr>
</table>
add to the bottom of echars.php between </table> and </body>