sanguo

所属分类:Windows编程
开发工具:PHP
文件大小:13273KB
下载次数:192
上传日期:2008-12-14 13:56:34
上 传 者skinlk
说明:  no intro
(Chase the deer WEBGAME background error-free version of the three countries to ensure the use, all-source and support the payment gateway, error-free, unrestricted and do not know can be linked installed QQ860265770, the Joint Development Network programmers specify the three countries, otherwise not. The installation of the three countries requested the three installation methods查照chase the deer before they can use with the background, the default administrator username and password is admin.)

文件列表:
register_bank.php (11446, 2008-11-11)
sufficient.php (4810, 2008-11-11)
test.php (142, 2008-11-01)
times.php (103, 2008-07-04)
top_end.php (3194, 2008-11-17)
version.php (235, 2008-05-01)
wen.php (4331, 2008-07-04)
wen_02.php (2311, 2008-07-04)
安装手册.txt (504, 2008-11-17)
admin\adminer.qg.php (5936, 2008-11-17)
admin\book.qg.php (4063, 2008-05-02)
admin\cache.qg.php (700, 2008-05-01)
admin\category.qg.php (9542, 2008-05-01)
admin\class.phpmailer.php (56917, 2008-09-30)
admin\class.smtp.php (33031, 2008-07-19)
admin\email.qg.php (4259, 2008-11-17)
admin\feedback.qg.php (2538, 2008-05-01)
admin\gamefriend.qg.php (2984, 2008-11-16)
admin\gameitem.qg.php (3098, 2008-11-16)
admin\gamejs.qg.php (3391, 2008-11-16)
admin\gamejz.qg.php (3326, 2008-11-16)
admin\gamekj.qg.php (3142, 2008-11-16)
admin\gamenpc.qg.php (3059, 2008-11-16)
admin\gamerw.qg.php (3249, 2008-11-16)
admin\gameshop.qg.php (3106, 2008-11-16)
admin\gamesys.qg.php (2996, 2008-11-16)
admin\gameunion.qg.php (3225, 2008-11-16)
admin\gamewar.qg.php (3521, 2008-11-16)
admin\gamewj.qg.php (3027, 2008-11-16)
admin\index.img.qg.php (1242, 2008-05-01)
admin\index.qg.php (308, 2008-05-01)
admin\job.qg.php (4142, 2008-05-01)
admin\language.qg.php (4220, 2008-05-01)
admin\left.sys.php (533, 2008-05-01)
admin\link.qg.php (1707, 2008-05-01)
admin\mail.php (558, 2008-11-17)
admin\msg.qg.php (16462, 2008-05-01)
admin\nav.qg.php (4040, 2008-05-01)
admin\notice.qg.php (2319, 2008-05-01)
admin\online.qg.php (814, 2008-06-16)
... ...

select_db("baysoftchat"); timer(); // //验证用户身份。 // //if(!verifyMember(session_id(),$_COOKIE["NickName"])) //{ // echo "parent.location.href=\"notice.php?id=".not_login."\""; // exit; //} //if(!$db->connect()) //{ // echo "alert('数据库连接失败!')"; //} $sql = "select * from `messages` where (`to_user` = '".$_COOKIE["NickName"]."' or `private`=0) and `id` > {$_GET["messageid"]} and `from_user` != '{$_COOKIE["NickName"]}' order by `id` asc"; $tm = time(); $db->query("update `onlinelist` set `activetime` = '{$tm}' where `username` = '{$_COOKIE["NickName"]}'"); $result = $db->query($sql); $totalRows = $db->num_rows($result); if(mysql_error()) { $db->query("repair table `messages`"); } $readedRows = 0; while($rows = $db->fetch_array($result)) { echo 'writeMessage("'.nl2br(addslashes($rows["content"])).'","'.$rows["from_user"].'","'.$rows["to_user"].'","'.$rows["time"].'","'.$rows["title"].'","'.$rows["saycolor"].'","'.$rows["namecolor"].'","'.$rows["private"].'","'.$rows["type"].'","'.$rows["event"].'","'.$rows["face"].'");'; $readedRows ++; if($readedRows==$totalRows) echo "messageid=".$rows["id"].";"; } /**************************解决一段时间没有更新时间的用户,因为该用户可能已经掉线了--*/ $leaveTime = 60; //每一分钟清除一次用户 $clearTime = time()-60; $microtime = explode(" ",microtime()); $microtime = $microtime[0]+$microtime[1]; if(($microtime-$db->result($db->query("select `value` from `config` where `name` = 'check_online'"),0,"value"))>$leaveTime) { $db->query("update `config` set `value` = '".$microtime."' where `name` = 'check_online'"); $clearResult = $db->query("select `username`,`roomid` from `onlinelist` where `activetime` < {$clearTime}"); if($clearTotalRows = $db->num_rows($clearResult)) { while($clearRow = $db->fetch_array($clearResult)) { $db->query("delete from `onlinelist` where `username` = '{$clearRow["username"]}'"); if($db->affectedrows()) { $message = array("private"=>"","event"=>"","from_user"=>"","type"=>"","roomid"=>"","content"=>"","to_user"=>"","title"=>"","namecolor"=>"","saycolor"=>"","face"=>""); $message["event"] = msg_leave; $message["from_user"] = $clearRow["username"]; $message["type"] = type_system; $message["roomid"] = $clearRow["roomid"]; addMessage($message,$db); } } } } //echo "showDebug('".timer()."','".$db->querynumbers()."');"; $db->close(); ?>

近期下载者

相关文件


收藏者