• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Share code bitfight clone english - game bitfight online bản tiếng anh

Admin

Well-Known Member
Staff member
Administrator
Demo gần giống bitefight.vn nhưng là phiên bản tiếng anh
Hướng dẫn sử dụng
Mở tập tin BiteFight English v2.0/includes/config2.php
Sửa
PHP:
<?
$dbhost="localhost";

$dbuname="database_kullanici_ismi";
$dbpass="db_kullanэcэ_sifresi";
$dbname="database_ismi";

$mesajsiniri="200";
$randomuz="order by RAND()";
$uyelik  =2; //1 normal ьyelik - 2 premium ьyeliрi

mysql_connect("$dbhost", "$dbuname", "$dbpass") || die("mysql hatasi");
mysql_select_db ("$dbname") || die("mysql hatasi2");


//////////////////Vampir Kurtadam
$now=time();
$vvxx [USER=924]MySQL[/USER]_num_rows [USER=924]MySQL[/USER]_query("select kullanici from online2 where kullanici = '$msql_sifre'"));

if ($msql_sifre != null)
    if ($vvxx == 0)
        {
        $tablo4="insert into online2 (kullanici,iid,zaman) Values ('$msql_sifre','$msql_id','$now')";
        mysql_query ($tablo4);

        $tablo ="update users set  online_zaman = '$now' where id = '$msql_id'";
        mysql_query ($tablo);
        }

$gecmis  =(time() - 60 * 10);
$tablo3  ="delete from online2 where zaman < $gecmis";
mysql_query ($tablo3);

$tablo   ="update users set  where online_zaman < $gecmis";
mysql_query ($tablo);

////////////////////////////////////////////////////

$uvisitor=$REMOTE_ADDR;
$uvisitor.="|" . gethostbyaddr($uvisitor);
$utime  =time();
$exptime=$utime - 60 * 10; // (in seconds)

 [USER=924]MySQL[/USER]_query ("delete from online where zaman<$exptime");
$uexists [USER=924]MySQL[/USER]_num_rows [USER=924]MySQL[/USER]_query("select id from online where ziyaretci='$uvisitor'"));

if ($uexists > 0)
    {
    [USER=924]MySQL[/USER]_query ("update online set zaman='$utime' where ziyaretci='$uvisitor'");
    }
else
    {
    [USER=924]MySQL[/USER]_query ("insert into online (ziyaretci,zaman) values ('$uvisitor','$utime')");
    }

$rs [USER=924]MySQL[/USER]_query("select * from online");

while ($ro [USER=924]MySQL[/USER]_fetch_array($rs))
    {
    }

$jmlonline [USER=924]MySQL[/USER]_num_rows [USER=924]MySQL[/USER]_query("select id from online"));
$
/*if($msql_durum != "9"){
    if($msql_id != ""){
        $query = "SELECT sure, tarih FROM users where id = $msql_id";
        $result = mysql_query ($query) or die ("hata");
        while ($line = mysql_fetch_array($result)){
        $sure = $line[sure];
        $uyelik_tarih_bitisi = $line[tarih];
        }

        $kalantarih = mktime (date ("H"), date ("i"), date ("s"), date("m")-$sure, date ("d"), date("Y"));
        $kalantarih = date ("Ymd", $kalantarih);

        if(($kalantarih > $uyelik_tarih_bitisi) and ($msql_durum != "1")){
            $query = "update users set durum='1' where id = $msql_id";
            mysql_query($query);
            $mde = $msql_durum;
            $msql_durum = "1";
            session_register("msql_durum");
            $error = 21;
        }
    }
}*/
?>
Cho đúng với thông số host
Tải xuống tuoitreit.vn_bitefight english v2.0.rar (2.53 MB)
Chúc các bạn thành công!
 

Facebook Comments

New posts New threads New resources

Back
Top