<!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" src="{%$rootdir%}espcms_includes/webuploader/webuploader.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/webuploader/fileupload.js"></script>
		<script type="text/javascript">
			var uploadSWF = '{%$rootdir%}espcms_includes/webuploader/Uploader.swf';
			var upfileType = '{%$inputtype%}';
			var selectnum = '1';
			var upfile_ext = '{%$upfile_ext%}';
			var upload_max_filesize = '{%$net_upload_max_filesize%}';
			var upload_max_filesize_byte = '{%$upload_max_filesize_byte%}';
			var chunksize = '{%$chunksize%}';
			$(document).ready(function () {
				$('.espcms_close_dialog').click(function () {
					parent.closeifram();
				});
			});
		</script>
	</head>

	<body>
		<section class="container-fluid">
			<div class="panel-body">
				<form class="form-horizontal admin-form" enctype="multipart/form-data" id="saveFile" action="{%$file_save_link%}">
					<input type="hidden" name="tokenname" value="{%$tokenkey.token_name%}"/>
					<input type="hidden" name="tokenkey" value="{%$tokenkey.token_key%}"/>
					<input type="hidden" name="upFileType" id="upFileType" value="{%$inputtype%}"/>
					<div class="form-group">
						<label class="col-xs-2 control-label text-right pt7">Select File</label>
						<div class="col-xs-9" id="espcms_upload">
							<div id="picker" class="btn btn-default">Select File</div>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-2 control-label text-right pt7">Upload instructions</label>
						<div class="col-xs-9 pt5">
							<ul class="espcms_content_ul_list">
								<li>File.ext：<code>{%$upfile_ext%}</code></li>
								<li>File Size：<code>{%$net_upload_max_filesize%}M</code></li>
							</ul>
						</div>
					</div>
					<div class="form-group">
						<label class="col-xs-2 control-label"></label>
						<div class="col-xs-9">
							<input type="button" id="file_upfile_botton" class="btn btn-success" style="display: none;" value="Begin Upload"/>
							<button type="button" class="btn btn-lightgray espcms_close_dialog">Cancel</button>
						</div>
					</div>
				</form>
			</div>
		</section>
	</body>
</html>
