⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 games.php

📁 FTB安装版 v1.3(虚拟形象)FTB安装版 v1.3(虚拟形象)
💻 PHP
字号:
<?php
// writeby 快乐的流星 所有 http://www.ofstar.com/bbs 你可以使用或修改本程序,请不要去掉版权标志 我的QQ 是 75598993
//注意由于考虑到程序效率很简单方面,游戏的管理员就是DJ管理员和总坛主
require_once("global.php");
require_once("userdata/style.php");
$add_title=" &gt; 游戏天地";
unset($gameurl);
if(empty($gamenub)) {echo"你要做什么?";exit;}
$ofstar=@file("userdata/game/game.dat");
for($i=0;$i<count($ofstar);$i++){
$detail=explode("|", trim($ofstar[$i]));
if(trim($detail[3])==$gamenub){
$gamename=$detail[2];
$gamegif=$detail[1];
$gameurl=$detail[0];
break;
}

  }
?>
<html>
<head>
<title><? 
echo $bbs_title;
if ($add_title) echo $add_title; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<style type="text/css">
<!--
p,input,select{font-size:9pt; color:333333; FONT-FAMILY: 宋体}
TABLE{BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 2px }
td{BORDER-RIGHT: 1px; BORDER-TOP: 0px; FONT-SIZE: 9pt; color:#000000; font-family:宋体}
td{word-break:break-all}
a {text-decoration:none; }
BODY {
FONT-SIZE: 9pt; FONT-FAMILY: 宋体
COLOR: #CCAAAA;
}
TEXTAREA {FONT-SIZE: 9pt; FONT-FAMILY: 宋体}
#ftbplocation {
	position: absolute;
	visibility: hidden;
				}
.cPopText {  background-color: #F8F8F5;color:#0066cc; border: 1px #0066cc solid;font-color: font-size: 12px; padding-right: 4px; padding-left: 5px; height: 20px; padding-top: 2px; padding-bottom: 2px; filter: Alpha(Opacity=0)}
.menu {
FILTER: revealTrans(transition=23,duration=0.5) blendTrans(duration=0.5); VISIBILITY: hidden; POSITION: absolute;
height:20px; z-index:1; background-color: #FEFEFF; layer-background-color: #FEFEFF; border: 1px none #500000;
}
.title { color:<?=$topfont_color1?> }
.titlefont { color:<?=$titlefontcolor?> }
.cau { color:<?=$cautioncolor?> }
.menutext { color:<?=$topfont_color1?> }
.popper {VISIBILITY: hidden; POSITION: absolute}
-->
</style>
<script>
function op(s)
{ window.open(""+s,'','resizable=1,scrollbars=1,status=no,menubar=no,toolbar=no,location=no,width=800,height=600,menu=no','fullscreen,scrollbars' );
};
</script>
</head>
<body oncontextmenu="return false" bgcolor=<?=$backgroundcolor?> background=<?=$background_color?> vlink=333333 link=333333 alink=333333 topmargin=3 leftmargin="0">
<?if(empty($gameurl)) {echo"此游戏的网址无效,可能已经过期了";exit;}
	$userin=explode("|",readfromfile("$userpath/$username.php"));
if ($userin[24]<=0){echo"您负债太多!金钱不够,<br>状态:发生错误,请多发好帖子,不要恶意灌水,不要浪费金钱,不要赌博,当然多去打工赚钱啊。<br><ul><li><a href=\"javascript:history.back(1)\">返回前页</a></li><br><li><a href=index.php>回到主页</li><br><li><a href=club.php>娱乐园中心</li></ul>";
    exit;
    }
$qian=$post_ofstar;
include("bbsdata/dj_user.php");
if (($dj_user && in_array($username,$dj_user)) || $username==$manager) $qian=0;
dtchange($username,'0','0',"-$qian");?>
<table cellspacing=0 width=98% bgcolor=<?=$subcolor?> align=center><tr><td height=1></td></tr></table>
<table cellpadding=4 cellspacing=0 width=98% align=center bordercolor=<?=$subcolor?> border=1> 
  <tr><td bgcolor=<?=$forumcolortwo?> align=center <?=$skinbg?>><b>游戏娱乐中心</b></td></tr>
  <tr><td bgcolor=<?=$forumcolorone?>>游 戏 者:<?=$username?>&nbsp;&nbsp;&nbsp;&nbsp;<a href=game.php?action=pay target=_blank><font color="green">我还想玩</font> </a>                              管 理 员:<font color=red>快乐的流星</font></td></tr>
<tr><td bgcolor=<?=$forumcolortwo?>>游 戏 名:<?=$gamename?>&nbsp;&nbsp;&nbsp;价格(<?=$qian.$bbs_money?>/次)&nbsp;&nbsp;你当前还有<?=$userin[24]-$qian?>
</td></tr>
<tr><td bgcolor=<?=$forumcolorone?> align="center">
<?php
if(eregi("\.swf$",$gameurl)) {
	$gamestat="<a href=http://61.144.49.197/cdrom/program/flashplayer5installer.exe target=_blank><B>请下载安装flashplayer5</a>";
	?>
 <param NAME="_cx" VALUE="10583">  
          <param NAME="_cy" VALUE="7937">  
          <param NAME="Movie" VALUE="<?=$gameurl?>">  
          <param NAME="Src" VALUE="<?=$gameurl?>">  
          <param NAME="WMode" VALUE="Window">  
          <param NAME="Play" VALUE="0">  
          <param NAME="Loop" VALUE="-1">  
          <param NAME="Quality" VALUE="High">  
          <param NAME="SAlign" VALUE>  
          <param NAME="Menu" VALUE="-1">  
          <param NAME="Base" VALUE>  
          <param NAME="Scale" VALUE="ExactFit">  
          <param NAME="DeviceFont" VALUE="0">  
          <param NAME="EmbedMovie" VALUE="0">  
          <param NAME="BGColor" VALUE>  
          <param NAME="SWRemote" VALUE>  
          <param NAME="Stacking" VALUE="below"><embed src="<?=$gameurl?>" quality="high"  pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlas h" type="application/x-shockwave-flash" width="600" height="400">   
<?
}
?>
</td></tr>
<tr><td bgcolor=<?=$forumcolortwo?> <?=$skinbg1?>><center><b>◇</b><a href=javascript:op("<?=$gameurl?>");>&nbsp 画面不够大请点这里</a>&nbsp;&nbsp;如果看不到游戏界面,<?=$gamestat?> &nbsp;◇</center></td></tr>
</table><BR><table cellpadding=0 cellspacing=0 border=0 width=390 align=center>
<tr><td align=center>
&copy版权所有: <a href="http://www.ofstar.com/bbs/index.php" target=_blank>流星动网论坛</a>    版本:<a href="http://www.ofstar.com/bbs/index.php"  target=_blank>ofstar V1.0</a>
</td></tr>
</table></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -