Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /*---------------------------------------------------------\ | aEWD..
Decoded Output download
<?php
/*---------------------------------------------------------\
| aEWDMU SCRIPT |
|----------------------------------------------------------|
| Copyright 2009, EWD Studio |
|----------------------------------------------------------|
| http://www.ewd-studio.net |
\---------------------------------------------------------*/
session_start();
require('requ.php');
require('include/internal.php');
require('include/config.php');
$q = $_GET['q'];
if (!in_array($_GET['q'], $countryx)) {
jump('index.php');
}
$sqlc = mssql_query("SELECT top 25 Character.Name, Character.Class, Character.GReset, Character.Resets, Character.cLevel, Character.TotalTime, Character.mapnumber, MEMB_INFO.SCFIsVip FROM MEMB_INFO INNER JOIN Character ON MEMB_INFO.memb___id = Character.AccountID WHERE (MEMB_Info.Country = '$q') AND (Character.CtlCode <> 32) AND (Character.CtlCode <> 8) order by Character.GReset desc, Character.Resets desc, cLevel desc");
$count = mssql_num_rows($sqlc);
if ($count == 0) {
print "<div class=\"error\">No players from this country yet</div><br />";
} else {
print "<div align=\"center\">
<div id=\"charInfo\"></div>
<div id=\"sinfo\">
<div style=\"width:500px;height:20px;text-align:center\"><div id=\"loading\"><img src=\"loading.gif\" alt=\"loading\" /></div></div>
<table>
<caption>Top 25 Players from <b>$q</b></caption>
<tr>
<th width=5%>#</th>
<th width=15%>Name</th>
<th width=35%>Class</th>
<th width=5%>GR</td>
<th width=5%>RR</th>
<th width=5%>Level</th>
<th width=15%>Map</th>
<th width=10%>Online Time</th>
<th width=5%>VIP</th>
</tr>
";
for ($i = 0; $i < $count; $i++) {
$rank = $i + 1;
$frow = mssql_fetch_row($sqlc);
$name = $frow[0];
$kla = $class[$frow[1]];
$greset = $frow[2];
$resets = $frow[3];
$level = $frow[4];
$totaltime = $frow[5];
$map = $maps[$frow[6]];
$vip = $frow[7];
if ($vip == 1) {
$vip = "<img src=\"images/vip.gif\" alt=\"\">";
} else {
$vip = "<img src=\"images/novip.gif\" alt=\"\">";
}
print "<tr style=\"cursor:pointer;\" onclick=\"showchar('$name')\">
<td>$rank</td>
<td>$name</td>
<td>$kla</td>
<td align=\"center\">$greset</td>
<td align=\"center\">$resets</td>
<td align=\"center\">$level</td>
<td align=\"center\">$map</td>
<td align=\"center\">$totaltime</td>
<td align=\"center\">$vip</td>
</tr>";
}
}
print "</table></div></div>";
?>
Did this file decode correctly?
Original Code
<?php
/*---------------------------------------------------------\
| aEWDMU SCRIPT |
|----------------------------------------------------------|
| Copyright 2009, EWD Studio |
|----------------------------------------------------------|
| http://www.ewd-studio.net |
\---------------------------------------------------------*/
session_start();
require('requ.php');
require('include/internal.php');
require('include/config.php');
$q = $_GET['q'];
if (!in_array($_GET['q'], $countryx)) {
jump('index.php');
}
$sqlc = mssql_query("\123\105\114\105\x43\124 \x74\157\160\040\062\065 C\x68\x61\162\x61\143\x74\145\162.\x4e\141\x6d\145\054 \x43\x68a\x72\141\143\x74\145\162\056C\x6c\141\163s\054\040\103\150a\162a\143te\162.\107\x52ese\164, \x43h\x61r\141\x63\x74\x65\x72\056\122e\163\145\x74\163\054 \103ha\x72a\143te\x72\x2e\143L\145\x76\145l, \103\150ar\x61ct\x65\162\056To\x74\141\x6c\124\x69\x6d\145,\040\x43h\141\162\x61\143\164\145\162\056\x6da\160\x6eu\x6dber\x2c\040\x4d\105M\102_\x49\116\106\117.\123\103F\111\x73\126\151\x70\040FRO\x4d M\105M\x42\x5fI\116\x46\x4f\x20\111\x4eNER\040\x4a\x4f\111\116\x20\x43ha\162\x61c\x74\x65\162 \117N\x20\115EM\102\137\x49\x4eF\x4f\056\155\145\155\x62\x5f\137\137\151\x64\x20\x3d\x20C\150\141\x72\141\x63\x74\x65r\056\101c\x63\x6fu\156\164\x49\104 \x57H\x45\122\x45 \x28\115\x45\115\x42\137\111nfo\056\x43\157untr\x79\x20=\x20'$q') \x41N\x44\x20\x28\103\x68\141ra\143\x74\x65\162.\x43\x74l\x43o\144e <\x3e\040\063\062\x29\x20\x41\116\x44\x20\050\x43\x68\141ra\x63t\145\162.\x43tl\x43o\x64e\040\x3c\x3e\040\070\x29\x20o\x72\144e\x72\x20\x62y\040\103\150\x61\x72\141\x63\164\x65r\056G\122e\163et\x20\x64\145\163\143\x2c\040\x43\150\x61ra\143\x74e\x72\056\x52es\x65\164\x73\040\x64\145s\143\x2c\040\x63\x4c\x65\166e\154\x20d\x65\x73\x63");
$count = mssql_num_rows($sqlc);
if ($count == 0) {
print "<\x64\x69v\x20c\154a\163\x73\075\"\x65\x72r\157\162\"\076\116o \x70\154a\171\145r\163\040fro\155\040\x74\x68\x69\163\040\x63o\x75\156try\040\171\145t\074\057\x64\x69v\x3e\074\x62r\040/\x3e";
} else {
print "<d\x69\x76\040\141\x6c\x69\x67\156\x3d\"c\x65\x6e\x74\x65r\"\076\015\012\x3c\x64iv i\144\x3d\"\143\150a\x72\111\156f\157\">\074\057\144\x69v>\x0d\x0a<\x64iv\040\151d\075\"si\x6e\x66\x6f\"\076\x0d
\074\x64\151\x76\040s\x74\171\154\x65\075\"w\x69\x64th\0725\0600px;\x68\145igh\164:\x320\160\x78;\164\145x\x74\x2d\141li\147\x6e\072\143\x65nt\x65\x72\"><div i\144\075\"lo\x61d\151n\147\">\074im\x67\x20\163r\x63=\"l\157adin\x67.\147\151\146\"\x20\141\x6c\x74\x3d\"loa\144ing\"\040\057\x3e\074\057\x64\151v\076<\057\x64\151v>\015\x0a\x3cta\142\x6c\x65>\x0d\x0a\074\x63\x61\x70\164\151\157\x6e>To\x70\040\062\x35\040\x50\154a\x79e\162\x73\040f\x72o\x6d \x3c\142\076$q\x3c\x2f\x62\x3e\074/\143\x61\x70\x74\151\157\x6e>
\x0a\x3c\164\x72\076\x0d
\x3ct\150\x20\167i\x64th=\x35%>#<\x2f\164h>
<t\x68 \x77\x69d\164h\x3d1\065\045\x3e\116\x61\x6d\x65\x3c\057t\x68\x3e
\x3c\x74h w\151\x64th=\0635\x25>\103l\x61\x73\163\x3c\057t\150\076\015\x0a\x3c\164\x68\040wi\x64\164h\x3d5\045\076G\x52\x3c\057t\144>
\x0a\x3c\x74\150\040\167i\x64\164\150\x3d\x35\045\076\x52\x52<\057\x74\150>\x0d\012<\x74h\040w\151dth\075\065\045\x3eL\145\166e\154\074\x2f\164h>\x0d\x0a\074t\x68\x20w\151\144\164\150\x3d15\045\076\x4dap\074\057\x74h\076
\x0a\x3c\164\x68 wid\164h\x3d1\060\045>\117\x6e\154\151\x6e\x65 \124i\x6de\074/\x74\150\x3e\015
\x3c\x74h wi\x64t\150\0755\x25>\x56\111\120</\x74h\076\015\x0a<\057\164\x72>
";
for ($i = 0; $i < $count; $i++) {
$rank = $i + 1;
$frow = mssql_fetch_row($sqlc);
$name = $frow[0];
$kla = $class[$frow[1]];
$greset = $frow[2];
$resets = $frow[3];
$level = $frow[4];
$totaltime = $frow[5];
$map = $maps[$frow[6]];
$vip = $frow[7];
if ($vip == 1) {
$vip = "\x3c\151\x6d\147\040s\162\x63\x3d\"\151\x6d\141\147e\163\057\x76ip\x2e\147\x69\x66\"\x20a\x6ct=\"\"\x3e";
} else {
$vip = "<\151\x6dg\x20\163rc=\"\151\x6d\x61ges/n\157vi\160\x2e\x67i\146\" a\x6ct=\"\">";
}
print "<\164r\040s\164yl\x65\x3d\"\x63\165\162\163\157\x72\072\x70\157i\156\164\x65r\073\"\040\x6fn\143\x6c\151ck=\"\x73h\x6fwch\x61\x72\x28'$name'\051\"\x3e\040\015\x0a\x3ctd>$rank<\057\164d\x3e
\074t\144>$name<\057\x74d>
\x0a<\164d>$kla</\x74\144>
\x0a\x3ct\144\x20a\154i\147\x6e=\"\x63e\x6e\164e\x72\">$greset\074/td>
\x0a\074\164\x64 \x61\154\x69g\x6e\075\"\143\x65nt\x65r\"\x3e$resets\074/\x74\x64\076\x0d\012\074\x74\x64\x20\x61\x6c\151\147\x6e=\"\x63\x65\156\164e\162\">$level\074\x2f\x74\144\076\015
<\164\144\040\141\x6c\x69\x67\x6e\075\"\143\x65\156t\x65\162\"\x3e$map\074/\164d\x3e\015\x0a\x3c\164\144\x20\141\154i\x67\156\x3d\"\x63\145\156\x74\145\x72\">$totaltime\x3c\x2f\x74d\076\x0d
\x3ct\144\x20al\x69\147\156\075\"ce\x6e\164\145r\"\076$vip</td\076\015
\074\057\x74r\x3e";
}
}
print "<\057\x74\x61\x62\x6ce\076\074\057\x64\x69\x76\x3e\074\x2fdiv\076";
Function Calls
| session_start | 1 |
Stats
| MD5 | 9ad7c874ee22d0cc2d184fbae05ccd96 |
| Eval Count | 0 |
| Decode Time | 62 ms |