Salam, Qonaq
 Əsas Səhifə | GirişQeydiyyatDil seç: AZ  

Son Aktivlik

Master Forum | Skript / Komek | Komek Lazimdir
Axtarış
  Sicripde ?
MEXVI MEXVI [Off] [#] (29.11.2014 / 10:23)
salamm wapusta ehli men bu 1 saat balin gelmesi ucun kodu $vaxt_gun = $row["vaxt_gun"];
$royal_bal = $row["royal_bal"];
$ehstime = $row['ehstime'];
$qaliq = time() - $ehstime;
$dq = '300';
if ($qaliq >= $dq) {
mysql_query("UPDATE `users` SET `ehstime` = '".time()."' WHERE `id` = '".$id."' AND `pass` = '".$ps."';");
} else {
$vaxt = time() - $ehstime;
$vaxt_gun = $vaxt_gun + $vaxt;
$royal_hed = $royal_bal + $vaxt;
mysql_query("UPDATE `users` SET `ehstime` = '".time()."', `vaxt_gun` = '".$vaxt_gun."',royal_bal='".$royal_hed."' WHERE `id` = '".$id."' AND `pass` = '".$ps."';");
}
inc.php hara atim bax inc.php nin koduda budur
$HTTP_USER_AGENT = htmlentities(addslashes($_SERVER["HTTP_USER_AGENT"]));
$REMOTE_ADDR = htmlentities(addslashes($_SERVER["REMOTE_ADDR"]));
$divide = "----<br/>";
if($_POST['npass']!="")$ps = base64_encode("$_POST[npass]");
$SQLlink = "";

$dtd = '<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.2//EN" "http://www.wapforum.org/DTD/wml12.dtd">';
$xml = '<?xml version="1.0" encoding="UTF-8"?>';

function connect_db() {
$SQLlink = @mysql_connect (yccost, yccser, yccass);
if($SQLlink) {
if(@mysql_select_db(yccame)){
return $SQLlink;
} else {
$yenile = $_SERVER['HTTP_HOST'];
$yenile .= $_SERVER['REQUEST_URI'];
$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=\"http://$yenile\">Yenile</a><br/>\n";

echo "<a href=\"license.php\">Script License</a><br/>\n";
echo "</body></center></html>";
}
} else {
$yenile = $_SERVER['HTTP_HOST'];
$yenile .= $_SERVER['REQUEST_URI'];
$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=\"http://$yenile\">Yenile</a><br/>\n";
echo "<a href=\"license.php\">Script License</a><br/>\n";
echo "</body></html>";
}
exit;
}

function getmicrotime()
{
list($usec, $sec) = explode(" ", microtime());
return ((float)$usec + (float)$sec);
}


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("??&#65533;","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("??&#65533;",":",$str);
$str = str_replace("??&#381;",";",$str);
$str = str_replace("??&#65533;","}",$str);
$str = str_replace("? &#65533;","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("? &#65533;","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("? &#65533;","n",$str);
$str = str_replace("? &#382;","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;",""=>"??&#65533;",""=>"??&#8218;",""=>"??&#402;",""=>"??&#8222;",""=>"??&#8230;",""=>"??&#8224;",""=>"??&#8225;",""=>"??&#710;",""=>"??&#8240;",""=>"??&#352;",""=>"??&#8249;",""=>"??&#338;",""=>"??&#65533;",""=>"??&#381;",""=>"??&#65533;",
""=>"? &#65533;",""=>"? &#8216;",""=>"? &#8217;",""=>"? &#8220;",""=>"? &#8221;",""=>"? &#8226;",""=>"? &#65533;",""=>"? &#8211;",""=>"? &#8212;",""=>"?",""=>"? &#8482;",""=>"? &#353;",""=>"? &#8250;",""=>"? &#339;",""=>"? &#65533;",""=>"? &#382;",""=>"? &#376;",""=>"? ",""=>"??",""=>"??",""=>"??",""=>"?¤",""=>"??",""=>"?¦",""=>"?§",""=>"??",""=>"?©",""=>"??",""=>"?«",""=>"?¬",""=>"?­",""=>"?®",""=>"??"));
return $str;
}

function utf_to_win($str){
$str=strtr($str,array("?°"=>"","?±"=>"","??"=>"","??"=>"","??"=>"","?µ"=>"","??&#8216;"=>"","?¶"=>"","?·"=>"","??"=>"","??"=>"","??"=>"","?»"=>"","??"=>"","??"=>"","??"=>"","??"=>"","??&#8364;"=>"","??&#65533;"=>"","??&#8218;"=>"","??&#402;"=>"","??&#8222;"=>"","??&#8230;"=>"","??&#8224;"=>"","??&#8225;"=>"","??&#710;"=>"","??&#8240;"=>"","??&#352;"=>"","??&#8249;"=>"","??&#338;"=>"","??&#65533;"=>"","??&#381;"=>"","??&#65533;"=>"",
"? &#65533;"=>"","? &#8216;"=>"","? &#8217;"=>"","? &#8220;"=>"","? &#8221;"=>"","? &#8226;"=>"","? &#65533;"=>"","? &#8211;"=>"","? &#8212;"=>"","? &#65533;"=>"","? &#8482;"=>"","? &#353;"=>"","? &#8250;"=>"","? &#339;"=>"","? &#65533;"=>"","? &#382;"=>"","? &#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("\"", "&quot;", $message);
$message = str_replace("|", "&#0166;", $message);
$message = str_replace("'", "&#8216;", $message);
$message = str_replace("\\", "", $message);
$message=addslashes($message);
return $message;
}



function check_login($link) {
global $REMOTE_ADDR, $HTTP_USER_AGENT, $HTTP_GET_VARS, $us, $id, $ps, $ref;
$ref = rand(10000, 1000000);
if(isset($HTTP_GET_VARS['us'])) {$us = mysql_escape_string($HTTP_GET_VARS['us']);}
if(isset($HTTP_GET_VARS['id'])) {$id = mysql_escape_string($HTTP_GET_VARS['id']);}
if(isset($HTTP_GET_VARS['ps'])) {$ps = mysql_escape_string($HTTP_GET_VARS['ps']);}
if(isset($us)){ $us=trim($us);
if($us=="") {$bad_login = 1;}}
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);
$ruser = rus_to_k($us);
if($ruser==$us){
$result = mysql_query ("Select * from users where latuser = '".$latuser."' LIMIT 1;");
} else {
$result = mysql_query ("Select * from users where ruser = '".$ruser."' LIMIT 1;");
}
} else {
$result = mysql_query ("Select * from users where id = '".$us."' LIMIT 1;");
}
if (mysql_affected_rows() == 0) {
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">";
echo "<wml>";
echo "<card id=\"xeta\" title=\"xeta...\" ontimer=\"index.php?ref=$ref\"><timer value=\"15\"/>";
echo "<p align=\"center\"><small>";
echo "<b>Bele bir Istifade&#231;i m&#246;vcut deyil...</b><br/>****<br/>";
echo "<a href=\"index.php?&amp;$ref\">Ana Sehife</a><br/>\n";
echo "</small></p></card></wml>";
mysql_close ($link);
exit;
}




}
$row = mysql_fetch_array ($result);
if(!isset($id)){$id=$row["id"];}
if(!isset($ps)){$ps=0;}
if ($ps !== $row["pass"]){
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">";
echo "<wml>";
echo "<card id=\"xeta\" title=\"xeta...\" ontimer=\"index.php?ref=$ref\"><timer value=\"15\"/>";
echo "<p align=\"center\"><small>";
echo "<b>&#350;ifre d&#252;z deyil!</b><br/>****<br/>";
echo "<a href=\"index.php?&amp;$ref\">Ana Sehife</a><br/>\n";
echo "</small></p></card></wml>";
mysql_close ($link);
exit;
}$u_a = mysql_query("SELECT * FROM setting");
$ur = mysql_fetch_array($u_a);
$u_sil = $ur["urfan_yenile"];
$urfan_gun = date("d");
if($urfan_gun == $u_sil){
echo "";
}else{
mysql_query("UPDATE users set xal='0'");
MYSQL_QUERY("UPDATE `users` SET `time_active_gun`='0' WHERE `time_active_gun`!= '0';");
MYSQL_QUERY("UPDATE `users` SET `bal_time`='0' WHERE `bal_time`!= '0';");
mysql_query("UPDATE setting set urfan_yenile='$urfan_gun'");
mysql_query("UPDATE users set stsonline=''");
mysql_query("UPDATE users set royal_gun='0'");


}



if($row['fsize'] == "0") { $fsize1 = "<small>"; $fsize2 = "</small>"; }
else { $fsize1 = "<medium>"; $fsize2 = "</medium>"; }


$mega_sql = mysql_query("SELECT `id`,`user` FROM `users` WHERE `mega_time`!= '0' and `mega_time` < ".time().";");
while($mega_users = mysql_fetch_array($mega_sql)){
mysql_query("UPDATE `users` SET `mega_nik` = '0', mega_time = '0' WHERE `id` = '".$mega_users["id"]."';");
$rnd = rand(0,99999999);
$metn = "H&#246;rmetli <b>".$mega_users["user"]."</b>. Ald&#305;&#287;&#305;n&#305;z mega nikin m&#252;ddeti bitdi.";
mysql_query("INSERT INTO `zapiski` SET `idtowhom` = '".$mega_users["id"]."',`towhom` = '".$mega_users["user"]."',`idwho` = '0',`time` = '".time()."',`who` = 'Sistem',`date` = '".date('H:i - d.m.y')."',`readd` = '0',`topic` = 'Mega nik',`message` = '".$metn."';");

$sel = @mysql_query ("Select`user` from `users` where `id`='1' ;");
$ini = mysql_fetch_array ($sel);
$savo=$ini["user"];

$rnd = rand(0,99999999);
$metn = "<b>".$mega_users["user"]."</b> nikinin ald&#305;&#287;&#305; mega nikin m&#252;ddeti bitdi.";
mysql_query("INSERT INTO `zapiski` SET `idtowhom` = '1',`towhom` = '".$savo."',`idwho` = '0',`time` = '".time()."',`who` = 'Sistem',`date` = '".date('H:i - d.m.y')."',`readd` = '0',`topic` = 'Mega nik',`message` = '".$metn."';");
}

$zn_sql = mysql_query("SELECT `id`,`user` FROM `users` WHERE `zn_time`!= '0' and `zn_time` < ".time().";");
while($zn_users = mysql_fetch_array($zn_sql)){
mysql_query("UPDATE `users` SET `zn` = '', zn_time = '0' WHERE `id` = '".$zn_users["id"]."';");
$rnd = rand(0,99999999);
$metn = "H&#246;rmetli <b>".$zn_users["user"]."</b>. Ald&#305;&#287;&#305;n&#305;z znak&#305;n m&#252;ddeti bitdi.";
mysql_query("INSERT INTO `zapiski` SET `idtowhom` = '".$zn_users["id"]."',`towhom` = '".$zn_users["user"]."',`idwho` = '0',`time` = '".time()."',`who` = 'Sistem',`date` = '".date('H:i - d.m.y')."',`readd` = '0',`topic` = 'Znak',`message` = '".$metn."';");

$sel = @mysql_query ("Select`user` from `users` where `id`='1' ;");
$ini = mysql_fetch_array ($sel);
$savo=$ini["user"];

$rnd = rand(0,99999999);
$metn = "<b>".$zn_users["user"]."</b> nikinin ald&#305;&#287;&#305; znak&#305;n m&#252;ddeti bitdi.";
mysql_query("INSERT INTO `zapiski` SET `idtowhom` = '1',`towhom` = '".$savo."',`idwho` = '0',`time` = '".time()."',`who` = 'Sistem',`date` = '".date('H:i - d.m.y')."',`readd` = '0',`topic` = 'Znak',`message` = '".$metn."';");
}

include("base.php");

$us_ip = $row["user_ip"];
$us_soft = $row["user_soft"];
if($row["user_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){
echo $xml;
echo $dtd;
echo "<wml>";
echo "<card id=\"xeta\" title=\"Stop!\">";
echo "<p align=\"center\">";
echo $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!\n";
echo "<br/>----<br/>\n";
echo "<a href=\"enter.php?id=$id&amp;ps=$ps&amp;ref=$ref\">Davam Et</a><br/>\n";
echo $fsize2;
echo "</p></card></wml>";
mysql_close($link);
exit;
}
}
$q = mysql_query("SELECT * FROM `users` WHERE `id` = '".$id."' AND `pass` = '".$ps."';");



if($row["level"]<5){
$brawserban = mysql_query ("Select `soft` from `bannlist` WHERE `ip` = '".$REMOTE_ADDR."'");
if (mysql_affected_rows()!=0) {
$iban = mysql_fetch_array ($brawserban);
$iban = $iban['soft'];
if($iban=="IP-BAN" or $iban==$HTTP_USER_AGENT){
echo $xml;
echo $dtd;
echo "<wml>\n";
echo "<head><meta http-equiv=\"Cache-Control\" content=\"no-cache\" forua=\"true\"/></head>\n";
echo "<card id=\"ban\" title=\"IP Browser\">";
echo "<p align=\"center\">\n";
echo $fsize1;
echo "Sizin IP Browserden &#199;ata giri&#351;i ba&#287;lan&#305;b.<br/>----<br/>\n";
echo "<a href=\"http://$site\">Ana Sehife</a><br/>";
echo $fsize2;
echo "</p>\n";
echo "</card>\n";
echo "</wml>\n";
mysql_close($link);
exit;
}
}
}

if (($row["banned"]!=0)or($row["con"]!=0)or(time()<$row["kik"])) {
header ("Location: session.php?id=$id&ps=$ps&ref=$ref");
exit;
}
$saat =("H:i"); if($saat == "00:00")
{ mysql_query("UPDATE users set
vaxt_gun ='0'");
}
return array($row, $id, $ps, $fsize1, $fsize2);
}
?>
bilen varsa disin
Sistem Sistem [Off] [#] (29.11.2014 / 10:23)
WapUsta.Net :)
Təbriklər ! Yeni mövzu uğurla yaradıldı! Əgər mövzu Qaydalara uyğun olmazsa silinəcək. Mövzudan kənara çıxmayın, mövzuda başqasının fikirlərinə hörmətlə yanaşın, probleminiz varsa şəxsidə həll edin, mövzuda artıq post yazmayın. Qeyd ! Ailəsinə hörmət edən, qeyrəti olan söyüş söyməz, reklam etməz
Game-Started Game-Started [Off] [#] (29.11.2014 / 10:33)
include("base.php");
bu setirden yuxari at
MEXVI MEXVI [Off] [#] (29.11.2014 / 11:01)
Game-Started, yoxlayaram indi brat men bilisen ne lazimdir bal post almaq ucun dehlizde gosterira o koddalazim idi mende vardi dehlizden sildim onu nese islemirdi
Karayazi Karayazi [Off] [#] (29.11.2014 / 22:08)
Evvela sayt administrasiyasından üzr isteyirem mövzudan kenara çıxdığım üçün, bu ne mövzu adıdır, bunu anlayan varmı, moderatorlar hara baxır?
İkincisi, mövzu müellifinden soruşuram, hansı paramaetrlerden danışırsan, burada base.php faylının elaqesi yxdur, eger sen GET parametrleri mövçüd parametrlere uyğun yazırsansa onda inc.php faylının sonuna yazmalısan.
P.S.
Amma bu menim senin yazdığın ilkin posta esasen verdiyim melumatlardır, o melumatları da haradan alırsan, hele menim xeberim yoxdur.
  Cemi: 5

Mövzuya Baxanlar (0 nəfər)
Müellife göre filtreleme
Mövzunu YükleForuma Keç
Üst Yenilikler
 Əsas Səhifə  Onlayn: 1 / 22 nəfər

WapUsta.Net - Wap Ustaların Mekanı

© WapUsta.Net