<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta content="zh-cn" http-equiv="Content-Language" />
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
		<meta name="renderer" content="webkit"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0,  user-scalable=no"/>
		<title>{%$lngpack.sitename%}</title>
		<meta name="keywords" content="{%$lngpack.keyword%}" />
		<meta name="description" content="{%$lngpack.description%}" />
		<link rel="icon" type="image/png" href="{%$icon_16%}" sizes="16x16"/>
		<link rel="icon" type="image/png" href="{%$icon_32%}" sizes="32x32"/>
		<link rel="icon" type="image/png" href="{%$icon_64%}" sizes="64x64"/>
		<link href="{%$rootpath%}css/bootstrap.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcmsp8_font.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/swiper.min.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcmsp8_all.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcms_p8_public.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/jquery.min.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/bootstrap.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/swiper.min.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_base.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_dialog.js"></script>
		<script type="text/javascript">
			var seconds = {%$tip_time%};
			var defaultUrl = "{%$submit_link%}";
			onload = function() {
				if (defaultUrl == 'javascript:history.go(-1)' && window.history.length == 0) {
					document.getElementById('redirectionMsg').innerHTML = '';
					return;
				}
				window.setInterval(redirection, 1000);
			}
			function redirection() {
				if (seconds <= 0) {
					window.clearInterval();
					return;
				}
				seconds--;
				document.getElementById('spanSeconds').innerHTML = seconds;
				if (seconds == 0) {
					location.href = defaultUrl;
				}
			}
		</script>
	</head>

	<body>
		{%link file="public/head.html"%}

		<section class="container">
			<div class="espcms_warn text-center">
				<h2 class="text-center mb20 mt30">操作提醒</h2>
				<h3 class="text-center mb20 mt20">{%$tip_message%}</h3>
				<h4 class="text-center mb30 mt20">您可以选择以下操作按钮，网站将在<span class="em" id="spanSeconds">{%$tip_time%}</span>秒钟后返回默认地址！</h4>

				{%if $back_button_name!='' &&  $back_link!=''%}
				<a class="btn btn-success btn-lg" href="{%$back_link%}">{%$back_button_name%}</a>
				{%/if%}
				<a class="btn btn-warning btn-lg" href="{%$submit_link%}">{%$submit_button_name%}</a>
			</div>
		</section>

		{%link file="public/footer.html"%}
	</body>
</html>