<%@ Page  CodeFile="/cache/template/System/IlgharCMS.AdModule/position/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" />
<style type="text/css">
.Thumbnail{max-width:200px;max-height:40px;_width:expression(this.scrollWidth > 200 ? "200px" : true);_height:40px}
</style>

<script type="text/javascript">
var _page = "position_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_recover = "还原";
var _lang_delete = "删除";
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="../ad/search.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="IsAvailable">
			<option value="">是否空缺</option>
			<option value="false">已满</option>
			<option value="true">空缺</option>
		</select>
		<select id="TypeID" class="<%=ContentLang%>Font">
			<option value="">所有类型</option>
			<%=t4563%>
		</select>
	</div>
	<div class="ToolBar">
		<select id="Sort">
			<option value="1">编号↓</option>
			<option value="2">编号↑</option>
		</select>
		<input id="Keyword" class="Text <%=ContentLang%>Font" />
		<select id="KeywordType">
			<option value="Name">名称</option>
			<option value="Guid">Guid</option>
		</select>
		<input type="button" id="Search" value="搜索" class="Button" />
		<input type="button" id="SelectAll" value="全选" class="Button" />
		<input type="button" id="ReverseSelect" value="反选" class="Button" />
		<span id="ExtraButton"></span>
	</div>
	<div id="List">
		<table border="0" cellpadding="4" cellspacing="1" class="ListTable">
			<thead>
				<tr>
					<th width="40">选择</th>
					<th width="40">编号</th>
					<th width="200">示意图</th>
					<th>名称</th>
					<th width="60">广告列表</th>
					<th width="60">添加广告</th>
				</tr>
			</thead>
			<tbody>
				<%=t5601%>
			</tbody>
		</table>
		<%=t6502%>
	</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%>global.js"></script>
<script type="text/javascript" src="<%=JsPath%>ad.js"></script>
<asp:XmlDataSource ID="XmlData" runat="server"><Data><Template><t4563>
		                <RowSeparator>
			                <![CDATA[]]>
		                </RowSeparator>
		                <ColSeparator>
			                <![CDATA[]]>
		                </ColSeparator>
		                <RecordSeparator>
			                <![CDATA[]]>
		                </RecordSeparator>
		                <Record>
			                <![CDATA[
					<option value="{#ID#}">{#Name#}</option>
				{#Record#}]]>
		                </Record>
		                <Col MaxRecord="0">
			                <![CDATA[{#Record#}{#Col#}]]>
		                </Col>
		                <Row MaxCol="0">
			                <![CDATA[{#Col#}{#Row#}]]>
		                </Row>
		                <All>
			                <![CDATA[
				{#Row#}
			]]>
		                </All>
                        </t4563><t5601>
		                <RowSeparator>
			                <![CDATA[]]>
		                </RowSeparator>
		                <ColSeparator>
			                <![CDATA[]]>
		                </ColSeparator>
		                <RecordSeparator>
			                <![CDATA[]]>
		                </RecordSeparator>
		                <Record>
			                <![CDATA[
						<tr id="Row{#InnerID#}">
							<td><input type="checkbox" name="Sel" value="{#InnerID#}" /></td>
							<td>{#InnerID#}</td>
							<td>
								{#t5911#}
							</td>
							<td class="{#ContentLang#}Font"><a href="edit.aspx?Lang={#ContentLang#}&amp;ID={#InnerID#}">{#Name#}</a></td>
							<td><a href="../ad/list.aspx?Lang={#ContentLang#}&amp;PositionID={#InnerID#}">广告列表</a></td>
							<td><a href="../ad/add.aspx?Lang={#ContentLang#}&amp;PositionID={#InnerID#}">添加广告</a></td>
						</tr>
					{#Record#}]]>
		                </Record>
		                <Col MaxRecord="0">
			                <![CDATA[{#Record#}{#Col#}]]>
		                </Col>
		                <Row MaxCol="0">
			                <![CDATA[{#Col#}{#Row#}]]>
		                </Row>
		                <All>
			                <![CDATA[
					{#Row#}
				]]>
		                </All>
                        </t5601><t5911><If><![CDATA[
									<a href="{#SketchMap#}" target="_blank"><img src="{#SketchMap#}" class="Thumbnail" /></a>
								]]></If></t5911><t6502>
		                <FirstPage>
			                <Yes>
				                <![CDATA[
				                
							<img src="{#t6814#}pagination/first_page_off.gif"/>
							<img src="{#t6879#}pagination/previous_page_off.gif"/>
						
				                ]]>
			                </Yes>
			                <No>
				                <![CDATA[
				                
							<a href="javascript:Go(1)"><img src="{#t7014#}pagination/first_page_on.gif"/></a>
							<a href="javascript:Go({#t7095#} - 1)" id="PrevPage"><img src="{#t7141#}pagination/previous_page_on.gif"/></a>
						
				                ]]>
			                </No>
		                </FirstPage>
		                <CurrentPage>
			                <Yes>
				                <![CDATA[
				                
							<span class="Current">{#t7327#}</span>						
						
				                ]]>
			                </Yes>
			                <No>
				                <![CDATA[
				                
							<a href="javascript:Go({#t7422#})">[{#t7436#}]</a>
						
				                ]]>
			                </No>
		                </CurrentPage>
		                <LastPage>
			                <Yes>
				                <![CDATA[
				                
							<img src="{#t7562#}pagination/next_page_off.gif"/>
							<img src="{#t7626#}pagination/last_page_off.gif"/>
						
				                ]]>
			                </Yes>
			                <No>
				                <![CDATA[
				                
							<a href="javascript:Go({#t7743#} + 1)" id="NextPage"><img src="{#t7789#}pagination/next_page_on.gif"/></a>
							<a href="javascript:Go({#t7869#})"><img src="{#t7896#}pagination/last_page_on.gif"/></a>
						
				                ]]>
			                </No>
		                </LastPage>
		                <All>
			                <![CDATA[
			                
			<div class="Pagination">
				<div class="Left">共 {#t6640#} 条 当前显示第 {#t6665#} 页 第 {#t6685#}-{#t6701#} 条 </div>
				<div class="Right">
					{#FirstPage#}
					{#CurrentPage#}
					{#LastPage#}
				</div>
			</div>
		
			                ]]>
		                </All>
                        </t6502></Template></Data></asp:XmlDataSource></body>
</html>