代码拉取完成,页面将自动刷新
同步操作将从 cppcoder/mymps 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<?php
error_reporting(E_ALL^E_NOTICE);
__FILE__ == '' && die('Fatal error code: 0');
@header("Content-Type: text/html; charset=gbk");
@set_magic_quotes_runtime(0);
if (defined('DEBUG_MODE') == false) define('DEBUG_MODE', 0);
if(PHP_VERSION < '4.1.0') {
$_GET = &$HTTP_GET_VARS;
$_SERVER = &$HTTP_SERVER_VARS;
unset($HTTP_GET_VARS,$HTTP_SERVER_VARS);
}
if (isset($_REQUEST['GLOBALS']) OR isset($_FILES['GLOBALS'])) {
exit('Request tainting attempted.');
}
if(function_exists('date_default_timezone_set')) date_default_timezone_set('Hongkong');
define('CURSCRIPT', 'map');
define('IN_MYMPS',true);
define('CURRENTDIR',dirname(__FILE__));
require_once CURRENTDIR.'/data/config.php';
require_once CURRENTDIR.'/include/common.fun.php';
$p = mhtmlspecialchars($_GET['p']);
if(isset($p) && preg_match("/^[a-z0-9\-\.]+[,][a-z0-9\-\.]+$/", $p)) {
list($p1, $p2) = explode(',', $p);
}
$areacode = isset($_GET['areacode']) ? intval($_GET['areacode']) : '';
$action = isset($_GET['action']) ? trim(mhtmlspecialchars($_GET['action'])) : '';
if(!in_array($action,array('show','markpoint'))) $action = 'show';
$cityname = isset($_GET['cityname']) ? trim(mhtmlspecialchars($_GET['cityname'])) : 'beijing';
$documentdomain = isset($_GET['documentdomain']) ? trim(mhtmlspecialchars($_GET['documentdomain'])) : 0;
$title = isset($_GET['title']) ? checkhtml($_GET['title']) : 'עλ';
$level = is_numeric($_GET['level']) ? intval($_GET['level']) : (is_numeric($mymps_global['mapview_level']) ? $mymps_global['mapview_level'] : 10);
$width = isset($_GET['width']) ? intval($_GET['width']) : 500;
$height = isset($_GET['height']) ? intval($_GET['height']) : 500;
$markpoint = isset($_GET['markpoint']) ? intval($_GET['markpoint']) : 0;
if((!$p1 || !$p2) && !empty($mymps_global['cfg_mappoint'])) {
$key = 1;
list($p1,$p2) = explode(',',$mymps_global['cfg_mappoint']);
}
$mapflag = $mymps_global['mapflag'] ? $mymps_global['mapflag'] : 'baidu';
$version = 1.1;
include CURRENTDIR.'/template/box/map.html';
$mymps_global = $mapflag = $width = $height = $title = $level = $action = $p1 = $areacode = $p2 = NULL;
?>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。