Re: Problem|On admin panel
I Have Same Prob.
And For Changing Levels...
Edit A Page Like Let's say the ban script eidt it to change levels. its simple
Re: Problem|On admin panel
How to edit it to Change levels? I need to change the script ban.php to what?
and if you solve the problem with the accounts password tell me...
thanks
Re: Problem|On admin panel
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>
Re: Problem|On admin panel
Wesman thanks very much ! But where I change it to login.dbo?
What the name of the php I need to change it there.
Re: Problem|On admin panel
no problem and its passw.php
Change this line:
Code:
$query = mssql_query("SELECT * FROM Account* WHERE UserID='$user'");
*Account may be Accounts im not sure but I do know that its that line you need to change.
to:
Code:
$query = mssql_query("SELECT * FROM Login WHERE UserID='$user'");
Re: Problem|On admin panel
Re: Problem|On admin panel
Ok dude Thanks THANKS VERY VERY MuCH
Love <3
Re: Problem|On admin panel
Hahaha lol Ron.
Owell This Thread Might Help Other People.
Re: Problem|On admin panel
Re: Problem|On admin panel
Someone Might Be Wondering About this.
Re: Problem|On admin panel
Ron Need Any More Help?
Soz Double Post.
Re: Problem|On admin panel
Where I think the CP To download PLS!
Re: Problem|On admin panel
i need admin panel to kekkus server but 1 is work...