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("&", "&", $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ır. Sayt Heddinden Çox Yüklenib...<br/>----<br/>";
echo "<i>Zehmet olmasa biraz gö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("&", "&", $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ılmayı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("а","a",$str);
$str = str_replace("б","b",$str);
$str = str_replace("в","v",$str);
$str = str_replace("г","g",$str);
$str = str_replace("д","d",$str);
$str = str_replace("е","e",$str);
$str = str_replace("Ѧ#8216;","e",$str);
$str = str_replace("ж","j",$str);
$str = str_replace("з","z",$str);
$str = str_replace("и","i",$str);
$str = str_replace("й","y",$str);
$str = str_replace("к","k",$str);
$str = str_replace("л","l",$str);
$str = str_replace("м","m",$str);
$str = str_replace("н","n",$str);
$str = str_replace("о","o",$str);
$str = str_replace("п","p",$str);
$str = str_replace("Ѧ#8364;","r",$str);
$str = str_replace("с","s",$str);
$str = str_replace("Ѧ#8218;","t",$str);
$str = str_replace("Ѧ#402;","u",$str);
$str = str_replace("Ѧ#8222;","f",$str);
$str = str_replace("Ѧ#8230;","h",$str);
$str = str_replace("Ѧ#8225;","c",$str);
$str = str_replace("Ѧ#8224;","q",$str);
$str = str_replace("Ѧ#710;","w",$str);
$str = str_replace("Ѧ#8240;",">",$str);
$str = str_replace("Ѧ#338;","<",$str);
$str = str_replace("Ѧ#8249;","x",$str);
$str = str_replace("Ѧ#352;",".",$str);
$str = str_replace("э",":",$str);
$str = str_replace("ю",";",$str);
$str = str_replace("я","}",$str);
$str = str_replace("А","a",$str);
$str = str_replace("Ц#8216;","b",$str);
$str = str_replace("Ц#8217;","v",$str);
$str = str_replace("Ц#8220;","g",$str);
$str = str_replace("Ц#8221;","d",$str);
$str = str_replace("Ц#8226;","e",$str);
$str = str_replace("Ё","e",$str);
$str = str_replace("Ц#8211;","j",$str);
$str = str_replace("Ц#8212;","z",$str);
$str = str_replace("Ц#65533;","i",$str);
$str = str_replace("Ц#8482;","y",$str);
$str = str_replace("Ц#353;","k",$str);
$str = str_replace("Ц#8250;","l",$str);
$str = str_replace("Ц#339;","m",$str);
$str = str_replace("Н","n",$str);
$str = str_replace("О","o",$str);
$str = str_replace("Ц#376;","p",$str);
$str = str_replace("Р","r",$str);
$str = str_replace("С","s",$str);
$str = str_replace("Т","t",$str);
$str = str_replace("У","u",$str);
$str = str_replace("Ф","f",$str);
$str = str_replace("Х","h",$str);
$str = str_replace("Ч","c",$str);
$str = str_replace("Ц","q",$str);
$str = str_replace("Ш","w",$str);
$str = str_replace("Щ",">",$str);
$str = str_replace("Ь","<",$str);
$str = str_replace("Ы","x",$str);
$str = str_replace("Ъ",".",$str);
$str = str_replace("Э",":",$str);
$str = str_replace("Ю",";",$str);
$str = str_replace("Я","}",$str);
return $str;
}
function win_to_utf($str){
$str=strtr($str,array(""=>"а",""=>"б",""=>"в",""=>"г",""=>"д",""=>"е",""=>"Ѧ#8216;",""=>"ж",""=>"з",""=>"и",""=>"й",""=>"к",""=>"л",""=>"м",""=>"н",""=>"о",""=>"п",""=>"Ѧ#8364;",""=>"с",""=>"Ѧ#8218;",""=>"Ѧ#402;",""=>"Ѧ#8222;",""=>"Ѧ#8230;",""=>"Ѧ#8224;",""=>"Ѧ#8225;",""=>"Ѧ#710;",""=>"Ѧ#8240;",""=>"Ѧ#352;",""=>"Ѧ#8249;",""=>"Ѧ#338;",""=>"э",""=>"ю",""=>"я",
""=>"А",""=>"Ц#8216;",""=>"Ц#8217;",""=>"Ц#8220;",""=>"Ц#8221;",""=>"Ц#8226;",""=>"Ё",""=>"Ц#8211;",""=>"Ц#8212;",""=>"?",""=>"Ц#8482;",""=>"Ц#353;",""=>"Ц#8250;",""=>"Ц#339;",""=>"Н",""=>"О",""=>"Ц#376;",""=>"Р",""=>"С",""=>"Т",""=>"У",""=>"Ф",""=>"Х",""=>"Ц",""=>"Ч",""=>"Ш",""=>"Щ",""=>"Ъ",""=>"Ы",""=>"Ь",""=>"Э",""=>"Ю",""=>"Я"));
return $str;
}
function utf_to_win($str){
$str=strtr($str,array("а"=>"","б"=>"","в"=>"","г"=>"","д"=>"","е"=>"","Ѧ#8216;"=>"","ж"=>"","з"=>"","и"=>"","й"=>"","к"=>"","л"=>"","м"=>"","н"=>"","о"=>"","п"=>"","Ѧ#8364;"=>"","с"=>"","Ѧ#8218;"=>"","Ѧ#402;"=>"","Ѧ#8222;"=>"","Ѧ#8230;"=>"","Ѧ#8224;"=>"","Ѧ#8225;"=>"","Ѧ#710;"=>"","Ѧ#8240;"=>"","Ѧ#352;"=>"","Ѧ#8249;"=>"","Ѧ#338;"=>"","э"=>"","ю"=>"","я"=>"",
"А"=>"","Ц#8216;"=>"","Ц#8217;"=>"","Ц#8220;"=>"","Ц#8221;"=>"","Ц#8226;"=>"","Ё"=>"","Ц#8211;"=>"","Ц#8212;"=>"","Ц#65533;"=>"","Ц#8482;"=>"","Ц#353;"=>"","Ц#8250;"=>"","Ц#339;"=>"","Н"=>"","О"=>"","Ц#376;"=>"","Р"=>"","С"=>"","Т"=>"","У"=>"","Ф"=>"","Х"=>"","Ц"=>"","Ч"=>"","Ш"=>"","Щ"=>"","Ъ"=>"","Ы"=>"","Ь"=>"","Э"=>"","Ю"=>"","Я"=>""));
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("\"", """, $message);
$message = str_replace("|", "¦", $message);
$message = str_replace("'", "‘", $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çi mö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>Şifre dü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.Şifrenizi deyishmeyi unutmayin!<br/>----<br/>";
$_v->divide();
echo "<a href=\"enter.php?id=$id&ps=$ps&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ün çatimizda 1 saat aktiv olduğunuz üçün <u>$_AUTO[admin]</u> size $row[st_bal_count1] bal hediyye etdi.<br/> ($site saytında kecireceyiniz her saat üçün $row[st_bal_count1] bal qazanacaqsız! Bizimle qalın!)
";}
if($row['sex']==0){$metn = "Salam <b>$row[user]</b> Siz bu gün çatimizda 1 saat aktiv olduğunuz üçün <u>$_AUTO[admin]</u> size $row[st_bal_count] bal hediyye etdi.<br/> ($site saytında kecireceyiniz her saat üçün $row[st_bal_count] bal qazanacaqsız! Bizimle qalı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("&", "&", $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ır. Sayt Heddinden Çox Yüklenib...<br/>----<br/>";
echo "<i>Zehmet olmasa biraz gö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("&", "&", $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ılmayı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("а","a",$str);
$str = str_replace("б","b",$str);
$str = str_replace("в","v",$str);
$str = str_replace("г","g",$str);
$str = str_replace("д","d",$str);
$str = str_replace("е","e",$str);
$str = str_replace("Ѧ#8216;","e",$str);
$str = str_replace("ж","j",$str);
$str = str_replace("з","z",$str);
$str = str_replace("и","i",$str);
$str = str_replace("й","y",$str);
$str = str_replace("к","k",$str);
$str = str_replace("л","l",$str);
$str = str_replace("м","m",$str);
$str = str_replace("н","n",$str);
$str = str_replace("о","o",$str);
$str = str_replace("п","p",$str);
$str = str_replace("Ѧ#8364;","r",$str);
$str = str_replace("с","s",$str);
$str = str_replace("Ѧ#8218;","t",$str);
$str = str_replace("Ѧ#402;","u",$str);
$str = str_replace("Ѧ#8222;","f",$str);
$str = str_replace("Ѧ#8230;","h",$str);
$str = str_replace("Ѧ#8225;","c",$str);
$str = str_replace("Ѧ#8224;","q",$str);
$str = str_replace("Ѧ#710;","w",$str);
$str = str_replace("Ѧ#8240;",">",$str);
$str = str_replace("Ѧ#338;","<",$str);
$str = str_replace("Ѧ#8249;","x",$str);
$str = str_replace("Ѧ#352;",".",$str);
$str = str_replace("э",":",$str);
$str = str_replace("ю",";",$str);
$str = str_replace("я","}",$str);
$str = str_replace("А","a",$str);
$str = str_replace("Ц#8216;","b",$str);
$str = str_replace("Ц#8217;","v",$str);
$str = str_replace("Ц#8220;","g",$str);
$str = str_replace("Ц#8221;","d",$str);
$str = str_replace("Ц#8226;","e",$str);
$str = str_replace("Ё","e",$str);
$str = str_replace("Ц#8211;","j",$str);
$str = str_replace("Ц#8212;","z",$str);
$str = str_replace("Ц#65533;","i",$str);
$str = str_replace("Ц#8482;","y",$str);
$str = str_replace("Ц#353;","k",$str);
$str = str_replace("Ц#8250;","l",$str);
$str = str_replace("Ц#339;","m",$str);
$str = str_replace("Н","n",$str);
$str = str_replace("О","o",$str);
$str = str_replace("Ц#376;","p",$str);
$str = str_replace("Р","r",$str);
$str = str_replace("С","s",$str);
$str = str_replace("Т","t",$str);
$str = str_replace("У","u",$str);
$str = str_replace("Ф","f",$str);
$str = str_replace("Х","h",$str);
$str = str_replace("Ч","c",$str);
$str = str_replace("Ц","q",$str);
$str = str_replace("Ш","w",$str);
$str = str_replace("Щ",">",$str);
$str = str_replace("Ь","<",$str);
$str = str_replace("Ы","x",$str);
$str = str_replace("Ъ",".",$str);
$str = str_replace("Э",":",$str);
$str = str_replace("Ю",";",$str);
$str = str_replace("Я","}",$str);
return $str;
}
function win_to_utf($str){
$str=strtr($str,array(""=>"а",""=>"б",""=>"в",""=>"г",""=>"д",""=>"е",""=>"Ѧ#8216;",""=>"ж",""=>"з",""=>"и",""=>"й",""=>"к",""=>"л",""=>"м",""=>"н",""=>"о",""=>"п",""=>"Ѧ#8364;",""=>"с",""=>"Ѧ#8218;",""=>"Ѧ#402;",""=>"Ѧ#8222;",""=>"Ѧ#8230;",""=>"Ѧ#8224;",""=>"Ѧ#8225;",""=>"Ѧ#710;",""=>"Ѧ#8240;",""=>"Ѧ#352;",""=>"Ѧ#8249;",""=>"Ѧ#338;",""=>"э",""=>"ю",""=>"я",
""=>"А",""=>"Ц#8216;",""=>"Ц#8217;",""=>"Ц#8220;",""=>"Ц#8221;",""=>"Ц#8226;",""=>"Ё",""=>"Ц#8211;",""=>"Ц#8212;",""=>"?",""=>"Ц#8482;",""=>"Ц#353;",""=>"Ц#8250;",""=>"Ц#339;",""=>"Н",""=>"О",""=>"Ц#376;",""=>"Р",""=>"С",""=>"Т",""=>"У",""=>"Ф",""=>"Х",""=>"Ц",""=>"Ч",""=>"Ш",""=>"Щ",""=>"Ъ",""=>"Ы",""=>"Ь",""=>"Э",""=>"Ю",""=>"Я"));
return $str;
}
function utf_to_win($str){
$str=strtr($str,array("а"=>"","б"=>"","в"=>"","г"=>"","д"=>"","е"=>"","Ѧ#8216;"=>"","ж"=>"","з"=>"","и"=>"","й"=>"","к"=>"","л"=>"","м"=>"","н"=>"","о"=>"","п"=>"","Ѧ#8364;"=>"","с"=>"","Ѧ#8218;"=>"","Ѧ#402;"=>"","Ѧ#8222;"=>"","Ѧ#8230;"=>"","Ѧ#8224;"=>"","Ѧ#8225;"=>"","Ѧ#710;"=>"","Ѧ#8240;"=>"","Ѧ#352;"=>"","Ѧ#8249;"=>"","Ѧ#338;"=>"","э"=>"","ю"=>"","я"=>"",
"А"=>"","Ц#8216;"=>"","Ц#8217;"=>"","Ц#8220;"=>"","Ц#8221;"=>"","Ц#8226;"=>"","Ё"=>"","Ц#8211;"=>"","Ц#8212;"=>"","Ц#65533;"=>"","Ц#8482;"=>"","Ц#353;"=>"","Ц#8250;"=>"","Ц#339;"=>"","Н"=>"","О"=>"","Ц#376;"=>"","Р"=>"","С"=>"","Т"=>"","У"=>"","Ф"=>"","Х"=>"","Ц"=>"","Ч"=>"","Ш"=>"","Щ"=>"","Ъ"=>"","Ы"=>"","Ь"=>"","Э"=>"","Ю"=>"","Я"=>""));
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("\"", """, $message);
$message = str_replace("|", "¦", $message);
$message = str_replace("'", "‘", $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çi mö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>Şifre dü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.Şifrenizi deyishmeyi unutmayin!<br/>----<br/>";
$_v->divide();
echo "<a href=\"enter.php?id=$id&ps=$ps&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ün çatimizda 1 saat aktiv olduğunuz üçün <u>$_AUTO[admin]</u> size $row[st_bal_count1] bal hediyye etdi.<br/> ($site saytında kecireceyiniz her saat üçün $row[st_bal_count1] bal qazanacaqsız! Bizimle qalın!)\n";}
if($row['sex']==0){$metn = "Salam <b>$row[user]</b> Siz bu gün çatimizda 1 saat aktiv olduğunuz üçün <u>$_AUTO[admin]</u> size $row[st_bal_count] bal hediyye etdi.<br/> ($site saytında kecireceyiniz her saat üçün $row[st_bal_count] bal qazanacaqsız! Bizimle qalı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 |
Stats
MD5 | bb18232aa50994d3a5a4df5eab2097d3 |
Eval Count | 0 |
Decode Time | 141 ms |