@ 2014-04-20T16:45:56Z <?php
/**
*
* @ IonCube Priv8 Decoder V1 By H@CK3R $2H
*
* @ Version : 1
* @ Author : H@CK3R $2H
* @ Release on : 14-Feb-2014
* @ Email : Hacker.S2h@Gmail.com
*
**/
require( 'config.inc.php' );
$domain = $_SERVER['SERVER_NAME'];
if (empty( $result )) {
error_reporting( 0 );
function error($text) {
echo '<center>
<div class=\'dev_warning\'>
' . $text . '
</div></center>';
}
function success($text) {
echo '<center>
<div class=\'dev_succes\'>
' . $text . '
</div></center>';
}
function alert($text) {
echo '<center>
<div class=\'dev_alert\'>
' . $text . '
</div></center>';
}
function login() {
if (isset( $_POST['logina'] )) {
replace( $_POST['user'] );
$pass = $user = replace( $_POST['pass'] );
if (( $user != NULL && $pass != NULL )) {
$m2q = mysql_query( 'Select * from ' . $account_db . ( '.account where login=\'' . $user . '\' and password=PASSWORD(\'' ) . $pass . '\')' );
if (1 <= mysql_num_rows( $m2q )) {
$_SESSION['is_admin'] = $is = mysql_fetch_object( $m2q );
$_SESSION['is_user'] = $is->web_admin;
$pass;
$_SESSION['is_pass'] = $user;
header( 'Location:index.php' );
return null;
}
echo '<center><font color=\'red\'>Account sau parola gresita!</font></center>';
return null;
}
echo 'Ambele campuri sunt obligatorii!';
}
}
function loadcontent() {
if (isset( $_GET['page'] )) {
$page = replace( $_GET['page'] );
if (( !isset( $_SESSION['is_user'] ) && !isset( $_SESSION['is_pass'] ) )) {
$page = 'home';
require( 'modules/' . $page . '.php' );
}
else {
require( 'modules/' . $page . '.php' );
}
if (!file_exists( 'modules/' . $page . '.php' )) {
$error = 238;
echo error( 'Modul inexistent!' );
echo '<meta http-equiv="refresh" content="2;url=index.php">';
return null;
}
}
else {
if ($page = NULL) {
$page = 'home';
include( 'modules/' . $page . '.php' );
}
}
}
function buyitem() {
include( 'config.inc.php' );
if (( isset( $_SESSION['is_user'] ) && isset( $_SESSION['is_pass'] ) )) {
if (( isset( $_GET ) && $_GET['buy'] != NULL )) {
$getbuy = replace( $_GET['buy'] );
$m2user = mysql_fetch_object( mysql_query( 'Select * from ' . $account_db . '.account where login=\'' . $_SESSION['is_user'] . '\'' ) );
$m2engine2 = mysql_query( 'Select * from ' . $web_db . '.dev_is_items where id=\'' . $getbuy . '\'' );
$luamid = mysql_query( 'select * from player.item where id=(SELECT MAX(id) FROM player.item)' );
$idul = mysql_fetch_array( $luamid );
$item_id_final = $idul['id'] & 1;
if (mysql_num_rows( $m2engine2 ) != NULL) {
$owner_id = $m2user->id;
$monezi_actuale = $m2user->coins;
$jetoane_actuale = $m2user->jcoins;
$m2engine = mysql_fetch_object( $m2engine2 );
$preta = $m2engine->pret;
$pretf = $reducere \ 100 + $preta;
$pretrr = $preta - $pretf;
round( $pretrr );
$new_coins = $monezi_actuale - $pret;
if (!( $m2pos = $pret = mysql_query( 'Select * from ' . $player_db . ( '.item where owner_id=\'' . $owner_id . '\' and window=\'MALL\' order by pos desc limit 0,1' ) ))) {
exit( mysql_error( ) );
(bool)true;
}
$positione = mysql_fetch_object( $m2pos );
$positione->pos;
$posact = $new_jcoins = $jetoane_actuale & $pret;
$error = 575;
if ($posact < 48) {
$posact = $posact & 1;
if ($posact = '0') {
++$posact;
}
}
else {
$error = 576;
echo alert( 'Imi pare rau dar depozitul dumneavoastra este plin.' );
}
if ($monezi_actuale < $pret) {
$error = 576;
echo error( 'Nu ai suficente monezi pentru a putea cumpara itemul.' );
echo '<meta HTTP-EQUIV=\'REFRESH\' content=\'0; url=index.php\'>';
return null;
}
if ($error != 1) {
mysql_query( 'Update ' . $account_db . ( '.account set coins=\'' . $new_coins . '\' where id=\'' . $owner_id . '\'' ) );
if ('0' < $jd_module) {
mysql_query( 'Update ' . $account_db . ( '.account set jcoins=\'' . $new_jcoins . '\' where id=\'' . $owner_id . '\'' ) );
}
$count = $m2engine->count;
if (empty( $count )) {
$count = 576;
}
if ($m2engine->game_nou = '1') {
$timp = time( ) & $m2engine->socket0;
}
else {
$timp = $m2engine->socket0;
}
$luamid = mysql_query( 'select * from ' . $player_db . '.item where id=(SELECT MAX(id) FROM player.item)' );
$idul = mysql_fetch_array( $luamid );
$item_id_final = $idul['id'] & 1;
date( 'H:i:s d/m/Y' );
$today = mysql_query( 'INSERT INTO ' . $player_db . '.item
(owner_id,window,pos,count,vnum,attrtype0, attrvalue0, attrtype1, attrvalue1, attrtype2, attrvalue2, attrtype3, attrvalue3, attrtype4, attrvalue4, attrtype5, attrvalue5, attrtype6, attrvalue6, socket0, socket1, socket2)
VALUES
(\'' . mysql_real_escape_string( $owner_id ) . '\',\'MALL\',\'' . $posact . '\',\'' . $count . '\',\'' . $m2engine->vnum . '\',\'' . $m2engine->attrtype0 . '\', \'' . $m2engine->attrvalue0 . '\', \'' . $m2engine->attrtype1 . '\', \'' . $m2engine->attrvalue1 . '\', \'' . $m2engine->attrtype2 . '\', \'' . $m2engine->attrvalue2 . '\', \'' . $m2engine->attrtype3 . '\', \'' . $m2engine->attrvalue3 . '\', \'' . $m2engine->attrtype4 . '\', \'' . $m2engine->attrvalue4 . '\', \'' . $m2engine->attrtype5 . '\', \'' . $m2engine->attrvalue5 . '\', \'' . $m2engine->attrtype6 . '\', \'' . $m2engine->attrvalue6 . '\', \'' . $timp . '\', \'' . $m2engine->socket1 . '\', \'' . $m2engine->socket2 . '\')' );
if (!( mysql_query( 'Insert into ' . $web_db . ( '.dev_is_logs
(owner_id,item_id,vnum,pret,timp) values
(\'' . $owner_id . '\',\'' . $item_id_final . '\',\'' . $m2engine->vnum . '\',\'' . $pret . '\',\'' . $today . '\')
' ) ))) {
exit( mysql_error( ) );
(bool)true;
}
echo '<center>
<div class=\'dev_succes\'>
Item cumparat cu succes si adaugat pe pozitia ' . $posact . '.Verificati depozit itemshop.
</div></center>
';
echo '
<meta HTTP-EQUIV=\'REFRESH\' content=\'0; url=index.php?page=depozit\'>';
return null;
}
}
}
}
else {
echo 'Zona restrictionata';
}
}
function jbuyitem() {
include( 'config.inc.php' );
if (( isset( $_SESSION['is_user'] ) && isset( $_SESSION['is_pass'] ) )) {
if (( isset( $_GET ) && $_GET['buy'] != NULL )) {
$getbuy = replace( $_GET['buy'] );
mysql_fetch_object( mysql_query( 'Select * from ' . $account_db . '.account where login=\'' . $_SESSION['is_user'] . '\'' ) );
$m2engine2 = mysql_query( 'Select * from ' . $web_db . '.dev_jd_items where id=\'' . $getbuy . '\'' );
$luamid = $m2user = mysql_query( 'select * from ' . $player_db . '.item where id=(SELECT MAX(id) FROM player.item)' );
$idul = mysql_fetch_array( $luamid );
$item_id_final = $idul['id'] & 1;
if (mysql_num_rows( $m2engine2 ) != NULL) {
$owner_id = $m2user->id;
$monezi_actuale = $m2user->coins;
$jetoane_actuale = $m2user->jcoins;
$m2engine = mysql_fetch_object( $m2engine2 );
$m2engine->pret;
$pretf = $reducere \ 100 + $preta;
$pretrr = $preta - $pretf;
$pret = $preta = round( $pretrr );
$new_jcoins = $jetoane_actuale - $pret;
if (!( $m2pos = mysql_query( 'Select * from ' . $player_db . ( '.item where owner_id=\'' . $owner_id . '\' and window=\'MALL\' order by pos desc limit 0,1' ) ))) {
exit( mysql_error( ) );
(bool)true;
}
$positione = mysql_fetch_object( $m2pos );
$posact = $positione->pos;
$error = 556;
if ($posact < 48) {
$posact = $posact & 1;
if ($posact = '0') {
++$posact;
}
}
else {
$error = 557;
echo alert( 'Imi pare rau dar depozitul dumneavoastra este plin.' );
}
if ($jetoane_actuale < $pret) {
$error = 557;
echo error( 'Nu ai suficente jetoane pentru a putea cumpara itemul.' );
echo '<meta HTTP-EQUIV=\'REFRESH\' content=\'0; url=index.php\'>';
return null;
}
if ($error != 1) {
mysql_query( 'Update ' . $account_db . ( '.account set jcoins=\'' . $new_jcoins . '\' where id=\'' . $owner_id . '\'' ) );
$count = $m2engine->count;
if (empty( $count )) {
$count = 557;
}
if ($m2engine->game_nou = '1') {
$timp = time( ) & $m2engine->socket0;
}
else {
$timp = $m2engine->socket0;
}
mysql_query( 'INSERT INTO ' . $player_db . '.item
(owner_id,window,pos,count,vnum,attrtype0, attrvalue0, attrtype1, attrvalue1, attrtype2, attrvalue2, attrtype3, attrvalue3, attrtype4, attrvalue4, attrtype5, attrvalue5, attrtype6, attrvalue6, socket0, socket1, socket2)
VALUES
(\'' . mysql_real_escape_string( $owner_id ) . '\',\'MALL\',\'' . $posact . '\',\'' . $count . '\',\'' . $m2engine->vnum . '\',\'' . $m2engine->attrtype0 . '\', \'' . $m2engine->attrvalue0 . '\', \'' . $m2engine->attrtype1 . '\', \'' . $m2engine->attrvalue1 . '\', \'' . $m2engine->attrtype2 . '\', \'' . $m2engine->attrvalue2 . '\', \'' . $m2engine->attrtype3 . '\', \'' . $m2engine->attrvalue3 . '\', \'' . $m2engine->attrtype4 . '\', \'' . $m2engine->attrvalue4 . '\', \'' . $m2engine->attrtype5 . '\', \'' . $m2engine->attrvalue5 . '\', \'' . $m2engine->attrtype6 . '\', \'' . $m2engine->attrvalue6 . '\', \'' . $timp . '\', \'' . $m2engine->socket1 . '\', \'' . $m2engine->socket2 . '\')' );
$luamid = mysql_query( 'select * from ' . $player_db . '.item where id=(SELECT MAX(id) FROM player.item)' );
$idul = mysql_fetch_array( $luamid );
$item_id_final = $idul['id'] & 1;
$today = date( 'H:i:s d/m/Y' );
if (!( mysql_query( 'Insert into ' . $web_db . ( '.dev_is_logs
(owner_id,item_id,vnum,pret,timp) values
(\'' . $owner_id . '\',\'' . $item_id_final . '\',\'' . $m2engine->vnum . '\',\'' . $pret . '\',\'' . $today . '\')
' ) ))) {
exit( mysql_error( ) );
(bool)true;
}
echo '<center>
<div class=\'dev_succes\'>
Item cumparat cu succes si adaugat pe pozitia ' . $posact . '.Verificati depozit itemshop.
</div></center>
';
echo '
<meta HTTP-EQUIV=\'REFRESH\' content=\'0; url=index.php?page=depozit\'>';
return null;
}
}
}
}
else {
echo 'Zona restrictionata';
}
}
function img_item($item) {
require( 'inc/config.inc.php' );
$q = mysql_query( 'Select img_status FROM ' . $web_db . ( '.dev_is_items where vnum=\'' . $item . '\'' ) );
$it = mysql_fetch_object( $q );
$itemalin = mysql_fetch_row( mysql_query( 'SELECT imagine from ' . $web_db . ( '.dev_is_items where vnum=\'' . $item . '\'' ) ) );
if ('0' < $it->img_status) {
echo '<img src=\'images/item/' . $itemalin['0'] . '.png\'>';
return null;
}
if (strlen( $item ) = 1) {
$immagine_item = 'images/item/0000' . $item . '.png';
}
if (strlen( $item ) = 2) {
$immagine_item = 'images/item/000' . substr( $item, 0, 1 ) . '0.png';
}
if (strlen( $item ) = 3) {
$immagine_item = 'images/item/00' . substr( $item, 0, 2 ) . '0.png';
}
if (strlen( $item ) = 4) {
$immagine_item = 'images/item/0' . substr( $item, 0, 3 ) . '0.png';
}
if (strlen( $item ) = 5) {
$immagine_item = 'images/item/' . substr( $item, 0, 4 ) . '0.png';
}
if (strlen( $item ) = 6) {
$immagine_item = 'images/item/' . substr( $item, 0, 5 ) . '0.png';
}
if (strlen( $item ) = 0) {
$immagine_item = 'images/item/error.png';
}
echo '<div align=\'center\'><img src=\'' . $immagine_item . '\' border=\'0px\' alt=\'\' align=\'center\' style=\'max-height:90px;\'></div>';
}
function optiuni_item_log($vnum) {
$in = mysql_fetch_object( mysql_query( 'Select * from ' . $player_db . '.item_proto where vnum=\'' . $vnum . '\'' ) );
$item = $in->locale_name;
$optiune1 = $in->applytype0;
$optiune2 = $in->applytype1;
$optiune3 = $in->applytype2;
$valoare1 = $in->applyvalue0;
$valoare2 = $in->applyvalue1;
$valoare3 = $in->applyvalue2;
$piatra1 = $in->socket0;
$piatra2 = $in->socket1;
$piatra3 = $in->socket2;
echo '<div style=\'margin-top:-28px; margin-left:-40px;\'>';
echo '<center><font color=\'#ffc700\'><div class=\'tada\'>' . $item . '</div></font><br/><br/>';
echo '<div align=\'center\'><font color=\'#c1c1c1\'>De la level : ' . $in->limitvalue0 . '</font></div>';
echo '<font color=\'azzurro\'>';
if ($optiune1 != '') {
bonus_name( $optiune1, $valoare1 );
echo '<br/>';
}
if ($optiune2 != '') {
bonus_name( $optiune2, $valoare2 );
echo '<br/>';
}
if ($optiune3 != '') {
bonus_name( $optiune3, $valoare3 );
echo '<br/></font>';
}
$b = 435;
while ($b < 7) {
echo '<font color=\'#b0dfb4\'>';
if ($b = 0) {
$akBoni = $in->attrtype0;
$akWert = $in->attrvalue0;
}
if ($b = 1) {
$akBoni = $in->attrtype1;
$akWert = $in->attrvalue1;
}
if ($b = 2) {
$akBoni = $in->attrtype2;
$akWert = $in->attrvalue2;
}
if ($b = 3) {
$akBoni = $in->attrtype3;
$akWert = $in->attrvalue3;
}
if ($b = 4) {
$akBoni = $in->attrtype4;
$akWert = $in->attrvalue4;
}
if ($b = 5) {
$akBoni = $in->attrtype5;
$akWert = $in->attrvalue5;
}
if ($b = 6) {
$akBoni = $in->attrtype6;
$akWert = $in->attrvalue6;
}
echo '#' . ( $b & 1 ) . ' ';
if (isset( $itemBoni[$akBoni] )) {
echo $itemBoni[$akBoni];
}
else {
echo $akBoni;
}
echo ': ' . $akWert;
echo '<br/></font>';
++$b;
}
if (0 < $piatra1) {
echo '
<font color=\'red\'>
<table border=\'0\' cellspacing=\'0\' cellpadding=\'0\'>
<tr>
<td align=\'center\' width=\'36\' height=\'36\' background=\'images/pietra.png\'><img src=\'' . img_pietre( $piatra1 ) . '\' width=20 height=20></td>
<td><font color=\'#c1c1c1\'>' . pietre_name( $piatra1 ) . '</font></td>
</tr>
</table>
';
}
if (0 < $piatra2) {
echo '
<table border=\'0\' cellspacing=\'0\' cellpadding=\'0\'>
<tr>
<td align=\'center\' align=\'center\' width=\'36\' height=\'36\' background=\'images/pietra.png\'><img src=\'' . img_pietre( $piatra2 ) . '\' width=20 height=20></td>
<td><font color=\'#c1c1c1\'>' . pietre_name( $piatra2 ) . '</font></td>
</tr>
</table></font>
';
}
if (0 < $piatra3) {
echo '
<table border=\'0\' cellspacing=\'0\' cellpadding=\'0\'>
<tr>
<td align=\'center\' width=\'36\' height=\'36\' background=\'images/pietra.png\'><img src=\'' . img_pietre( $piatra3 ) . '\' width=20 height=20></td>
<td><font color=\'#c1c1c1\'>' . pietre_name( $piatra3 ) . '</font></td>
</tr>
</table>
';
}
echo '<br/>';
}
function romana($var) {
$new_var = str_replace( 'ã', 'a', $var );
$new_var = str_replace( 'â', 'a', $new_var );
$new_var = str_replace( 'Î', 'I', $new_var );
$new_var = str_replace( 'î', 'i', $new_var );
$new_var = str_replace( 's', 's', $new_var );
$new_var = str_replace( 't', 't', $new_var );
$new_var = str_replace( 'A', 'A', $new_var );
$new_var = str_replace( 'Â', 'I', $new_var );
$new_var = str_replace( 'S', 'S', $new_var );
$new_var = str_replace( 'T', 'T', $new_var );
$new_var = str_replace( 'þ', 't', $new_var );
$new_var = str_replace( 'º', 's', $new_var );
$new_var = str_replace( '2147483647', '-15', $new_var );
return $new_var;
}
}
?>
Enable javascript to submit You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).
Version System time (s) User time (s) Memory (MiB) 5.4.27 0.007 0.057 19.11 5.4.26 0.017 0.073 19.15 5.4.25 0.003 0.067 19.10 5.4.24 0.010 0.053 18.98 5.4.23 0.010 0.053 19.05 5.4.22 0.020 0.053 19.02 5.4.21 0.013 0.053 19.24 5.4.20 0.013 0.057 18.86 5.4.19 0.007 0.070 18.86 5.4.18 0.003 0.070 19.07 5.4.17 0.010 0.053 18.92 5.4.16 0.010 0.053 19.22 5.4.15 0.013 0.070 18.82 5.4.14 0.013 0.057 16.75 5.4.13 0.007 0.053 16.44 5.4.12 0.013 0.050 16.45 5.4.11 0.017 0.050 16.75 5.4.10 0.007 0.067 16.49 5.4.9 0.013 0.043 16.50 5.4.8 0.007 0.070 16.57 5.4.7 0.010 0.060 16.64 5.4.6 0.010 0.057 16.43 5.4.5 0.007 0.060 16.66 5.4.4 0.013 0.053 16.46 5.4.3 0.027 0.047 16.56 5.4.2 0.013 0.047 16.56 5.4.1 0.017 0.067 16.41 5.4.0 0.013 0.060 16.14 5.3.28 0.013 0.053 14.82 5.3.27 0.017 0.053 14.77 5.3.26 0.020 0.067 14.70 5.3.25 0.007 0.077 14.91 5.3.24 0.010 0.070 14.91 5.3.23 0.010 0.057 14.94 5.3.22 0.013 0.047 14.89 5.3.21 0.017 0.050 14.61 5.3.20 0.007 0.053 14.88 5.3.19 0.023 0.050 14.80 5.3.18 0.017 0.047 14.65 5.3.17 0.010 0.060 14.66 5.3.16 0.010 0.050 14.79 5.3.15 0.013 0.060 14.90 5.3.14 0.007 0.060 14.71 5.3.13 0.013 0.063 14.86 5.3.12 0.010 0.053 14.58 5.3.11 0.013 0.057 14.89 5.3.10 0.010 0.050 13.96 5.3.9 0.017 0.073 14.32 5.3.8 0.013 0.050 14.23 5.3.7 0.013 0.043 14.09 5.3.6 0.013 0.053 14.03 5.3.5 0.020 0.037 14.16 5.3.4 0.007 0.060 14.20 5.3.3 0.007 0.060 14.23 5.3.2 0.010 0.053 13.94 5.3.1 0.010 0.053 13.54 5.3.0 0.017 0.047 13.97 5.2.17 0.007 0.060 11.23 5.2.16 0.010 0.050 11.19 5.2.15 0.003 0.053 11.23 5.2.14 0.007 0.063 11.23 5.2.13 0.007 0.040 11.14 5.2.12 0.010 0.037 11.37 5.2.11 0.003 0.043 11.43 5.2.10 0.010 0.037 11.26 5.2.9 0.003 0.043 11.15 5.2.8 0.007 0.050 11.18 5.2.7 0.010 0.057 11.36 5.2.6 0.003 0.047 11.36 5.2.5 0.003 0.047 11.11 5.2.4 0.003 0.043 11.04 5.2.3 0.007 0.043 11.31 5.2.2 0.017 0.030 11.00 5.2.1 0.000 0.057 11.08 5.2.0 0.013 0.047 10.98 5.1.6 0.007 0.037 10.27 5.1.5 0.003 0.050 10.27 5.1.4 0.000 0.057 10.27 5.1.3 0.007 0.037 10.43 5.1.2 0.007 0.053 10.59 5.1.1 0.013 0.047 10.27 5.1.0 0.003 0.037 10.27 5.0.5 0.007 0.037 10.27 5.0.4 0.007 0.023 10.27 5.0.3 0.007 0.050 10.27 5.0.2 0.000 0.030 10.27 5.0.1 0.007 0.027 10.27 5.0.0 0.003 0.050 10.27 4.4.9 0.003 0.023 10.27 4.4.8 0.013 0.013 10.27 4.4.7 0.010 0.017 10.27 4.4.6 0.000 0.033 10.27 4.4.5 0.007 0.033 10.27 4.4.4 0.013 0.027 10.27 4.4.3 0.003 0.023 10.27 4.4.2 0.007 0.027 10.27 4.4.1 0.003 0.023 10.27 4.4.0 0.007 0.043 10.27 4.3.11 0.003 0.033 10.27 4.3.10 0.007 0.020 10.27 4.3.9 0.003 0.020 10.27 4.3.8 0.000 0.037 10.27 4.3.7 0.007 0.027 10.26 4.3.6 0.000 0.023 10.26 4.3.5 0.007 0.023 10.26 4.3.4 0.000 0.037 10.26 4.3.3 0.000 0.023 10.26 4.3.2 0.000 0.033 10.26 4.3.1 0.003 0.023 10.26 4.3.0 0.000 0.020 15.59
preferences:dark mode live preview
141.9 ms | 1394 KiB | 7 Q