代码拉取完成,页面将自动刷新
同步操作将从 单薄/wap_game_development 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?php
//error_reporting(0);
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
// echo "游戏正在重构中,请耐心等待<br/>";
//require_once 'class/player.php';
require_once 'class/game.php';
$sess = new \main\sess();
$sess->startSession();
$game = new \main\game();
$arr_data = (object)[];
if ( !isset($_SESSION['sid']) ){
header("refresh:1;url=index.php");
exit("长时间未操作,请重新登录");
}
if ( !isset( $_GET['c']) ){
$arr_data->cmd = 'mid';
$cmd2 = 'gonowmid';
$cc = "";
}else{
$cc = $_GET['c'];
if ( !isset($_SESSION[ $cc ]) ){
$data = $_SESSION[ 'ccc' ];
}else{
$data = $_SESSION[ $cc ];
}
parse_str($data,$arr_data);//
$arr_data = (object)$arr_data;
}
$token_sys = $_SESSION['token'] ;
$sid_sys = $_SESSION['sid'] ;
$uid_sys = $_SESSION['uid'] ;
$_SESSION = array();
$_SESSION['sid'] = $sid_sys;
$_SESSION['token'] = $token_sys;
$_SESSION['uid'] = $uid_sys;
if (isset($data)){
$_SESSION['ccc'] = $data;
}
if ( isset( $data) && isset($cc)) {
$_SESSION[$cc] = $data;
}
if ( !isset($sid_sys) ){
header("refresh:1;url=index.php");
}
if ( !isset($c) || !isset($a)){
$c = 0;
$a = 0;
}
$player = $game->player_get_uinfo();
$game->player_update_sfzx(1);
$变量_系统 = (object)[
"颜色_红色" => '<span id="ys_red">' ,
"颜色_绿色" => '<span id="ys_green">',
"颜色_紫色" => '<span id="ys_purple">' ,
"颜色_亮橙色" => '<span id="ys_亮橙色">' ,
"颜色_颜色完" => "</span>",
'界面_空行'=>" ",
"游戏名称" => $game->get_system_config("系统","游戏名称"),
"链接_返回首页" => $game->create_url('cmd=jump&cmd2=index','返回首页'),
"链接_返回游戏" => $game->create_url_nowmid_obj(),
'链接_回复活点' =>$game->create_url_goremid(),
'链接_包裹' => $game->create_url('cmd=bagzb&cmd2=bagzb','包裹'),
'链接_任务' => $game->create_url("cmd=playertask","任务"),
'链接_查看地图' => $game->create_url("cmd=allmap&cmd2=allmap","所有地图"),
'链接_状态' => $game->create_url("cmd=zhuangtai&cmd2=zhuangtai","状态"),
'链接_聊天' => $game->create_url("cmd=liaotian<lx=all","聊天"),
'链接_排行' => $game->create_url("cmd=paihang","排行"),
'链接_修炼' => $game->create_url("cmd=xiulian&cmd2=xiulian","修炼"),
'链接_坊市' => $game->create_url("cmd=fangshi_zb","坊市"),
'链接_门派' => $game->create_url("cmd=club&canshu=into_club","门派"),
'链接_好友' => $game->create_url("cmd=","好友"),
'链接_兑换码' => $game->create_url("cmd=duihuan","兑换码"),
'链接_宠物' => $game->create_url("cmd=chongwu","宠物"),
'任务_数量' => count($game->rw_get_player_wwc()),
'装备1位置' => $game->get_system_config("游戏","装备1"),
'装备2位置' => $game->get_system_config("游戏","装备2"),
'装备3位置' => $game->get_system_config("游戏","装备3"),
'装备4位置' => $game->get_system_config("游戏","装备4"),
'装备5位置' => $game->get_system_config("游戏","装备5"),
'装备6位置' => $game->get_system_config("游戏","装备6"),
"链接_装备" => $game->create_url("cmd=bagzb&cmd2=bagzb","装备"),
"链接_道具" => $game->create_url("cmd=bagdj&cmd2=bagdj","道具"),
"链接_药品" => $game->create_url("cmd=bagyp&cmd2=bagyp","药品"),
"链接_技能" => $game->create_url("cmd=bagjn&cmd2=bagyp","技能"),
];
$ym = "./game/{$arr_data->cmd}.php";
$time = time();
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" >
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<title><?php echo $变量_系统->游戏名称 ?></title>
<link rel="stylesheet" href="css/gamecss.css?ver=<?php echo $time ?>">
</head>
<body>
<div class="h5ui-page spacing-cell">
<?php
if ( !$ym == '' ){
include "$ym";
}?>
<!-- jQuery -->
<script src="./js/jquery.min.js"></script>
<!-- H5UI JS -->
<script src="./js/h5ui.min.js"></script>
</div>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。