<%@ Page  CodeFile="/cache/template/System/IlgharCMS.GuestBookModule/guest_book/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="false" Eot="true" runat="server" />
<style type="text/css">
.Title .Middle{text-align:right;padding-right:10px}
TABLE .Left DIV{text-align:left}
.Subject{float:left;font-weight:bold}
.Time{float:right}
.Reply{color:#900}
</style>

<script type="text/javascript">
var _page = "guestbook_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_no_selection = "没有选择任何对象！";
var _lang_check = "审核";
var _lang_uncheck = "取消审核";
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">
	<div class="ToolBar">
		<select id="IsChecked">
			<option value="*">是否审核</option>
			<%
string t3985 = String.Empty;
if (((Request.Cookies["IsChecked"]!=null)&&(Request.Cookies["IsChecked"].Value=="false")))
{t3985 = _xmlTemplate.SelectSingleNode("/" + "/t3985/If").InnerText;}
else
{t3985 = _xmlTemplate.SelectSingleNode("/" + "/t3985/Else").InnerText;}
%><%=t3985%>
		</select>
		<select id="CategoryID" class="<%=ContentLang%>Font">
			<option value="">所有类别</option>
			<option value="0">未指定类别</option>
			<%=t4449%>
		</select>
		<select id="Sort">
			<option value="1">日期↓</option>
			<option value="2">日期↑</option>
		</select>
		<input id="Keyword" class="Text <%=ContentLang%>Font" />
		<select id="KeywordType">
			<option value="Subject">主题</option>
			<option value="Content">内容</option>
			<option value="Name">留言人</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" />
		<input type="button" id="Delete" value="删除" class="Button" />
		<span id="ExtraButton"></span>
	</div>
</div>
<div id="RecordList" class="Block">
	<%=t5700%>
	<%=t7424%>
</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%>guestbook.js"></script>
<asp:XmlDataSource ID="XmlData" runat="server"><Data><Template><t3985><If><![CDATA[
				<option value="false" selected="selected">未审核</option>
				<option value="true">已审核</option>
			]]></If><Else><![CDATA[
				<option value="false">未审核</option>
				<option value="true" selected="selected">已审核</option>
			]]></Else></t3985><t4449>
		                <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[
					<option value="{#ID#}">{#Control#}{#Name#}</option>
					{#ChildRecords#}
				{#Record#}]]>
		                </Record>
		                <Col MaxRecord="0">
			                <![CDATA[{#Record#}{#Col#}]]>
		                </Col>
		                <Row MaxCol="0">
			                <![CDATA[{#Col#}{#Row#}]]>
		                </Row>
		                <All>
			                <![CDATA[
				
				{#Row#}
			]]>
		                </All>
                        </t4449><t5700>
		                <RowSeparator>
			                <![CDATA[]]>
		                </RowSeparator>
		                <ColSeparator>
			                <![CDATA[]]>
		                </ColSeparator>
		                <RecordSeparator>
			                <![CDATA[]]>
		                </RecordSeparator>
		                <Record>
			                <![CDATA[
			<div id="Record{#InnerID#}">
				<ul class="Title">
					<li class="Left"></li>
					<li class="Middle"><a href="edit.aspx?Lang={#ContentLang#}&amp;ID={#InnerID#}">编辑</a><input type="checkbox" name="Sel" value="{#InnerID#}" /></li>
					<li class="Right"></li>
				</ul>
				<table align="center" cellpadding="4" cellspacing="1">
					<tr>
						<td rowspan="3" class="Left">
							<img src="{#Head#}" /><br />
							<span class="{#ContentLang#}Font">{#Name#}</span>
							<div>
								<strong>QQ：</strong>{#QQ#}<br />
								<strong>Email：</strong>{#Email#}<br />
								<strong>主页：</strong>{#HomePage#}<br />
								<strong>IP：</strong>{#IP#}<br />
								<strong>是否保密：</strong>
									{#t6577#}
							</div>
						</td>
						<td>
							<span class="Subject {#ContentLang#}Font"><a href="../../GuestBook/guest_book/edit.aspx?Lang={#ContentLang#}&amp;ID={#InnerID#}">{#HttpUtility.HtmlEncode(Convert.ToString(Subject))#}</a></span>
							<span class="Time">发布于：{#CreateTime#}</span>
						</td>
					</tr>
					<tr>
						<td class="{#ContentLang#}Font">
							{#t7061#}
						</td>
					</tr>
					<tr>
						<td class="Reply {#ContentLang#}Font">
							{#Reply#}
						</td>
					</tr>
				</table>
			</div>
		{#Record#}]]>
		                </Record>
		                <Col MaxRecord="0">
			                <![CDATA[{#Record#}{#Col#}]]>
		                </Col>
		                <Row MaxCol="0">
			                <![CDATA[{#Col#}{#Row#}]]>
		                </Row>
		                <All>
			                <![CDATA[
		{#Row#}
	]]>
		                </All>
                        </t5700><t6577><If><![CDATA[
										是
									]]></If><Else><![CDATA[
										否
									]]></Else></t6577><t7061><If><![CDATA[
								{#Content#}
							]]></If><Else><![CDATA[
								{#t7160#}
							]]></Else></t7061><t7424>
		                <FirstPage>
			                <Yes>
				                <![CDATA[
				                
						<img src="{#t7729#}pagination/first_page_off.gif"/>
						<img src="{#t7793#}pagination/previous_page_off.gif"/>
					
				                ]]>
			                </Yes>
			                <No>
				                <![CDATA[
				                
						<a href="javascript:Go(1)"><img src="{#t7925#}pagination/first_page_on.gif"/></a>
						<a href="javascript:Go({#t8005#} - 1)" id="PrevPage"><img src="{#t8051#}pagination/previous_page_on.gif"/></a>
					
				                ]]>
			                </No>
		                </FirstPage>
		                <CurrentPage>
			                <Yes>
				                <![CDATA[
				                
						<span class="Current">{#t8232#}</span>						
					
				                ]]>
			                </Yes>
			                <No>
				                <![CDATA[
				                
						<a href="javascript:Go({#t8324#})">[{#t8338#}]</a>
					
				                ]]>
			                </No>
		                </CurrentPage>
		                <LastPage>
			                <Yes>
				                <![CDATA[
				                
						<img src="{#t8459#}pagination/next_page_off.gif"/>
						<img src="{#t8522#}pagination/last_page_off.gif"/>
					
				                ]]>
			                </Yes>
			                <No>
				                <![CDATA[
				                
						<a href="javascript:Go({#t8636#} + 1)" id="NextPage"><img src="{#t8682#}pagination/next_page_on.gif"/></a>
						<a href="javascript:Go({#t8761#})"><img src="{#t8788#}pagination/last_page_on.gif"/></a>
					
				                ]]>
			                </No>
		                </LastPage>
		                <All>
			                <![CDATA[
			                
		<div class="Pagination">
			<div class="Left">共 {#t7559#} 条 当前显示第 {#t7584#} 页 第 {#t7604#}-{#t7620#} 条 </div>
			<div class="Right">
				{#FirstPage#}
				{#CurrentPage#}
				{#LastPage#}
			</div>
		</div>
	
			                ]]>
		                </All>
                        </t7424></Template></Data></asp:XmlDataSource></body>
</html>