<%@ Page CodeFileBaseClass="IlgharCMS.Lib.AdminPageBase" %>
<!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>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<ilghar:Get ID="Goods" Object="Goods" InnerID="Request.QueryString['ID']" />
<ilghar:Get ID="Config" Object="InstanceConfig" Operation="GetBasicSettings()" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>更多图片</title>
<link rel="stylesheet" type="text/css" href="<%=CommonPath%>jquery/themes/lightness/all.css" />
<ilghar:Comment><link rel="stylesheet" type="text/css" href="../../S01/CHS/css/common.css" /></ilghar:Comment>
<link rel="stylesheet" href="<%=CssPath%>common.css" />
<script type="text/javascript">
var _page = "goods_pictures";
var _lang = "<%=ContentLang%>";
var _webPath = "<%=WebPath%>";
var _imagePath = "<%=ImagePath%>";
var _adminPath = "<%=AdminPath%>";
var _pictureRoot = "<%=Config[GoodsPictureFolder]%>";
var _goodsID = "<%=Goods[ID]%>";
var _goodsInnerID = "<%=Request.QueryString["ID"]%>";
var _lang_working = "正在操作...";
var _lang_operation_fail = "操作失败！";
var _lang_operation_success = "操作成功！";
var _lang_confirm_delete = "要删除此项吗？";
var _lang_select_picture = "请选择图片！";
var _lang_uploading = "正在上传图片...";
</script>
</head>
<body>
<div class="WhiteHeader">
	<div class="Left"><img src="<%=ImagePath%>close_frame.gif" /></div>
	<div class="Title"><a href="list.aspx?Lang=<%=ContentLang%>">商品列表</a> → <span class="<%=ContentLang%>Font"><%=Goods[Name]%></span></div>
	<div class="Right"></div>
</div>
<div class="Block">
	<ul class="TabMenu">
		<li class="Left"></li>
		<li class="Middle"><a href="edit.aspx?Lang=<%=ContentLang%>&amp;ID=<%=Request.QueryString["ID"]%>">编辑</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="pictures.aspx?Lang=<%=ContentLang%>&amp;ID=<%=Request.QueryString["ID"]%>">描述</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="property.aspx?Lang=<%=ContentLang%>&amp;ID=<%=Request.QueryString["ID"]%>">属性</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="parameter.aspx?Lang=<%=ContentLang%>&amp;ID=<%=Request.QueryString["ID"]%>">参数</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="part.aspx?Lang=<%=ContentLang%>&amp;ID=<%=Request.QueryString["ID"]%>">配件</a></li>
		<li class="Right"></li>
		<li class="Left Selected"></li>
		<li class="Middle Selected">更多图片</li>
		<li class="Right Selected"></li>
		<%If String.Equals(Goods[Kind], "Card")%>
			<li class="Left"></li>
			<li class="Middle"><a href="card.aspx?Lang=<%=ContentLang%>&amp;ID=<%=Request.QueryString["ID"]%>">虚拟卡</a></li>
			<li class="Right"></li>
		<%EndIf%>
		<%If Convert.ToBoolean(Goods[HasSpec])%>
			<li class="Left"></li>
			<li class="Middle"><a href="spec.aspx?Lang=<%=ContentLang%>&amp;ID=<%=Request.QueryString["ID"]%>">规格</a></li>
			<li class="Right"></li>
		<%EndIf%>
	</ul>
	<ul class="Title">
		<li class="Left"></li>
		<li class="Middle"></li>
		<li class="Right"></li>
	</ul>
	<div class="ToolBar">
		<form>
			<input id="PictureTextbox" type="text" name="Picture" size="55" class="Text" />
			<input id="PictureBrowse" type="button" value="浏览..." />
			<input id="PictureSelect" type="button" value="选择..." />
			<img height="22" id="PictureView" style="vertical-align:bottom" />
			<input type="checkbox" id="AddWaterMark" /><label for="AddWaterMark">水印</label>
			<input type="submit" class="Button" value="添加" />
		</form>
	</div>
	<div id="List">
		<ilghar:List Object="Goods.Pictures" Condition="GoodsID=Goods[ID]">
			<ilghar:Row MaxCol="4">
				<ul>
					<ilghar:Col MaxRecord="1">
						<ilghar:Record>
							<li id="<%=InnerID%>">
								<a href="<%=URL%>" target="_blank"><img src="<%=URL%>" /></a>
								<div><a href="">删除</a></div>
							</li>
						</ilghar:Record>
					</ilghar:Col>
				</ul>
			</ilghar:Row>
		</ilghar:List>
	</div>
	<div class="Footer"></div>
</div>
<script type="text/javascript" src="<%=CommonPath%>jquery/core.js"></script>
<script type="text/javascript" src="<%=CommonPath%>jquery/ui.js"></script>
<script type="text/javascript" src="<%=CommonPath%>utility.js"></script>
<script type="text/javascript" src="<%=CommonPath%>uploader.js"></script>
<script type="text/javascript" src="<%=JsPath%>global.js"></script>
<script type="text/javascript" src="<%=JsPath%>shop.js"></script>
</body>
</html>