• 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.

Help Admin Giúp tí

juno

New Member
Tình hình là cái máy chết tiệt cuả mình edit code này là lỗi font.
Edit ở wap ftp thì lại lỗi nưả.
Edit lên host thì lag
Mình dùng mobile nhé.

Code này đưa ra bộ đếm chỉ áp dụng cho opera và đt nên rất ức chế .
Ai đó edit lại cái bộ đếm xíu nha
Code đây
Code:
 //-- b� �ếm --//
$urlon = $_SERVER['PHP_SELF'];
$dt = $_SERVER['HTTP_X_OPERAMINI_PHONE'];
$dt = str_replace('#', '', $dt);
if($dt) $tgon = time();
$tghet = time() - 900;
@mysql_query("delete from online where tgon<'".
$tghet."'");
if($user_id)
{ $kton=mysql_result(mysql_query("select count(*)
from online where ten = '".$taikhoan['nick']."'"),0);
if($kton == 0) {@mysql_query("INSERT INTO
`online` SET `ten` = '".$taikhoan['nick']."', `tt` = '0',
`dt` = '".$dt."', `urlon` = '".$urlon."', `tgon` = '".
$tgon."'"); }else{
$con = mysql_fetch_array(mysql_query("select *
from online where ten='".$taikhoan['nick']."'"));
if($con['urlon'] != $urlon)
{
@mysql_query("UPDATE `online` SET `urlon` = '". $urlon."' where ten='".$taikhoan['nick']."'");
}
@mysql_query("UPDATE `online` SET `tgon` = '".
$tgon."' where ten='".$taikhoan['nick']."'");
@mysql_query("UPDATE `taikhoan` SET `tgon` = '".
$tgon."' where id='".$user_id."'"); }
}else{
$kton=mysql_result(mysql_query("select count(*)
from online where ip = '".$_SERVER
['REMOTE_ADDR']."'"),0);
if($kton == 0) {@mysql_query("INSERT INTO `online` SET `ip` = '".$_SERVER['REMOTE_ADDR']."',
`tt` = '1', `dt` = '".$dt."', `urlon` = '".$urlon."',
`tgon` = '".$tgon."'");
}else{
$con = mysql_fetch_array(mysql_query("select *
from online where ip='".$_SERVER ['REMOTE_ADDR']."'"));
if($con['urlon'] != $urlon)
{
@mysql_query("UPDATE `online` SET `urlon` = '".
$urlon."' where ip='".$_SERVER
['REMOTE_ADDR']."'"); }
@mysql_query("UPDATE `online` SET `tgon` = '".
$tgon."' where ip='".$_SERVER
['REMOTE_ADDR']."'");
}
}

Tải về : Tải xuống f.php

*** sửa đoạn $dt dóoSửa xong zip lại dùm mình nhé
 
bao admin thoi ma,muon nho them ai nua
 
Bây giờ sửa cái gì
 
PHP:
$dt = $_SERVER['HTTP_X_OPERAMINI_PHONE'];
Đoạn này à....

----------> Bổ sung bài viết lúc 09:41 PM <----------> Bài viết trước lúc 09:40 PM <----------

Thêm nhận dạng pc nữa à...
 
thôi edit rồi. Tìm mãi mới có cái pm edit php cho mobi :D.
Thank ad nhé
 
Làm sao để hiện dòng chữ dươi topic blog demo kenhsv.wap.sh
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top