
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title><!--{$config.system_name}-->-<!--{$top_menu_name}--></title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="format-detection" content="telephone=no">
		<link rel="stylesheet" href="<!--{$oapath}-->Ins/js/layui/css/layui.css"  media="all">
		<link rel="stylesheet" href="<!--{$oapath}-->Ins/js/layui/css/global.css" media="all">		
<link href="<!--{$oapath}-->Ins/font-awesome/css/font-awesome.css" rel="stylesheet">
	</head>
	<script type="text/javascript">
	var upload_url = "/index.php?m=&c=Sign&a=upload";
	var del_url = "/index.php?m=&c=Sign&a=del_file";
	var app_path = "";
	var ws_push_time = "2";
	var cookie_prefix = "";
	var link_select = "/index.php?m=&c=Popup&a=link_select";
	var push_server = "/index.php?m=&c=push&a=server";
	var is_app = "";

	var enable_chat = true;	
	var push_bind_url = '/index.php?m=&c=Push&a=bind';
	
	var msg_box_url = "/index.php?m=&c=Message&a=box";
	var chat_bind_url = '/index.php?m=&c=Chat&a=bind';	
	var chat_init_url = '/index.php?m=&c=Chat&a=init';
	var chat_send_message_url = '/index.php?m=&c=Chat&a=send_message';
	var chat_member_url = '/index.php?m=&c=Chat&a=members';
	var chat_upload_img_url = '/index.php?m=&c=Chat&a=upload_img';
	var chat_upload_file_url = '/index.php?m=&c=Chat&a=upload_file';
	var chat_log_url = '/index.php?m=&c=Chat&a=chat_log';

</script>
	<body class="popup">
		
	<style>
		body, html {
			height: 100%;
		}
		.login-box {
			margin-top: 0px;
			width: auto;
			height: 100%;
			margin: 20px;
			padding: 0px;
			border: 0px;
		}
		.allmap {
			border: 1px solid #222;
		}
		.layui-form-label {
			width: 80px;
		}
		.layui-input-block {
			margin-left: 90px;
		}
	</style>
	
	<div class="popup-frame">
		<div class="popup-header">
			<div class="pull-left">
                            <h3>【<!--{$vo.user_name}-->】时间:<!--{$vo.create_time}--></h3>
			</div>
			<div class="pull-right">
                        

				<a class="btn btn-cancel" id="btn_close" onclick="myclose();">关闭</a>
			</div>
		</div>
		<div class="popup-body">
			<div id="allmap" style="width:100%;height:470px;border:1px solid #ccc;"></div>
		</div>
	</div>

		<script src="<!--{$oapath}-->Ins/js/layui/layui.js" charset="utf-8"></script>
		<script src="<!--{$oapath}-->Ins/js/common1.js" charset="utf-8"></script>
                <script src="<!--{$oapath}-->Ins/js/jquery-2.1.1.js"></script>
		<script src="<!--{$oapath}-->Ins/js/plugins/toastr/toastr.min.js"></script>
                <script src="<!--{$oapath}-->Ins/js/plugins/gritter/jquery.gritter.min.js"></script>
                <script src="<!--{$oapath}-->Ins/js/plugins/bootbox/bootbox.min.js"></script>
		<script>
			layui.config({
				base : '<!--{$oapath}-->Ins/js/layui/',
				version : '1479330396824'
			}).extend({
					'moxie' : 'plugins/plupload/moxie',
					'plupload' : 'plugins/plupload/plupload',
					'moment' : 'plugins/fullcalendar/moment',
					'fullcalendar' : 'plugins/fullcalendar/fullcalendar',
					'tinymce' : 'plugins/tinymce/tinymce',
					'toastr':'plugins/toastr/toastr',
				});
		</script>
		
	<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=HApG6QKUwGzgpS0aEK6P5Xmt4eX1I6cI"></script>
	<script type="text/javascript">
		//var index = parent.layer.getFrameIndex(window.name);
		layui.use('global', function() {
			

			$(function() {
                            var jing="<!--{$vo.jing}-->";
                            var wei="<!--{$vo.wei}-->";
                            mark_map(wei,jing);

			});
		});

	
		
		


		function mark_map($lat, $lng) {
			//百度地图api
			var map = new BMap.Map("allmap");
			var point = new BMap.Point($lng, $lat);
			var marker = new BMap.Marker(point);

			// 创建标注
			map.addOverlay(marker);

			// 将标注添加到地图中
			map.centerAndZoom(point, 15);
		}
		/* 关闭弹出窗口*/
function myclose() {
	parent.winclose();
}

function winclose() {
	$("body").removeClass("modal-open");
	$("div.shade").hide();
	$("#dialog").html("");
	$("#dialog").remove();
}
	</script>

	</body>
</html>