<%@ Page  CodeFile="/cache/template/System/IlgharCMS.ShopModule/goods/list.cs" Inherits="CIlgharCMS"%>
<%@ Register TagPrefix="IlgharUC" TagName="Ime" Src="/cache/template/System/CHS/ime.ascx"%>
<%@ Register TagPrefix="IlgharUC" TagName="LanguageMenu" Src="/cache/template/System/CHS/language_menu.ascx"%>
<!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 name="generator" content="IlgharCMS(爱革CMS)" />

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>商品列表 - powered by IlgharCMS 3.0</title>
<link rel="stylesheet" type="text/css" href="<%=CommonPath%>jquery/themes/lightness/all.css" />

<link rel="stylesheet" href="<%=CssPath%>common.css" />
<ilgharUC:Ime Ime="true" Eot="true" runat="server" />

<script type="text/javascript">
var _page = "goods_list";
var _lang = "<%=ContentLang%>";
var _webPath = "<%=WebPath%>";
var _imagePath = "<%=ImagePath%>";
var _lang_working = "正在操作...";
var _lang_operation_fail = "操作失败！";
var _lang_operation_success = "操作成功！";
var _lang_confirm_delete = "要删除此项吗？";
var _lang_recycle = "回收";
var _lang_delete = "删除";
var _lang_recover = "还原";
var _lang_recommend = "推荐";
var _lang_unrecommend = "取消推荐";
var _lang_hold = "置顶";
var _lang_unhold = "取消置顶";
var _lang_release = "上架";
var _lang_unrelease = "下架";
var _lang_selection_empty = "没有选择任何对象！";
</script>
</head>
<body>
<div class="WhiteHeader">
	<div class="Left"><img src="<%=ImagePath%>close_frame.gif" /></div>
	<div class="Title">商品列表</div>
	<div class="Right">
		<ilgharUC:LanguageMenu runat="server" />
		<img height="15" src="<%=ImagePath%>dropdown.gif" /> 语言：<%=CurrentLanguage%>
	</div>
</div>
<div class="Block">
	<ul class="TabMenu">
		<li class="Left Selected"></li>
		<li class="Middle Selected">商品列表</li>
		<li class="Right Selected"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="add.aspx?Lang=<%=ContentLang%>">添加商品</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="../comment/list.aspx?Lang=<%=ContentLang%>">商品评论</a></li>
		<li class="Right"></li>
		<li class="Left"></li>
		<li class="Middle"><a href="replace.aspx?Lang=<%=ContentLang%>">批量替换</a></li>
		<li class="Right"></li>
	</ul>
	<ul class="Title">
		<li class="Left"></li>
		<li class="Middle"></li>
		<li class="Right"></li>
	</ul>
	<div class="ToolBar">
		<select id="IsRecycled">
			<option value="">是否回收</option>
			<option value="false" selected="selected">未回收</option>
			<option value="true">已回收</option>
		</select>
		<select id="IsReleased">
			<option value="">是否发布</option>
			<option value="false">未发布</option>
			<option value="true" selected="selected">已发布</option>
		</select>
		<select id="IsHeld">
			<option value="">是否置顶</option>
			<option value="false">未置顶</option>
			<option value="true">已置顶</option>
		</select>
		<select id="IsRecommended">
			<option value="">是否推荐</option>
			<option value="false">未推荐</option>
			<option value="true">已推荐</option>
		</select>
		<select id="CategoryID" class="<%=ContentLang%>Font">
			<option value="">所有类别</option>
			<option value="0">未指定类别</option>
			<%=t7302%>
		</select>
		<input type="checkbox" id="IncludeSubCategory" /><label for="IncludeSubCategory">子类</label>
	</div>
	<div class="ToolBar">
		<input type="checkbox" id="ListByPicture" /><label for="ListByPicture">缩略图</label>
		<select id="Sort">
			<option value="1">更新日期↓</option>
			<option value="2">更新日期↑</option>
			<option value="3">人气↓</option>
			<option value="4">人气↑</option>
			<option value="5">推荐↓</option>
			<option value="6">推荐↑</option>
			<option value="7">置顶↓</option>
			<option value="8">置顶↑</option>
			<option value="9">编号↓</option>
			<option value="10">编号↑</option>
			<option value="11">顶↓</option>
			<option value="12">顶↑</option>
			<option value="13">踩↓</option>
			<option value="14">踩↑</option>
		</select>
		<input id="Keyword" class="Text <%=ContentLang%>Font" />
		<select id="KeywordType">
			<option value="Name">名称</option>
		</select>
		<input id="Search" type="button" value="搜索" class="Button" />
		<input id="SelectAll" type="button" value="全选" class="Button" />
		<input id="ReverseSelect" type="button" value="反选" class="Button" />
		<span id="ExtraButton"></span>
	</div>
	<div id="List">
		<%=t9210%>
		<%
string t9324 = String.Empty;
if (ListByPicture)
{t9324 = _xmlTemplate.SelectSingleNode("/" + "/t9324/If").InnerText;t9324 = t9324.Replace("{#t9349#}",t9349);
}
else
{t9324 = _xmlTemplate.SelectSingleNode("/" + "/t9324/Else").InnerText;string t10049 = String.Empty;
if (Move)
{t10049 = _xmlTemplate.SelectSingleNode("/" + "/t10049/If").InnerText;string t10094 = String.Empty;
if ((Request.QueryString["IsRecommended"]=="true"))
{t10094 = _xmlTemplate.SelectSingleNode("/" + "/t10094/If").InnerText;}
else
{t10094 = _xmlTemplate.SelectSingleNode("/" + "/t10094/Else").InnerText;}
t10049 = t10049.Replace("{#t10094#}",t10094);
}
t9324 = t9324.Replace("{#t10049#}",t10049);
t9324 = t9324.Replace("{#t10431#}",t10431);
}
%><%=t9324%>
		<%=t11077%>
	</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="<%=JsPath%>move.js"></script>
<script type="text/javascript" src="<%=JsPath%>global.js"></script>
<script type="text/javascript" src="<%=JsPath%>shop.js"></script>
<asp:XmlDataSource ID="XmlData" runat="server"><Data><Template><t7302>
		                <Control>
		                    <Space>
			                    <![CDATA[&nbsp;&nbsp;]]>
		                    </Space>
		                    <Line>
			                    <![CDATA[│]]>
		                    </Line>
		                    <TopOpen>
			                    <![CDATA[┌]]>
		                    </TopOpen>
		                    <Top>
			                    <![CDATA[┌]]>
		                    </Top>
		                    <MiddleOpen>
			                    <![CDATA[├]]>
		                    </MiddleOpen>
		                    <Middle>
			                    <![CDATA[├]]>
		                    </Middle>
		                    <BottomOpen>
			                    <![CDATA[└]]>
		                    </BottomOpen>
		                    <Bottom>
			                    <![CDATA[└]]>
		                    </Bottom>
		                </Control>
		                <RowSeparator>
			                <![CDATA[]]>
		                </RowSeparator>
		                <ColSeparator>
			                <![CDATA[]]>
		                </ColSeparator>
		                <RecordSeparator>
			                <![CDATA[]]>
		                </RecordSeparator>
		                <Record>
			                <![CDATA[
					{#t7740#}
					{#ChildRecords#}
				{#Record#}]]>
		                </Record>
		                <Col MaxRecord="0">
			                <![CDATA[{#Record#}{#Col#}]]>
		                </Col>
		                <Row MaxCol="0">
			                <![CDATA[{#Col#}{#Row#}]]>
		                </Row>
		                <All>
			                <![CDATA[
				
				{#Row#}
			]]>
		                </All>
                        </t7302><t7740><If><![CDATA[
						<option value="{#ID#}" selected="selected">{#Control#}{#Name#}</option>
					]]></If><Else><![CDATA[
						<option value="{#ID#}">{#Control#}{#Name#}</option>
					]]></Else></t7740><t9210>
		                <RowSeparator>
			                <![CDATA[]]>
		                </RowSeparator>
		                <ColSeparator>
			                <![CDATA[]]>
		                </ColSeparator>
		                <RecordSeparator>
			                <![CDATA[]]>
		                </RecordSeparator>
		                <Record>
			                <![CDATA[]]>
		                </Record>
		                <Col MaxRecord="0">
			                <![CDATA[{#Record#}{#Col#}]]>
		                </Col>
		                <Row MaxCol="0">
			                <![CDATA[{#Col#}{#Row#}]]>
		                </Row>
		                <All>
			                <![CDATA[]]>
		                </All>
                        </t9210><t9324><If><![CDATA[
			{#t9349#}
		]]></If><Else><![CDATA[
			<table border="0" cellpadding="4" cellspacing="1" class="ListTable">
				<thead>
					<tr>
						<th width="40">选择</th>
						{#t10049#}
						<th>名称</th>
						<th width="120">创建时间</th>
						<th width="40">人气</th>
						<th width="40">顶</th>
						<th width="40">踩</th>
					</tr>
				</thead>
				<tbody>
					{#t10431#}
				</tbody>
			</table>
		]]></Else></t9324><t9349>
		                <RowSeparator>
			                <![CDATA[]]>
		                </RowSeparator>
		                <ColSeparator>
			                <![CDATA[]]>
		                </ColSeparator>
		                <RecordSeparator>
			                <![CDATA[]]>
		                </RecordSeparator>
		                <Record>
			                <![CDATA[
								<li>
									<a href="edit.aspx?Lang={#ContentLang#}&amp;ID={#InnerID#}"><img src="{#Thumbnail#}" /></a>
									<div class="{#ContentLang#}Font"><a href="edit.aspx?Lang={#ContentLang#}&amp;ID={#InnerID#}">{#Name#}</a><input type="checkbox" name="Sel" value="{#InnerID#}" /></div>
								</li>
							{#Record#}]]>
		                </Record>
		                <Col MaxRecord="1">
			                <![CDATA[
							{#Record#}
						{#Col#}]]>
		                </Col>
		                <Row MaxCol="4">
			                <![CDATA[
					<ul>
						{#Col#}
					</ul>
				{#Row#}]]>
		                </Row>
		                <All>
			                <![CDATA[
				{#Row#}
			]]>
		                </All>
                        </t9349><t10049><If><![CDATA[
							<th width="60">
								{#t10094#}
							</th>
						]]></If></t10049><t10094><If><![CDATA[
									移动推荐
								]]></If><Else><![CDATA[
									移动置顶
								]]></Else></t10094><t10431>
		                <RowSeparator>
			                <![CDATA[]]>
		                </RowSeparator>
		                <ColSeparator>
			                <![CDATA[]]>
		                </ColSeparator>
		                <RecordSeparator>
			                <![CDATA[]]>
		                </RecordSeparator>
		                <Record>
			                <![CDATA[
							<tr>
								<td><input type="checkbox" name="Sel" value="{#InnerID#}" /></td>
								{#t10595#}
								<td class="{#ContentLang#}Font"><a href="edit.aspx?Lang={#ContentLang#}&amp;ID={#InnerID#}">{#Name#}</a></td>
								<td>{#CreateTime#}</td>
								<td>{#HitCount#}</td>
								<td>{#Up#}</td>
								<td>{#Down#}</td>
							</tr>
						{#Record#}]]>
		                </Record>
		                <Col MaxRecord="0">
			                <![CDATA[{#Record#}{#Col#}]]>
		                </Col>
		                <Row MaxCol="0">
			                <![CDATA[{#Col#}{#Row#}]]>
		                </Row>
		                <All>
			                <![CDATA[
						{#Row#}
					]]>
		                </All>
                        </t10431><t10595><If><![CDATA[
									<td><img name="{#Name#}" sort="{#InnerID#}" class="Move" src="{#t10681#}move.gif" /></td>
								]]></If></t10595><t11077>
		                <FirstPage>
			                <Yes>
				                <![CDATA[
				                
							<img src="{#t11389#}pagination/first_page_off.gif"/>
							<img src="{#t11454#}pagination/previous_page_off.gif"/>
						
				                ]]>
			                </Yes>
			                <No>
				                <![CDATA[
				                
							<a href="javascript:Go(1)"><img src="{#t11589#}pagination/first_page_on.gif"/></a>
							<a href="javascript:Go({#t11670#} - 1)" id="PrevPage"><img src="{#t11716#}pagination/previous_page_on.gif"/></a>
						
				                ]]>
			                </No>
		                </FirstPage>
		                <CurrentPage>
			                <Yes>
				                <![CDATA[
				                
							<span class="Current">{#t11902#}</span>						
						
				                ]]>
			                </Yes>
			                <No>
				                <![CDATA[
				                
							<a href="javascript:Go({#t11997#})">[{#t12011#}]</a>
						
				                ]]>
			                </No>
		                </CurrentPage>
		                <LastPage>
			                <Yes>
				                <![CDATA[
				                
							<img src="{#t12137#}pagination/next_page_off.gif"/>
							<img src="{#t12201#}pagination/last_page_off.gif"/>
						
				                ]]>
			                </Yes>
			                <No>
				                <![CDATA[
				                
							<a href="javascript:Go({#t12318#} + 1)" id="NextPage"><img src="{#t12364#}pagination/next_page_on.gif"/></a>
							<a href="javascript:Go({#t12444#})"><img src="{#t12471#}pagination/last_page_on.gif"/></a>
						
				                ]]>
			                </No>
		                </LastPage>
		                <All>
			                <![CDATA[
			                
			<div class="Pagination">
				<div class="Left">共 {#t11215#} 条 当前显示第 {#t11240#} 页 第 {#t11260#}-{#t11276#} 条 </div>
				<div class="Right">
					{#FirstPage#}
					{#CurrentPage#}
					{#LastPage#}
				</div>
			</div>
		
			                ]]>
		                </All>
                        </t11077></Template></Data></asp:XmlDataSource></body>
</html>