<%@ Page CodeFileBaseClass="AliCMS.Lib.SystemPageBase" %>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>上传图片</title>
<link rel="stylesheet"  href="<%=CommonPath%>jquery/themes/lightness/all.css" >
<ali:Comment><link rel="stylesheet"  href="../../../S01/CHS/css/common.css" ></ali:Comment>
<link rel="stylesheet" href="<%=CssPath%>common.css" >
<script >
var _page = 'skin_image_add',
    _lang = '<%=ContentLang%>',
    _webPath = '<%=WebPath%>',
    _imagePath = '<%=ImagePath%>',
    _skinPath = '<%=Request.QueryString["SkinPath"]%>',
    _lang_working = '正在操作...',
    _lang_operation_fail = '操作失败！',
    _lang_operation_success = '操作成功！',
    _lang_start_upload = '开始上传...',
    _lang_uploading = '正在上传...',
    _lang_type_must_be = '文件类型应为：',
    _lang_select_file = '请选择文件！',
    _lang_file_name_invalid = '文件名不合法！',
    _lang_folder_exist = '该文件夹已存在！';
</script>
</head>
<body>
<div class="WhiteHeader">
	<div class="Left"><img src="<%=ImagePath%>close_frame.gif" ></div>
	<div class="Title"><a href="../../skin/list.aspx">皮肤列表</a> → <%=Request.QueryString["SkinPath"]%></div>
	<div class="Right"></div>
</div>
<div class="Block">
	<ul class="TabMenu">
		<li class="Left"></li>
		<li class="Middle"><a href="../../skin/edit.aspx?Path=<%=Request.QueryString["SkinPath"]%>">编辑</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="../../skin/picture.aspx?Path=<%=Request.QueryString["SkinPath"]%>">大图</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="../../skin/thumbnail.aspx?Path=<%=Request.QueryString["SkinPath"]%>">小图</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="../../skin/css/list.aspx?SkinPath=<%=Request.QueryString["SkinPath"]%>">样式列表</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="../../skin/css/add.aspx?SkinPath=<%=Request.QueryString["SkinPath"]%>">添加样式</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="../../skin/image/list.aspx?SkinPath=<%=Request.QueryString["SkinPath"]%>">图片列表</a></li>
		<li class="Right"></li>
		<li class="Left Selected"></li>
		<li class="Middle Selected">添加图片</li>
		<li class="Right Selected"></li>
	</ul>
	<ul class="Title">
		<li class="Left"></li>
		<li class="Middle"></li>
		<li class="Right"></li>
	</ul>
	<form>
		<table border="0" cellpadding="4" cellspacing="1">
			<thead>
				<tr>
					<th colspan="2">
						文件夹：
						<select name="Folder" id="Folder" style="width:140px">
							<option>/</option>
							<ali:List Object="Skin.Image" Operation="ListFolder(Request.QueryString['SkinPath'])">
								<ali:Record>
									<option value="<%=FolderName%>"><%=FolderName%></option>
								</ali:Record>
							</ali:List>
						</select>
						<input type="text" id="FolderName" >
						<input type="button" id="AddFolder" value="添加" >
					</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<th>文件：</th>
					<td>
						<img id="Thumbnail" width="100" height="100" /><br />
						<input id="FileTextbox" type="text" name="File" size="55" disabled="disabled" class="Text" >
						<input id="FileBrowse" type="button" value="浏览..." >
						<input type="hidden" name="AllowedType" value="gif|jpg|jpeg|png|bmp|swf|eot|ico|mp3|wmv|wma|flv|ra|rm" >
						文件类型应为gif,jpg,jpeg,png,bmp,eot,ico,swf,mp3,wmv,wma,flv,ra,rm
					</td>
				</tr>
			</tbody>
			<tfoot>
				<tr><td colspan="2"><input type="submit" value="上传" ></td></tr>
			</tfoot>
		</table>
	</form>
	<div class="Footer"></div>
</div>
<script src="<%=CommonPath%>jquery/core.js"></script>
<script src="<%=CommonPath%>jquery/ui.js"></script>
<script src="<%=CommonPath%>uploader.js"></script>
<script src="<%=CommonPath%>utility.js"></script>
<script src="<%=JsPath%>global.js"></script>
<script src="<%=ModuleJsPath%>module.js"></script>
</body>
</html>