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 // SCRIPT NAME : DATA V3.6 // SCRIPT: BY SA TEREFINEN HAZIRLANDI KODLANDI // NSDA..

Decoded Output download

<?php 
// SCRIPT NAME : DATA V3.6 
// SCRIPT: BY SA TEREFINEN HAZIRLANDI KODLANDI 
// NSDATA GROP 2016 SONNN 
// SCRIPTIN ICAZESIZ ISLEDILMESI HER HANSI PHP OGURLANMASI DECODE EDILMEZI QADAGANDIR VE YOL VERILMEZDIR 
// BU HALLAR ASKARLANDIGI HALDA BU HALI YARADAN SEXS CIDI BOYUN ARDI TULAMASI FAKTI UZE CIXACAQDIR ! HORMETLE BY SA 
// ELAQE : 055 817 57 45 
// MAIL: [email protected] 
 
 
//error_reporting(E_ALL); 
ini_set('register_globals', 1); 
define('hostname','sql300.epizy.com'); 
define('username','epiz_26121407'); 
define('password','WdhSuoQWbR2'); 
define('dbname','epiz_26121407_chat'); 
$site = 'selim.cf'; 
$site_url = 'selim.cf';//saytin adresi 
$site_url_2 = 'selim.cf/cat';//chatin adresi 
define('DOCUMENT_ROOT','/home/BAZADI/domains/DOMAIN.ADI/public_html/datav36/'); 
$smsbal_1 = '5-9'; 
 
 
$divide = "----<br/>"; 
if($_POST['npass']!='')$ps = base64_encode($_POST['npass']); 
$SQLlink = ''; 
 
 
 
 
 
function connect_db() { 
$SQLlink = @mysql_connect (hostname, username, password); 
if($SQLlink) { 
if(@mysql_select_db(dbname)){ 
return $SQLlink; 
} else { 
$yenile = basename($_SERVER['PHP_SELF']).'?'.$_SERVER['QUERY_STRING']; 
$yenile = str_replace("&", "&amp;", $yenile); 
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
"; 
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
"; 
echo "<html><center><head>
"; 
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
"; 
echo "<title>MySql DataBase</title>
"; 
echo "<style type=\"text/css\"> 
body { font-weight: normal; font-size: normal; font-family: white; color: #ff6699; background-color: #000000 } 
a:link,a:active,a:visited { text-decoration: underline; color : #ffff00 } 
div { margin: 1px 0px 1px 0px; padding: 4px 4px 4px 4px } 
div.form { background-color: #00ff00 } 
</style></head><body>"; 
echo "*****<br/>
"; 
echo "<b>MySql</b> Baza ile Elaqe Yaranm&#305;r. Sayt Heddinden &#199;ox Y&#252;klenib...<br/>----<br/>"; 
echo "<i>Zehmet olmasa biraz g&#246;zleyin...</i> <br/>*****<br/>"; 
echo "<a href=\"$yenile\">Yenile</a><br/>
"; 
 
echo "<a href=\"license.php\">Script License</a><br/>
"; 
echo "</body></center></html>"; 
} 
} else { 
$yenile = basename($_SERVER['PHP_SELF']).'?'.$_SERVER['QUERY_STRING']; 
$yenile = str_replace("&", "&amp;", $yenile); 
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
"; 
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">
"; 
echo "<html><head>
"; 
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>
"; 
echo "<title>MySql Not</title>
"; 
echo "<style type=\"text/css\"> 
body { font-weight: normal; font-size: normal; font-family: white; color: #ff6699; background-color: #000000 } 
a:link,a:active,a:visited { text-decoration: underline; color : #ffff00 } 
div { margin: 1px 0px 1px 0px; padding: 4px 4px 4px 4px } 
div.form { background-color: #00ff00 } 
</style></head><body>"; 
echo "<center>*****<br/>
"; 
echo "<b>MySql</b> Baza Yarad&#305;lmay&#305;b..."; 
echo "<br/>*****<br/></center>"; 
echo "<a href=\"$yenile\">Yenile</a><br/>
"; 
echo "<a href=\"license.php\">Script License</a><br/>
"; 
echo "</body></html>"; 
} 
exit; 
} 
 
 
 
 
 
 
 
 
require("file/require/connect.php"); 
session(); 
 
include(DOCUMENT_ROOT.'file/require/sh_files.php'); 
include(DOCUMENT_ROOT.'file/require/spam.php'); 
include(DOCUMENT_ROOT.'version.php'); 
 
include('data_post.php'); 
 
 
function rus_to_k($str){ 
				$str = str_replace("&#1072;","a",$str); 
				$str = str_replace("&#1073;","b",$str); 
				$str = str_replace("&#1074;","v",$str); 
				$str = str_replace("&#1075;","g",$str); 
				$str = str_replace("&#1076;","d",$str); 
				$str = str_replace("&#1077;","e",$str); 
				$str = str_replace("&#1126;#8216;","e",$str); 
				$str = str_replace("&#1078;","j",$str); 
				$str = str_replace("&#1079;","z",$str); 
				$str = str_replace("&#1080;","i",$str); 
				$str = str_replace("&#1081;","y",$str); 
				$str = str_replace("&#1082;","k",$str); 
				$str = str_replace("&#1083;","l",$str); 
				$str = str_replace("&#1084;","m",$str); 
				$str = str_replace("&#1085;","n",$str); 
				$str = str_replace("&#1086;","o",$str); 
				$str = str_replace("&#1087;","p",$str); 
				$str = str_replace("&#1126;#8364;","r",$str); 
				$str = str_replace("&#1089;","s",$str); 
				$str = str_replace("&#1126;#8218;","t",$str); 
				$str = str_replace("&#1126;#402;","u",$str); 
				$str = str_replace("&#1126;#8222;","f",$str); 
				$str = str_replace("&#1126;#8230;","h",$str); 
				$str = str_replace("&#1126;#8225;","c",$str); 
				$str = str_replace("&#1126;#8224;","q",$str); 
				$str = str_replace("&#1126;#710;","w",$str); 
				$str = str_replace("&#1126;#8240;",">",$str); 
				$str = str_replace("&#1126;#338;","<",$str); 
				$str = str_replace("&#1126;#8249;","x",$str); 
				$str = str_replace("&#1126;#352;",".",$str); 
				$str = str_replace("&#1101;",":",$str); 
				$str = str_replace("&#1102;",";",$str); 
				$str = str_replace("&#1103;","}",$str); 
				$str = str_replace("&#1040;","a",$str); 
				$str = str_replace("&#1062;#8216;","b",$str); 
				$str = str_replace("&#1062;#8217;","v",$str); 
				$str = str_replace("&#1062;#8220;","g",$str); 
				$str = str_replace("&#1062;#8221;","d",$str); 
				$str = str_replace("&#1062;#8226;","e",$str); 
				$str = str_replace("&#1025;","e",$str); 
				$str = str_replace("&#1062;#8211;","j",$str); 
				$str = str_replace("&#1062;#8212;","z",$str); 
				$str = str_replace("&#1062;#65533;","i",$str); 
				$str = str_replace("&#1062;#8482;","y",$str); 
				$str = str_replace("&#1062;#353;","k",$str); 
				$str = str_replace("&#1062;#8250;","l",$str); 
				$str = str_replace("&#1062;#339;","m",$str); 
				$str = str_replace("&#1053;","n",$str); 
				$str = str_replace("&#1054;","o",$str); 
				$str = str_replace("&#1062;#376;","p",$str); 
				$str = str_replace("&#1056;","r",$str); 
				$str = str_replace("&#1057;","s",$str); 
				$str = str_replace("&#1058;","t",$str); 
				$str = str_replace("&#1059;","u",$str); 
				$str = str_replace("&#1060;","f",$str); 
				$str = str_replace("&#1061;","h",$str); 
				$str = str_replace("&#1063;","c",$str); 
				$str = str_replace("&#1062;","q",$str); 
				$str = str_replace("&#1064;","w",$str); 
				$str = str_replace("&#1065;",">",$str); 
				$str = str_replace("&#1068;","<",$str); 
				$str = str_replace("&#1067;","x",$str); 
				$str = str_replace("&#1066;",".",$str); 
				$str = str_replace("&#1069;",":",$str); 
				$str = str_replace("&#1070;",";",$str); 
				$str = str_replace("&#1071;","}",$str); 
				return $str; 
				} 
 
function win_to_utf($str){ 
$str=strtr($str,array(""=>"&#1072;",""=>"&#1073;",""=>"&#1074;",""=>"&#1075;",""=>"&#1076;",""=>"&#1077;",""=>"&#1126;#8216;",""=>"&#1078;",""=>"&#1079;",""=>"&#1080;",""=>"&#1081;",""=>"&#1082;",""=>"&#1083;",""=>"&#1084;",""=>"&#1085;",""=>"&#1086;",""=>"&#1087;",""=>"&#1126;#8364;",""=>"&#1089;",""=>"&#1126;#8218;",""=>"&#1126;#402;",""=>"&#1126;#8222;",""=>"&#1126;#8230;",""=>"&#1126;#8224;",""=>"&#1126;#8225;",""=>"&#1126;#710;",""=>"&#1126;#8240;",""=>"&#1126;#352;",""=>"&#1126;#8249;",""=>"&#1126;#338;",""=>"&#1101;",""=>"&#1102;",""=>"&#1103;", 
""=>"&#1040;",""=>"&#1062;#8216;",""=>"&#1062;#8217;",""=>"&#1062;#8220;",""=>"&#1062;#8221;",""=>"&#1062;#8226;",""=>"&#1025;",""=>"&#1062;#8211;",""=>"&#1062;#8212;",""=>"?",""=>"&#1062;#8482;",""=>"&#1062;#353;",""=>"&#1062;#8250;",""=>"&#1062;#339;",""=>"&#1053;",""=>"&#1054;",""=>"&#1062;#376;",""=>"&#1056;",""=>"&#1057;",""=>"&#1058;",""=>"&#1059;",""=>"&#1060;",""=>"&#1061;",""=>"&#1062;",""=>"&#1063;",""=>"&#1064;",""=>"&#1065;",""=>"&#1066;",""=>"&#1067;",""=>"&#1068;",""=>"&#1069;",""=>"&#1070;",""=>"&#1071;")); 
 return $str; 
} 
 
function utf_to_win($str){ 
$str=strtr($str,array("&#1072;"=>"","&#1073;"=>"","&#1074;"=>"","&#1075;"=>"","&#1076;"=>"","&#1077;"=>"","&#1126;#8216;"=>"","&#1078;"=>"","&#1079;"=>"","&#1080;"=>"","&#1081;"=>"","&#1082;"=>"","&#1083;"=>"","&#1084;"=>"","&#1085;"=>"","&#1086;"=>"","&#1087;"=>"","&#1126;#8364;"=>"","&#1089;"=>"","&#1126;#8218;"=>"","&#1126;#402;"=>"","&#1126;#8222;"=>"","&#1126;#8230;"=>"","&#1126;#8224;"=>"","&#1126;#8225;"=>"","&#1126;#710;"=>"","&#1126;#8240;"=>"","&#1126;#352;"=>"","&#1126;#8249;"=>"","&#1126;#338;"=>"","&#1101;"=>"","&#1102;"=>"","&#1103;"=>"", 
"&#1040;"=>"","&#1062;#8216;"=>"","&#1062;#8217;"=>"","&#1062;#8220;"=>"","&#1062;#8221;"=>"","&#1062;#8226;"=>"","&#1025;"=>"","&#1062;#8211;"=>"","&#1062;#8212;"=>"","&#1062;#65533;"=>"","&#1062;#8482;"=>"","&#1062;#353;"=>"","&#1062;#8250;"=>"","&#1062;#339;"=>"","&#1053;"=>"","&#1054;"=>"","&#1062;#376;"=>"","&#1056;"=>"","&#1057;"=>"","&#1058;"=>"","&#1059;"=>"","&#1060;"=>"","&#1061;"=>"","&#1062;"=>"","&#1063;"=>"","&#1064;"=>"","&#1065;"=>"","&#1066;"=>"","&#1067;"=>"","&#1068;"=>"","&#1069;"=>"","&#1070;"=>"","&#1071;"=>"")); 
 return $str; 
} 
 
 
 
 
 
function check($message){ 
                $message = str_replace("\n", " ", $message); 
                $message = str_replace("
", " ", $message); 
                $message = trim(" $message "); 
                $message = ereg_replace(" +"," ",$message); 
                $message = str_replace("$", "$$", $message); 
				$message = str_replace("", "", $message); 
                $message = str_replace("", "", $message); 
                $message = str_replace("", "", $message); 
                $message = str_replace("", "", $message); 
                $message = str_replace("", "", $message); 
                $message = str_replace("", "", $message); 
                $message = HtmlSpecialChars($message); 
                $message = str_replace("\"", "&quot;", $message); 
                $message = str_replace("|", "&#0166;", $message); 
                $message = str_replace("'", "&#8216;", $message); 
                $message = str_replace("\", "", $message); 
				$message=addslashes($message); 
                return $message; 
                } 
 
 
 
$ref = rand(10000, 1000000); 
$_v = new version($ref); 
function check_login($link) { 
		global $row, $site, $_COOKIE, $REMOTE_ADDR, $A_OPERA, $HTTP_USER_AGENT, $_GET, $_POST, $us, $id, $ps, $ref, $_AUTO, $_v; 
        if(isset($_POST['us'])) {$us = mysql_escape_string($_POST['us']); $us=trim($us);} 
		if(isset($_GET['id'])) {$id = mysql_escape_string($_GET['id']);} 
        if(isset($_GET['ps'])) {$ps = mysql_escape_string($_GET['ps']);} 
 
        if(isset($id)){ 
        if (!ctype_digit($id)) { header("Location: index.php"); die; } 
        $result = @mysql_query ("Select * from `users` where `id`='".$id."' LIMIT 1;"); 
		} else { 
        if (!ctype_digit($us)) { 
        $latuser=strtolower($us); 
        $result = mysql_query ("Select * from `users` where `latuser` = '".$latuser."' LIMIT 1;"); 
        } else { 
        $result = mysql_query ("Select * from `users` where `id` = '".$us."' LIMIT 1;"); 
		} 
 
	if (mysql_affected_rows() == 0) 
	{ 
  $_v->title('Xeta!','center'); 
  $_v->fsize1('<small>'); 
  echo "<b>Bele bir Istifade&#231;i m&#246;vcut deyil...</b><br/>----<br/>"; 
  $_v->divide(); 
  echo "<a href=\"index.php?$ref\">Ana Sehife</a><br/>
"; 
  $_v->fsize2('</small>'); 
  $_v->end('1',$link); 
  exit; 
 } 
} 
        $row = mysql_fetch_array ($result); 
        if(!isset($id)){$id=$row["id"];} 
        if(!isset($ps)){$ps=0;} 
 
if($row['fsize'] == '0') { $fsize1 = '<small>'; $fsize2 = '</small>'; } else { $fsize1 = '<small>'; $fsize2 = '</small>';} 
$_v->user_version($row['version']); 
 
 
$us_ip = $row["user_ip"]; 
$us_soft = $row["user_soft"]; 
 
 
if(secryte_pass()=='block' AND $us_soft!=$HTTP_USER_AGENT) 
{ 
        //$ps = 'd..2'.$ref; 
	save_log('access.dat'); 
} 
 
if ($ps !== $row["pass"] and base64_decode($ps) !== $row["pass"]){ 
 secryte_pass(1); 
 $_v->title('Stop!','center'); 
 $_v->fsize1($fsize1); 
 echo "<b>&#350;ifre d&#252;z deyil!</b><br/>----<br/>"; 
 $_v->divide(); 
 echo "<a href=\"index.php?$ref\">Ana Sehife</a><br/>
"; 
 $_v->fsize2($fsize2); 
 $_v->end('1',$link); 
 exit; 
} 
 
 
if($us_soft!=$HTTP_USER_AGENT) 
{ 
 mysql_query ("Update `users` set `user_soft`='".$HTTP_USER_AGENT."', `user_ip` = '".$REMOTE_ADDR."' WHERE `id` = '".$id."';"); 
 if ($row["safe"]==1) 
 { 
  $_v->title('Stop!','center'); 
  $_v->fsize1($fsize1); 
  echo "<b>Diqqet!</b><br/>----<br/>Sizin evvelki ip $us_ip ve ya browser $us_soft, Eger ip+soft bele deyilse nikinizden istifade olunub.&#350;ifrenizi deyishmeyi unutmayin!<br/>----<br/>"; 
  $_v->divide(); 
  echo "<a href=\"enter.php?id=$id&amp;ps=$ps&amp;ref=$ref\">Davam Et</a><br/>
"; 
  $_v->fsize2($fsize2); 
  $_v->end('1',$link); 
  exit; 
 } 
} 
 
showpanel(); 
 
include(DOCUMENT_ROOT.'file/dat_folder/n_n/n_n.php'); 
require("file/require/optimize.php"); 
include(DOCUMENT_ROOT.'file/require/foto.php'); 
if(substr($us_ip,0,strlen($REMOTE_MAX))!=$REMOTE_MAX) { 
 mysql_query ("Update `users` set `user_ip` = '".$REMOTE_ADDR."' WHERE `id` = '".$id."';"); 
} 
 
 
if($row['st_bal_time']>=60) 
{ 
if($row['sex']==1){$metn = "Salam <b>$row[user]</b> Siz bu g&#252;n &#231;atimizda 1 saat aktiv oldu&#287;unuz &#252;&#231;&#252;n <u>$_AUTO[admin]</u> size $row[st_bal_count1] bal hediyye etdi.<br/> ($site sayt&#305;nda kecireceyiniz her saat &#252;&#231;&#252;n $row[st_bal_count1] bal qazanacaqs&#305;z! Bizimle qal&#305;n!)
";} 
if($row['sex']==0){$metn = "Salam <b>$row[user]</b> Siz bu g&#252;n &#231;atimizda 1 saat aktiv oldu&#287;unuz &#252;&#231;&#252;n <u>$_AUTO[admin]</u> size $row[st_bal_count] bal hediyye etdi.<br/> ($site sayt&#305;nda kecireceyiniz her saat &#252;&#231;&#252;n $row[st_bal_count] bal qazanacaqs&#305;z! Bizimle qal&#305;n!)
";} 
mysql_query("INSERT INTO `zapiski` SET `idtowhom` = '".$id."', `towhom` = '".$row['user']."', `idwho` = '0', `time` = '".$SERVER_TIME."',`who` = 'BaL Hediyye', `readd` = '0', `topic`='Bal Hediyye', `message` = '".$metn."';"); 
if($row['sex']==1){mysql_query("UPDATE `users` SET `st_bal_time`='0', `bal`='".($row['bal']+$row['st_bal_count1'])."' WHERE `id` = '".$id."';");} 
if($row['sex']==0){mysql_query("UPDATE `users` SET `st_bal_time`='0', `bal`='".($row['bal']+$row['st_bal_count'])."' WHERE `id` = '".$id."';");} 
} 
 
return array($row, $id, $ps, $fsize1, $fsize2,$p_arr); 
} 
 
?>

Did this file decode correctly?

Original Code

<?php
// SCRIPT NAME : DATA V3.6
// SCRIPT: BY SA TEREFINEN HAZIRLANDI KODLANDI
// NSDATA GROP 2016 SONNN
// SCRIPTIN ICAZESIZ ISLEDILMESI HER HANSI PHP OGURLANMASI DECODE EDILMEZI QADAGANDIR VE YOL VERILMEZDIR
// BU HALLAR ASKARLANDIGI HALDA BU HALI YARADAN SEXS CIDI BOYUN ARDI TULAMASI FAKTI UZE CIXACAQDIR ! HORMETLE BY SA
// ELAQE : 055 817 57 45
// MAIL: [email protected]


//error_reporting(E_ALL);
ini_set('register_globals', 1);
define('hostname','sql300.epizy.com');
define('username','epiz_26121407');
define('password','WdhSuoQWbR2');
define('dbname','epiz_26121407_chat');
$site = 'selim.cf';
$site_url = 'selim.cf';//saytin adresi
$site_url_2 = 'selim.cf/cat';//chatin adresi
define('DOCUMENT_ROOT','/home/BAZADI/domains/DOMAIN.ADI/public_html/datav36/');
$smsbal_1 = '5-9';


$divide = "----<br/>";
if($_POST['npass']!='')$ps = base64_encode($_POST['npass']);
$SQLlink = '';





function connect_db() {
$SQLlink = @mysql_connect (hostname, username, password);
if($SQLlink) {
if(@mysql_select_db(dbname)){
return $SQLlink;
} else {
$yenile = basename($_SERVER['PHP_SELF']).'?'.$_SERVER['QUERY_STRING'];
$yenile = str_replace("&", "&amp;", $yenile);
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
echo "<html><center><head>\n";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n";
echo "<title>MySql DataBase</title>\n";
echo "<style type=\"text/css\">
body { font-weight: normal; font-size: normal; font-family: white; color: #ff6699; background-color: #000000 }
a:link,a:active,a:visited { text-decoration: underline; color : #ffff00 }
div { margin: 1px 0px 1px 0px; padding: 4px 4px 4px 4px }
div.form { background-color: #00ff00 }
</style></head><body>";
echo "*****<br/>\n";
echo "<b>MySql</b> Baza ile Elaqe Yaranm&#305;r. Sayt Heddinden &#199;ox Y&#252;klenib...<br/>----<br/>";
echo "<i>Zehmet olmasa biraz g&#246;zleyin...</i> <br/>*****<br/>";
echo "<a href=\"$yenile\">Yenile</a><br/>\n";

echo "<a href=\"license.php\">Script License</a><br/>\n";
echo "</body></center></html>";
}
} else {
$yenile = basename($_SERVER['PHP_SELF']).'?'.$_SERVER['QUERY_STRING'];
$yenile = str_replace("&", "&amp;", $yenile);
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n";
echo "<html><head>\n";
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\"/>\n";
echo "<title>MySql Not</title>\n";
echo "<style type=\"text/css\">
body { font-weight: normal; font-size: normal; font-family: white; color: #ff6699; background-color: #000000 }
a:link,a:active,a:visited { text-decoration: underline; color : #ffff00 }
div { margin: 1px 0px 1px 0px; padding: 4px 4px 4px 4px }
div.form { background-color: #00ff00 }
</style></head><body>";
echo "<center>*****<br/>\n";
echo "<b>MySql</b> Baza Yarad&#305;lmay&#305;b...";
echo "<br/>*****<br/></center>";
echo "<a href=\"$yenile\">Yenile</a><br/>\n";
echo "<a href=\"license.php\">Script License</a><br/>\n";
echo "</body></html>";
}
exit;
}








require("file/require/connect.php");
session();

include(DOCUMENT_ROOT.'file/require/sh_files.php');
include(DOCUMENT_ROOT.'file/require/spam.php');
include(DOCUMENT_ROOT.'version.php');

include('data_post.php');


function rus_to_k($str){
				$str = str_replace("&#1072;","a",$str);
				$str = str_replace("&#1073;","b",$str);
				$str = str_replace("&#1074;","v",$str);
				$str = str_replace("&#1075;","g",$str);
				$str = str_replace("&#1076;","d",$str);
				$str = str_replace("&#1077;","e",$str);
				$str = str_replace("&#1126;#8216;","e",$str);
				$str = str_replace("&#1078;","j",$str);
				$str = str_replace("&#1079;","z",$str);
				$str = str_replace("&#1080;","i",$str);
				$str = str_replace("&#1081;","y",$str);
				$str = str_replace("&#1082;","k",$str);
				$str = str_replace("&#1083;","l",$str);
				$str = str_replace("&#1084;","m",$str);
				$str = str_replace("&#1085;","n",$str);
				$str = str_replace("&#1086;","o",$str);
				$str = str_replace("&#1087;","p",$str);
				$str = str_replace("&#1126;#8364;","r",$str);
				$str = str_replace("&#1089;","s",$str);
				$str = str_replace("&#1126;#8218;","t",$str);
				$str = str_replace("&#1126;#402;","u",$str);
				$str = str_replace("&#1126;#8222;","f",$str);
				$str = str_replace("&#1126;#8230;","h",$str);
				$str = str_replace("&#1126;#8225;","c",$str);
				$str = str_replace("&#1126;#8224;","q",$str);
				$str = str_replace("&#1126;#710;","w",$str);
				$str = str_replace("&#1126;#8240;",">",$str);
				$str = str_replace("&#1126;#338;","<",$str);
				$str = str_replace("&#1126;#8249;","x",$str);
				$str = str_replace("&#1126;#352;",".",$str);
				$str = str_replace("&#1101;",":",$str);
				$str = str_replace("&#1102;",";",$str);
				$str = str_replace("&#1103;","}",$str);
				$str = str_replace("&#1040;","a",$str);
				$str = str_replace("&#1062;#8216;","b",$str);
				$str = str_replace("&#1062;#8217;","v",$str);
				$str = str_replace("&#1062;#8220;","g",$str);
				$str = str_replace("&#1062;#8221;","d",$str);
				$str = str_replace("&#1062;#8226;","e",$str);
				$str = str_replace("&#1025;","e",$str);
				$str = str_replace("&#1062;#8211;","j",$str);
				$str = str_replace("&#1062;#8212;","z",$str);
				$str = str_replace("&#1062;#65533;","i",$str);
				$str = str_replace("&#1062;#8482;","y",$str);
				$str = str_replace("&#1062;#353;","k",$str);
				$str = str_replace("&#1062;#8250;","l",$str);
				$str = str_replace("&#1062;#339;","m",$str);
				$str = str_replace("&#1053;","n",$str);
				$str = str_replace("&#1054;","o",$str);
				$str = str_replace("&#1062;#376;","p",$str);
				$str = str_replace("&#1056;","r",$str);
				$str = str_replace("&#1057;","s",$str);
				$str = str_replace("&#1058;","t",$str);
				$str = str_replace("&#1059;","u",$str);
				$str = str_replace("&#1060;","f",$str);
				$str = str_replace("&#1061;","h",$str);
				$str = str_replace("&#1063;","c",$str);
				$str = str_replace("&#1062;","q",$str);
				$str = str_replace("&#1064;","w",$str);
				$str = str_replace("&#1065;",">",$str);
				$str = str_replace("&#1068;","<",$str);
				$str = str_replace("&#1067;","x",$str);
				$str = str_replace("&#1066;",".",$str);
				$str = str_replace("&#1069;",":",$str);
				$str = str_replace("&#1070;",";",$str);
				$str = str_replace("&#1071;","}",$str);
				return $str;
				}

function win_to_utf($str){
$str=strtr($str,array(""=>"&#1072;",""=>"&#1073;",""=>"&#1074;",""=>"&#1075;",""=>"&#1076;",""=>"&#1077;",""=>"&#1126;#8216;",""=>"&#1078;",""=>"&#1079;",""=>"&#1080;",""=>"&#1081;",""=>"&#1082;",""=>"&#1083;",""=>"&#1084;",""=>"&#1085;",""=>"&#1086;",""=>"&#1087;",""=>"&#1126;#8364;",""=>"&#1089;",""=>"&#1126;#8218;",""=>"&#1126;#402;",""=>"&#1126;#8222;",""=>"&#1126;#8230;",""=>"&#1126;#8224;",""=>"&#1126;#8225;",""=>"&#1126;#710;",""=>"&#1126;#8240;",""=>"&#1126;#352;",""=>"&#1126;#8249;",""=>"&#1126;#338;",""=>"&#1101;",""=>"&#1102;",""=>"&#1103;",
""=>"&#1040;",""=>"&#1062;#8216;",""=>"&#1062;#8217;",""=>"&#1062;#8220;",""=>"&#1062;#8221;",""=>"&#1062;#8226;",""=>"&#1025;",""=>"&#1062;#8211;",""=>"&#1062;#8212;",""=>"?",""=>"&#1062;#8482;",""=>"&#1062;#353;",""=>"&#1062;#8250;",""=>"&#1062;#339;",""=>"&#1053;",""=>"&#1054;",""=>"&#1062;#376;",""=>"&#1056;",""=>"&#1057;",""=>"&#1058;",""=>"&#1059;",""=>"&#1060;",""=>"&#1061;",""=>"&#1062;",""=>"&#1063;",""=>"&#1064;",""=>"&#1065;",""=>"&#1066;",""=>"&#1067;",""=>"&#1068;",""=>"&#1069;",""=>"&#1070;",""=>"&#1071;"));
 return $str;
}

function utf_to_win($str){
$str=strtr($str,array("&#1072;"=>"","&#1073;"=>"","&#1074;"=>"","&#1075;"=>"","&#1076;"=>"","&#1077;"=>"","&#1126;#8216;"=>"","&#1078;"=>"","&#1079;"=>"","&#1080;"=>"","&#1081;"=>"","&#1082;"=>"","&#1083;"=>"","&#1084;"=>"","&#1085;"=>"","&#1086;"=>"","&#1087;"=>"","&#1126;#8364;"=>"","&#1089;"=>"","&#1126;#8218;"=>"","&#1126;#402;"=>"","&#1126;#8222;"=>"","&#1126;#8230;"=>"","&#1126;#8224;"=>"","&#1126;#8225;"=>"","&#1126;#710;"=>"","&#1126;#8240;"=>"","&#1126;#352;"=>"","&#1126;#8249;"=>"","&#1126;#338;"=>"","&#1101;"=>"","&#1102;"=>"","&#1103;"=>"",
"&#1040;"=>"","&#1062;#8216;"=>"","&#1062;#8217;"=>"","&#1062;#8220;"=>"","&#1062;#8221;"=>"","&#1062;#8226;"=>"","&#1025;"=>"","&#1062;#8211;"=>"","&#1062;#8212;"=>"","&#1062;#65533;"=>"","&#1062;#8482;"=>"","&#1062;#353;"=>"","&#1062;#8250;"=>"","&#1062;#339;"=>"","&#1053;"=>"","&#1054;"=>"","&#1062;#376;"=>"","&#1056;"=>"","&#1057;"=>"","&#1058;"=>"","&#1059;"=>"","&#1060;"=>"","&#1061;"=>"","&#1062;"=>"","&#1063;"=>"","&#1064;"=>"","&#1065;"=>"","&#1066;"=>"","&#1067;"=>"","&#1068;"=>"","&#1069;"=>"","&#1070;"=>"","&#1071;"=>""));
 return $str;
}





function check($message){
                $message = str_replace("\\n", " ", $message);
                $message = str_replace("\n", " ", $message);
                $message = trim(" $message ");
                $message = ereg_replace(" +"," ",$message);
                $message = str_replace("$", "$$", $message);
				$message = str_replace("", "", $message);
                $message = str_replace("", "", $message);
                $message = str_replace("", "", $message);
                $message = str_replace("", "", $message);
                $message = str_replace("", "", $message);
                $message = str_replace("", "", $message);
                $message = HtmlSpecialChars($message);
                $message = str_replace("\"", "&quot;", $message);
                $message = str_replace("|", "&#0166;", $message);
                $message = str_replace("'", "&#8216;", $message);
                $message = str_replace("\\", "", $message);
				$message=addslashes($message);
                return $message;
                }



$ref = rand(10000, 1000000);
$_v = new version($ref);
function check_login($link) {
		global $row, $site, $_COOKIE, $REMOTE_ADDR, $A_OPERA, $HTTP_USER_AGENT, $_GET, $_POST, $us, $id, $ps, $ref, $_AUTO, $_v;
        if(isset($_POST['us'])) {$us = mysql_escape_string($_POST['us']); $us=trim($us);}
		if(isset($_GET['id'])) {$id = mysql_escape_string($_GET['id']);}
        if(isset($_GET['ps'])) {$ps = mysql_escape_string($_GET['ps']);}

        if(isset($id)){
        if (!ctype_digit($id)) { header("Location: index.php"); die; }
        $result = @mysql_query ("Select * from `users` where `id`='".$id."' LIMIT 1;");
		} else {
        if (!ctype_digit($us)) {
        $latuser=strtolower($us);
        $result = mysql_query ("Select * from `users` where `latuser` = '".$latuser."' LIMIT 1;");
        } else {
        $result = mysql_query ("Select * from `users` where `id` = '".$us."' LIMIT 1;");
		}

	if (mysql_affected_rows() == 0)
	{
  $_v->title('Xeta!','center');
  $_v->fsize1('<small>');
  echo "<b>Bele bir Istifade&#231;i m&#246;vcut deyil...</b><br/>----<br/>";
  $_v->divide();
  echo "<a href=\"index.php?$ref\">Ana Sehife</a><br/>\n";
  $_v->fsize2('</small>');
  $_v->end('1',$link);
  exit;
 }
}
        $row = mysql_fetch_array ($result);
        if(!isset($id)){$id=$row["id"];}
        if(!isset($ps)){$ps=0;}

if($row['fsize'] == '0') { $fsize1 = '<small>'; $fsize2 = '</small>'; } else { $fsize1 = '<small>'; $fsize2 = '</small>';}
$_v->user_version($row['version']);


$us_ip = $row["user_ip"];
$us_soft = $row["user_soft"];


if(secryte_pass()=='block' AND $us_soft!=$HTTP_USER_AGENT)
{
        //$ps = 'd..2'.$ref;
	save_log('access.dat');
}

if ($ps !== $row["pass"] and base64_decode($ps) !== $row["pass"]){
 secryte_pass(1);
 $_v->title('Stop!','center');
 $_v->fsize1($fsize1);
 echo "<b>&#350;ifre d&#252;z deyil!</b><br/>----<br/>";
 $_v->divide();
 echo "<a href=\"index.php?$ref\">Ana Sehife</a><br/>\n";
 $_v->fsize2($fsize2);
 $_v->end('1',$link);
 exit;
}


if($us_soft!=$HTTP_USER_AGENT)
{
 mysql_query ("Update `users` set `user_soft`='".$HTTP_USER_AGENT."', `user_ip` = '".$REMOTE_ADDR."' WHERE `id` = '".$id."';");
 if ($row["safe"]==1)
 {
  $_v->title('Stop!','center');
  $_v->fsize1($fsize1);
  echo "<b>Diqqet!</b><br/>----<br/>Sizin evvelki ip $us_ip ve ya browser $us_soft, Eger ip+soft bele deyilse nikinizden istifade olunub.&#350;ifrenizi deyishmeyi unutmayin!<br/>----<br/>";
  $_v->divide();
  echo "<a href=\"enter.php?id=$id&amp;ps=$ps&amp;ref=$ref\">Davam Et</a><br/>\n";
  $_v->fsize2($fsize2);
  $_v->end('1',$link);
  exit;
 }
}

showpanel();

include(DOCUMENT_ROOT.'file/dat_folder/n_n/n_n.php');
require("file/require/optimize.php");
include(DOCUMENT_ROOT.'file/require/foto.php');
if(substr($us_ip,0,strlen($REMOTE_MAX))!=$REMOTE_MAX) {
 mysql_query ("Update `users` set `user_ip` = '".$REMOTE_ADDR."' WHERE `id` = '".$id."';");
}


if($row['st_bal_time']>=60)
{
if($row['sex']==1){$metn = "Salam <b>$row[user]</b> Siz bu g&#252;n &#231;atimizda 1 saat aktiv oldu&#287;unuz &#252;&#231;&#252;n <u>$_AUTO[admin]</u> size $row[st_bal_count1] bal hediyye etdi.<br/> ($site sayt&#305;nda kecireceyiniz her saat &#252;&#231;&#252;n $row[st_bal_count1] bal qazanacaqs&#305;z! Bizimle qal&#305;n!)\n";}
if($row['sex']==0){$metn = "Salam <b>$row[user]</b> Siz bu g&#252;n &#231;atimizda 1 saat aktiv oldu&#287;unuz &#252;&#231;&#252;n <u>$_AUTO[admin]</u> size $row[st_bal_count] bal hediyye etdi.<br/> ($site sayt&#305;nda kecireceyiniz her saat &#252;&#231;&#252;n $row[st_bal_count] bal qazanacaqs&#305;z! Bizimle qal&#305;n!)\n";}
mysql_query("INSERT INTO `zapiski` SET `idtowhom` = '".$id."', `towhom` = '".$row['user']."', `idwho` = '0', `time` = '".$SERVER_TIME."',`who` = 'BaL Hediyye', `readd` = '0', `topic`='Bal Hediyye', `message` = '".$metn."';");
if($row['sex']==1){mysql_query("UPDATE `users` SET `st_bal_time`='0', `bal`='".($row['bal']+$row['st_bal_count1'])."' WHERE `id` = '".$id."';");}
if($row['sex']==0){mysql_query("UPDATE `users` SET `st_bal_time`='0', `bal`='".($row['bal']+$row['st_bal_count'])."' WHERE `id` = '".$id."';");}
}

return array($row, $id, $ps, $fsize1, $fsize2,$p_arr);
}

?>

Function Calls

define 1
ini_set 1

Variables

None

Stats

MD5 bb18232aa50994d3a5a4df5eab2097d3
Eval Count 0
Decode Time 141 ms