<%@ page language="C#" autoeventwireup="true" validaterequest="false" CodeFile="default.aspx.cs" Inherits="_Default"%>

<%@ Register Assembly="DotNetTextBox" Namespace="DotNetTextBox" TagPrefix="DNTB" %>
<%@ Register Assembly="NBear.Web" Namespace="WebValidates" TagPrefix="ValidateCode" %>
<%@ Register TagPrefix="anthem" Namespace="Anthem" Assembly="Anthem" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312">
<META NAME="keywords" CONTENT="asp.net,.net,dotnettextbox,开源,项目,微软,技术,technology,code,source,project,ajax,wpf,c#,vb.net,c++,j#,asp.net ajax,anthem.net,orm,mvp,nbear">
<meta name="robots" content="index,follow" />
<meta name="googlebot" content="index,follow" />
<title>Ajax无刷新整合型网站演示系统[Aspxcn.com.cn]</title>
<link href="css/StyleSheet.css" rel="stylesheet" type="text/css" />
<SCRIPT src="css/page.js" type="text/javascript" language="javascript" charset="gb2312"></SCRIPT>
	<script type="text/javascript" src="css/jquery.js"></script>
	<script type="text/javascript" src="css/jquery.dimensions.js"></script>
	<script type="text/javascript" src="css/jquery.positionBy.js"></script>
	<script type="text/javascript" src="css/jquery.bgiframe.js"></script>
	<script type="text/javascript" src="css/jquery.jdMenu.js"></script>
	<link rel="stylesheet" href="css/jquery.jdMenu.css" type="text/css" />
</head>
<body onkeydown="doKeyDown()">
<form id="DefaultPage" runat="server">
<table width="1000" border="0" align="center">
  <tr>
    <td rowspan="2" valign="middle" style="height: 84px; width: 211px;">&nbsp;<a href="http://www.aspxcn.com.cn"><img src="images/logo.gif" width="161" height="44" border="0"></a>
      <table width="213" height="185" border="0" background="images/login.gif">
        <tr>
          <td align="center"  valign="middle"><br /><br />
                  <anthem:Panel ID="loginPanel" AutoUpdateAfterCallBack=true runat=server>
                      <asp:Login ID="Login1" runat="server" Height="155px" Width="175px">                      
                          <LayoutTemplate>
                              <table border="0" cellpadding="1" cellspacing="0" style="border-collapse: collapse; height: 34px;">
                                  <tr>
                                      <td style="height: 157px">
                                          <table border="0" cellpadding="0" style="width: 180px; height: 141px">
                                              <tr>
                                                  <td align="right" style="width: 51px; height: 40px;">
                                                      用户名：</td>
                                                  <td align="left" valign="bottom" style="height: 40px">
                                                      <anthem:TextBox ID="UserName" AutoUpdateAfterCallBack=true runat="server" Height="20px" Width="120px" TabIndex="1" MaxLength="18"></anthem:TextBox>
                                                      <anthem:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                                          ErrorMessage="必须填写“用户名”。" ToolTip="必须填写“用户名”。" ValidationGroup="ctl188$Login1" SetFocusOnError="True">*用户名不能为空</anthem:RequiredFieldValidator>
                                                  </td>
                                              </tr>
                                              <tr>
                                                  <td align="right" style="width: 51px" valign="middle">
                                                      密  码：</td>
                                                  <td align="left" valign="bottom">
                                                      <anthem:TextBox ID="Password" AutoUpdateAfterCallBack=true runat="server" Height="20px" TextMode="Password" Width="120px" TabIndex="2" MaxLength="20"></anthem:TextBox>
                                                      <anthem:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                                          ErrorMessage="必须填写“密码”。"  ToolTip="必须填写“密码”。" ValidationGroup="ctl188$Login1" SetFocusOnError="True">*密码不能为空</anthem:RequiredFieldValidator>
                                                  </td>
                                              </tr>
                                              <tr>
                                                  <td colspan="2" height="25">
                                                      <asp:CheckBox ID="RememberMe" runat="server" Text="下次记住我。" BorderWidth="0px"/>
                                                      &nbsp; &nbsp;
                                                      <anthem:imagebutton ID="LoginButton" EnabledDuringCallBack=false AutoUpdateAfterCallBack=true runat="server" ImageUrl="~/images/login2.gif" ValidationGroup="ctl188$Login1" OnClick="LoginButton_Click" TabIndex="3"/></td>
                                              </tr>
                                              <tr>
                                                  <td align="center" colspan="2" style="color: red;" height="25px">
                                                      <anthem:Label ID="FailureText" runat="server" EnableViewState="False" UpdateAfterCallBack="True"></anthem:Label>
                                                     
                                                  </td>
                                              </tr>
                                          </table>
                                      </td>
                                  </tr>
                              </table>
                          </LayoutTemplate>
                      </asp:Login>
                      </anthem:Panel>
                      <anthem:panel ID="userInfoPanel" AutoUpdateAfterCallBack=true  Visible=false  runat=server>
                      <table height=155 width=185>
                      <tr><td valign="top">
                          <br />
                          <img border="0" src="images/p.gif" />&nbsp;
                          用户名：<asp:Literal ID="ViewUserName" runat="server"></asp:Literal><br />
                          <br />
                <img border="0" src="images/p.gif" />
                [ <asp:linkbutton ID="FavBtn" runat="server" OnCommand="FavBtn_Command" EnableViewState="False">收藏夹</asp:linkbutton> ]<br />
                          <br />
                          <img border="0" src="images/p.gif" />
        [ <asp:linkbutton ID="MsgBtn" runat="server" OnClientClick="showModalDialog('msg.aspx','msg','dialogWidth:750pt;dialogHeight:480pt;status:0');" EnableViewState="False" >短消息</asp:linkbutton> ]<br />
                          <br />
                          <img border="0" src="images/p.gif" />
                          [
                          <asp:linkbutton ID="loginOut" runat="server" OnClick="loginOut_Click" EnableViewState="False">注  销</asp:linkbutton>
                          ]<br />
                              <br />
                              <center>
                                  [ <asp:LinkButton ID="User_topic_list" runat=server text="您发表的主题列表" OnClick="User_topic_list_Click"></asp:LinkButton> ]</center></td></tr>
                      </table>
                      </anthem:panel>
          </td>
        </tr>
</table>
      </td>
<td valign="top" rowspan="2">

        <table width="774" height="30" border="0" background="images/menu.gif">
        
        <tr>
          <td style="width: 132px" >&nbsp;<anthem:LinkButton ID="getMsgBtn" runat="server" OnClick="getMsgBtn_Click"
            Style="visibility: hidden" Text="获取消息" /></td>
          <td width="600">
          <div style="border:1px solid #18a2ca;"><asp:PlaceHolder ID="Menulist" runat="server"></asp:PlaceHolder> </div>
          </td>
        </tr>
      </table>       
      <br />
    <asp:AdRotator ID="banner" AdvertisementFile="css/ad.xml" runat="server" EnableViewState="False" Target="_blank" />
            <table border="0" width="100%">
                <tr>
                    <td style="height: 30px;" colspan="2">
                        <br />
                        &nbsp;<img border="0" src="images/p.gif" />&nbsp;<anthem:linkbutton ID="regUser" AutoUpdateAfterCallBack=true  OnClientClick="showModalDialog('reg.aspx','reg','dialogWidth:250pt;dialogHeight:250pt;status:0');" Text="注册新用户" runat=server></anthem:linkbutton>&nbsp;&nbsp;&nbsp;<img border="0" src="images/p.gif" />&nbsp;<anthem:linkbutton ID="FindPass" AutoUpdateAfterCallBack=true runat= server Text="忘记密码" OnClientClick="showModalDialog('findPassword.aspx','find','dialogWidth:250pt;dialogHeight:250pt;status:0');"></anthem:linkbutton>&nbsp;&nbsp;&nbsp;<img border="0" src="images/p.gif" />&nbsp;<anthem:linkbutton ID="publish" runat="server" PreCallBackFunction="focusInput" AutoUpdateAfterCallBack=true Text="发表主题" />&nbsp;
                        <span>
        <img border="0" src="images/p.gif" /><span style="color: #000000">&nbsp;[您的浏览器：[</span><asp:Label ID="Browers" runat="server"></asp:Label>]&nbsp;
                            浏览器语言：[<asp:Label ID="LanguageName" runat="server"></asp:Label>]&nbsp;&nbsp; 您的IP地址：[<asp:Label ID="UserIP" runat="server" /></span>]</td>
                    <td colspan="1">
                        <br /><anthem:Panel ID="ToPpanel" AutoUpdateAfterCallBack=true runat=server>
                    <TABLE style="BORDER-RIGHT: #6595d6 1px solid; BORDER-TOP: #6595d6 1px solid; BORDER-LEFT: #6595d6 1px solid; BORDER-BOTTOM: #6595d6 1px solid; BACKGROUND-COLOR: #d6e0ef" 
cellSpacing=1 cellPadding=0><TBODY><TR><TD 
style="FONT-SIZE: 10px; COLOR: #ffffff; FONT-FAMILY: tahoma,arial; BACKGROUND-COLOR: #6595d6">&nbsp;XML&nbsp;</TD><TD 
style="FONT-SIZE: 10px; LINE-HEIGHT: normal; FONT-FAMILY: tahoma,arial; BACKGROUND-COLOR: #ffffff">&nbsp; <A title="订阅正在浏览平台的最新15条主题" 
href="rss.aspx?catalog=<%=catalogName.CommandArgument%>&pageSize=15" target="_blank">RSS 2.0</A>&nbsp;</TD></TR></TBODY></TABLE></anthem:Panel>
                    </td>
                </tr>
            </table>
    </td>
  </tr>
  <tr>
  </tr>
</table>
<table width="1000" border="0" align="center">
  <tr>
    <td align="center" valign="middle" style="width: 996px;"><br /><fieldset><legend>
        <img src="images/p2.gif" align="absMiddle" />&nbsp;导航
        /
        <anthem:linkbutton ID="catalogName" AutoUpdateAfterCallBack=true runat="server" OnCommand="catalogName_Command"/>
        /
        <anthem:linkbutton ID="className" AutoUpdateAfterCallBack=true runat="server" />&nbsp;
        <anthem:linkbutton ID="index1" Text="[首页]" EnabledDuringCallBack=false AutoUpdateAfterCallBack=true runat=server OnClick="index_Click" EnableViewState="False" />&nbsp;<anthem:linkbutton ID="prv1" Text="[上页]" EnabledDuringCallBack=false AutoUpdateAfterCallBack=true runat=server OnClick="prv_Click" EnableViewState="False"/>&nbsp;<anthem:linkbutton ID="next1" Text="[下页]" EnabledDuringCallBack=false AutoUpdateAfterCallBack=true runat=server OnClick="next_Click" EnableViewState="False" />&nbsp;<anthem:linkbutton ID="last1" Text="[尾页]" EnabledDuringCallBack=false AutoUpdateAfterCallBack=true runat=server OnClick="last_Click" EnableViewState="False" />&nbsp;<img src="images/p2.gif" align="absMiddle" />&nbsp;&nbsp;<anthem:linkbutton ID="showListText" AutoUpdateAfterCallBack=true runat="server" EnabledDuringCallBack=false Text="[隐藏回复]" Visible="False" OnClick="showListText_Click" />&nbsp;<anthem:linkbutton ID="returnlist" runat="server" AutoUpdateAfterCallBack=true EnabledDuringCallBack=false Text="[返回列表]" Visible="False" OnCommand="Return_List"/></legend><anthem:GridView ID="ListGrid" EnabledDuringCallBack=false AutoUpdateAfterCallBack=true AutoGenerateColumns="False" DataKeyNames="ListId" runat="server" Width="100%" CellPadding="5" AllowSorting="True" OnSorting="ListGrid_Sorting" BorderWidth="0px" BorderStyle="None" ShowFooter="True" OnRowDeleting="DeleteBtn_Click" OnRowDataBound="ListGrid_RowDataBound" >
                                <Columns>
                                    <asp:TemplateField HeaderText="状 态">
                                        <ItemTemplate>
                                            <asp:image ID="showStatus" ImageUrl="<%# ShowStatusImg(StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem)._Date,StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).IsTop,StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).Reply)%>" runat=server/>
                                        </ItemTemplate>
                                        <ItemStyle Width="50px" HorizontalAlign="Center"/>
                                    </asp:TemplateField>
                                    
                                    <asp:TemplateField HeaderText="主 题" SortExpression="_Title" >
                                        <ItemTemplate>
                                            <asp:linkbutton ID="ListTitle" CommandArgument='<%# StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).ListId%>' Text="<%# Server.HtmlEncode(StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem)._Title) %>" ToolTip="点击打开主题"  runat="server" OnCommand="ListTitle_Command" />
                                        </ItemTemplate>
                                        <ItemStyle Height="25px" />
                                        <FooterTemplate><span style=" color:White">小提示:点击列表的标题名称就会按该名称来进行升降序排列所有主题。</span></FooterTemplate>
                                    </asp:TemplateField>
                                    
                                    <asp:TemplateField HeaderText="作 者" SortExpression="UserName">
                                        <ItemTemplate>
                                            <asp:linkbutton ID="UserName" Text='<%# Server.HtmlEncode(StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).UserName) %>' OnClientClick=<%#"showModalDialog('userInfo.aspx?user="+Server.UrlEncode(StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).UserName)+"&mail="+Server.UrlEncode(StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).Email)+"','info','dialogWidth:300pt;dialogHeight:250pt;status:0');"%> ToolTip="点击查看用户信息" runat="server" />
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center" Width="120px" />
                                    </asp:TemplateField>
                                    
                                     <asp:BoundField DataField="Reply" HtmlEncode="False"
                                        HeaderText="回 复" ReadOnly="True" SortExpression="Reply">
                                         <ItemStyle Width="50px" HorizontalAlign="Center" />
                                    </asp:BoundField>
                                    
                                    <asp:BoundField DataField="Hits" HtmlEncode="False"
                                        HeaderText="人 气" ReadOnly="True" SortExpression="Hits" >
                                        <ItemStyle Width="50px" HorizontalAlign="Center" />
                                    </asp:BoundField>
                                    
                                    <asp:BoundField DataField="_Date" DataFormatString="{0:yyyy/MM/dd}" HtmlEncode="False"
                                        HeaderText="发表日期" ReadOnly="True" SortExpression="_Date">
                                        <ItemStyle HorizontalAlign="Center" Width="80px" />
                                    </asp:BoundField>
                                    <asp:TemplateField HeaderText="操 作" >
                                        <ItemTemplate>
                                        <% if (!loginPanel.Visible){ %>[ <anthem:linkbutton ID="favorite" Text="收藏" CommandArgument='<%# StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).ListId %>' runat="server" PreCallBackFunction="popWinFav" OnCommand="favorite_Command" />    <anthem:linkbutton ID="DeleteBtn" runat="server" Text="删除" PreCallBackFunction="popWinDel" CommandName="Delete" /> ]
                                        <%} %><%else{ %>[<a style="cursor: hand" onclick="Login1_UserName.focus();">请先登录</a>]<%} %>
                                        </ItemTemplate>
                                        <ItemStyle HorizontalAlign="Center" Width="110px" />
                                    </asp:TemplateField>
                                </Columns>
                                 <EmptyDataTemplate>
                                 <br />
                                    <div align="center">**没有匹配的显示数据**</div>
                                 <br />
                                </EmptyDataTemplate>
                                <FooterStyle BackColor="#507CD1"/>
                                <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                <RowStyle BackColor="#EFF3FB" />
                                <AlternatingRowStyle BackColor="White" />
                            </anthem:GridView>
                             <anthem:Repeater id="ShowTopic" AutoUpdateAfterCallBack=true Visible=false runat="server">
<ItemTemplate>
<br />
<table width="100%" bgcolor=#EFF3FB style="border:1px ; border-style:dashed ; border-color:#CCCCCC" >
  <tr>
    <td width="70%" style="font-size:12pt"><img src="images/topic.gif" /><b>主题:</b><span id="showListTitle"><%# Server.HtmlEncode(StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem)._Title) %></span></td>
    <td width="30%" align=right><img border="0" src="images/p.gif" /> 作者：<asp:linkbutton ID="postUser" Text='<%# StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).UserName %>' OnClientClick=<%# "showModalDialog('userInfo.aspx?user="+Server.UrlEncode(StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).UserName)+"&mail="+Server.UrlEncode(StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).Email)+"','info','dialogWidth:300pt;dialogHeight:250pt;status:0');"%> ToolTip="点击查看用户信息" runat="server" />&nbsp; 关键字：<asp:linkbutton ID="keyWord" Text='<%# StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).Catalog1.Name %>' CommandArgument='<%# StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).Catalog.ToString() %>' CommandName='<%# StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).Catalog1.Name %>' OnCommand="Select_Catalog" runat=server></asp:linkbutton>&nbsp;</td>
  </tr>
</table>
<br />
<table width="100%" style="TABLE-LAYOUT:fixed;WORD-WRAP:break-word" border="0px">
  <tr>
    <td style="font-size:13px;FONT-FAMILY:Verdana,Arial,sans-serif;LINE-HEIGHT:150%;word-break:break-all"><span id="TopicContent"><%#ubb.UBB(Server.HtmlDecode(StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem)._Content))%></span><br /></td>
 </tr>
 <tr><td align=right><a onclick="javascript:insertTitle()" style="cursor: hand">回复</a> | <a onclick="javascript:insertQuote()" style="cursor: hand">引用</a><asp:Label runat=server Visible=<%# showEditCheck(StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).UserName)%> ID="showUserEdit"> | <anthem:linkbutton ID="TopicEdit" Text="编辑"  PreCallBackFunction="popWinEdit" OnCommand="TopicEdit_Command" CommandArgument='<%#StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).ListId%>' runat=server></anthem:linkbutton> | <anthem:LinkButton ID="delTopic" PreCallBackFunction="popWinDel" CommandArgument='<%#StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).ListId%>' OnCommand="delTopic_Command" Text="删除" runat=server /><%if (Request.Cookies["AspxCnAdmin"] != null) {%> | <anthem:LinkButton runat= server ID="GoTop" OnCommand="GoTop_command" CommandArgument='<%#StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).ListId%>' Text='<%#StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).IsTop==false ? "置顶" : "解除置顶"%>'/> | <anthem:LinkButton runat= server ID="recommend" OnCommand="recommend_command" CommandArgument='<%#StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem).ListId%>' Text="精华"/><%} %></asp:Label> | <span>发表日期：<%# StrongTyped<Aspxcn.Entities.Lists>(Container.DataItem)._Date.ToString("yy/MM/dd HH:MM")%></span></td></tr>
</table>
<br />
</ItemTemplate>
</anthem:Repeater>
<anthem:Repeater id="showReply" AutoUpdateAfterCallBack=true Visible=false runat="server">
    <ItemTemplate>
        <table width="100%" bgcolor=#EFF3FB style=" border:1px ; border-style:dashed ; border-color:#CCCCCC" >
  <tr>
    <td width="70%" style="font-size:12pt"><img src="images/reply.gif" /><span id="TopicRelpyTitle" runat=server><%#  string.IsNullOrEmpty(Server.HtmlEncode(StrongTyped<Aspxcn.Entities.Reply>(Container.DataItem)._Title)) ? "RE:" : Server.HtmlEncode(StrongTyped<Aspxcn.Entities.Reply>(Container.DataItem)._Title)%></span></td>
    <td width="30%" align=right><img border="0" src="images/p.gif" /> 回复者：<asp:linkbutton ID="replyUser" Text='<%# StrongTyped<Aspxcn.Entities.Reply>(Container.DataItem).UserName %>' OnClientClick=<%# "showModalDialog('userInfo.aspx?user="+Server.UrlEncode(StrongTyped<Aspxcn.Entities.Reply>(Container.DataItem).UserName)+"&mail="+Server.UrlEncode(StrongTyped<Aspxcn.Entities.Reply>(Container.DataItem).Email)+"','info','dialogWidth:300pt;dialogHeight:250pt;status:0');"%>  ToolTip="点击查看用户信息" runat="server" />&nbsp;<a href="#" ><img src="images/top.gif" alt="返回顶端" border="0" /></a></td>
  </tr>
</table>
<br />
<table width="100%" style="TABLE-LAYOUT:fixed;WORD-WRAP:break-word" border="0px" >
  <tr>
    <td style="font-size:13px;FONT-FAMILY:Verdana,Arial,sans-serif;LINE-HEIGHT:150%;word-break:break-all"><span id="TopicRelpy" runat=server><%# ubb.UBB(Server.HtmlDecode(StrongTyped<Aspxcn.Entities.Reply>(Container.DataItem)._Content))%></span><br /></td>
    </tr>
    <tr><td align=right><a id="replyBtn" onclick="javascript:insertReplyTitle(this.id)" style="cursor: hand" runat=server>回复</a> | <a id="refBtn" onclick="javascript:insertReplyQuote(this.id)" style="cursor: hand" runat=server>引用</a><asp:Label runat=server Visible=<%# showEditCheck(StrongTyped<Aspxcn.Entities.Reply>(Container.DataItem).UserName)%> ID="showUserEdit2"> | <anthem:linkbutton ID="ReplyEdit" Text="编辑" PreCallBackFunction="popWinEdit" OnCommand="ReplyEdit_Command" CommandArgument='<%#StrongTyped<Aspxcn.Entities.Reply>(Container.DataItem).id%>' runat=server></anthem:linkbutton> | <anthem:LinkButton ID="delReply" AutoUpdateAfterCallBack=true PreCallBackFunction="popWinDel" CommandArgument='<%#StrongTyped<Aspxcn.Entities.Reply>(Container.DataItem).id%>' OnCommand="delReply_Command" Text="删除" runat=server /></asp:Label> | 回复日期：<span><%# StrongTyped<Aspxcn.Entities.Reply>(Container.DataItem)._DateTime.ToString("yy/MM/dd HH:MM")%></span></td></tr>
</table>
<br />
</ItemTemplate>
</anthem:Repeater>
<anthem:Label ID="showbottom" AutoUpdateAfterCallBack=true Visible=false runat=server><div align=right><hr style="border-style:dashed ; border-color:#CCCCCC" size=1px /> >> <a onclick="Return_Click()" style="cursor: hand">返回列表</a> &gt;&gt; <a href="#" >返回顶端</a>&nbsp;</div></anthem:Label>
</fieldset>
</td>
</tr>
</table>
<table width="1000" border="0" align="center">
          <tr>
            <td><fieldset><LEGEND>[导航栏]</LEGEND>
                    <table width="970px" align=center>
            <tr>
            <td align=left style="width: 302px; height: 26px;"><img src="images/search.png" align="absMiddle" />&nbsp;<anthem:DropDownList ID="searchType" AutoUpdateAfterCallBack=true runat="server">
                    <items><asp:ListItem Value="1">主题</asp:ListItem>
                    <asp:ListItem Value="2">作者</asp:ListItem></items>
                </anthem:DropDownList>&nbsp;<anthem:TextBox ID="SearchText" EnableViewState=false AutoUpdateAfterCallBack=true Width="150px" runat="server" MaxLength="20" Height="20px" />&nbsp;<anthem:button ID="SearchBtn" EnabledDuringCallBack=false AutoUpdateAfterCallBack=true Text="搜 索"  CommandName="搜索结果" OnCommand="Search_Command" runat="server" Height="20px" Width="52px"/></td>              
            <td align=right style="width: 344px; height: 26px;">
    <anthem:button ID="index" Text=" 首 页 " EnabledDuringCallBack=false style="cursor: hand" AutoUpdateAfterCallBack=true runat=server OnClick="index_Click" BorderStyle="Dashed" EnableViewState="False"/>&nbsp;
    <anthem:button ID="prv" Text=" 上一页 " EnabledDuringCallBack=false style="cursor: hand" AutoUpdateAfterCallBack=true runat=server OnClick="prv_Click" BorderStyle="Dashed" EnableViewState="False" />&nbsp;
    <anthem:button ID="next" Text=" 下一页 " EnabledDuringCallBack=false style="cursor: hand" AutoUpdateAfterCallBack=true runat=server OnClick="next_Click" BorderStyle="Dashed" EnableViewState="False" />&nbsp;
    <anthem:button ID="last" Text=" 尾 页 " EnabledDuringCallBack=false style="cursor: hand" AutoUpdateAfterCallBack=true runat=server OnClick="last_Click" BorderStyle="Dashed" EnableViewState="False" /></td>
       <td align="center" style="height: 26px">
           跳转到
           <anthem:TextBox Width=30px Height=20px ID="jump" AutoUpdateAfterCallBack=true EnableViewState=false runat=server Text="1" MaxLength="5" Wrap="False" />&nbsp;<anthem:button ID="GO" EnabledDuringCallBack=false AutoUpdateAfterCallBack=true Text="GO" runat=server OnClick="GO_Click" Height="20px" />&nbsp;
           [第<anthem:Label ID=curPage Text="1" AutoUpdateAfterCallBack=true  runat=server ForeColor="#C00000" />页/共<anthem:Label ID="maxPage" Text="1" AutoUpdateAfterCallBack=true  runat=server ForeColor="#C00000" />页/总<anthem:Label ID="topicCount" AutoUpdateAfterCallBack=true Text="0" runat=server ForeColor="#C00000" />条]</td>
        </tr>
        </table>
        </fieldset>
        </td>
        </tr>
        </table>
        <table width="1000" border="0" align="center">
  <tr>
    <td align="left" valign="top"><fieldset style="text-align: center"><legend align=right>[编辑栏]</legend>
                <table>
                    <tr>
                        <td style="width: 687px" valign="top">
            <anthem:panel ID="guestPost" AutoUpdateAfterCallBack=true runat=server>
                昵&nbsp; 称：<asp:TextBox ID="GuestName" runat="server" EnableViewState=false Height="20px" MaxLength="12" Width="157px">匿名</asp:TextBox>
                访客可回复主题或在交流平台发表主题。&nbsp;<anthem:CustomValidator ID="CustomValidator1" runat="server" ClientValidationFunction="CheckNameLength" ControlToValidate="GuestName" Display="Dynamic" SetFocusOnError=true ErrorMessage="*超出12个字符或6个汉字的限制!" ValidationGroup="post"></anthem:CustomValidator><br />
                <br />
                E-mail：<asp:TextBox ID="guestEmail" EnableViewState=false runat="server" Height="20px" MaxLength="50" Width="157px"></asp:TextBox>&nbsp;<anthem:RegularExpressionValidator ID="emailValidator" runat="server" ControlToValidate="guestEmail"
                ErrorMessage="*Email格式有误，请重新输入!" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" SetFocusOnError="True" ValidationGroup="post"></anthem:RegularExpressionValidator><br />
                验证码：<asp:TextBox ID="imageValidator" runat="server" Height="20px" MaxLength="5" Width="72px" />&nbsp;<ValidateCode:SerialNumberValidator ID="SerialNumberValidator1"  MinCharCount=5 MaxCharCount=5 runat="server" CharType=NumberOnly /> [<asp:LinkButton ID="changeImg" Text="更换验证码" OnClick="changeImg_Click" runat=server />]
                <anthem:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="imageValidator" ErrorMessage="*请输入右侧图片中的验证码!" Display="Dynamic" ValidationGroup="post" SetFocusOnError="True" />
            </anthem:panel><br />
            标&nbsp; 题：<anthem:TextBox ID="userTitle" AutoUpdateAfterCallBack=true runat="server" Width="365px" Height="20px" MaxLength="70"></anthem:TextBox>
                            <anthem:RequiredFieldValidator ID="userTitleEmptyCheck" runat="server" AutoUpdateAfterCallBack=true ControlToValidate="userTitle" ErrorMessage="*标题不能为空!" Display="Dynamic" ValidationGroup="post" SetFocusOnError="True">*标题不能为空!</anthem:RequiredFieldValidator><anthem:CustomValidator ID="userTitleStringCheck" runat="server" ClientValidationFunction="CheckTitleLength"
                        ControlToValidate="userTitle" Display="Dynamic" ErrorMessage="*超出70个字符或35个汉字的限制!"
                        ValidationGroup="post"></anthem:CustomValidator><br /><br />
                            网站主题：<anthem:DropDownList ID="userCatalogList" AutoUpdateAfterCallBack=true runat="server" Width="86px" AutoCallBack="True" OnSelectedIndexChanged="userCatalogList_SelectedIndexChanged"></anthem:DropDownList>&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; 主题分类：
                <anthem:DropDownList ID="userClassList" AutoUpdateAfterCallBack=true runat="server" Width="88px" AutoCallBack="True">
                </anthem:DropDownList>
                            <br />
                            <br />
        <img src="images/status_new.gif" align="absBottom" />：3天内的主题&nbsp;
        <img src="images/status_normal.gif" align="absBottom" />：3-30天里的主题&nbsp;
        <img src="images/status_old.gif" align="absBottom" />：30天前的主题&nbsp;<br />
                            <br />
        <img src="images/status_top.gif" align="absBottom" />：置顶的主题&nbsp;&nbsp;
        <img src="images/status_hot.gif" align="absBottom" />：回复超过20的主题<br />
                            <br />
                            <br />
                            [字数限制:2000字符] [UBB代码:支持 &lt;<a href="ubbhelp.htm" target=_blank>代码帮助</a>&gt;]</td><td>
                            <anthem:panel ID="postContentpanel" AutoUpdateAfterCallBack=false runat=server>
        <DNTB:WebEditor ID="postContent" MenuConfig="guest.config" runat="server" Width="460px" Height="254px" Focus="False" Source="False" /></anthem:panel>
                                <br />
                                &nbsp;<anthem:button ID="AddBtn" runat="server" EnabledDuringCallBack=false OnClick="AddBtn_Click" Text="发表主题" AutoUpdateAfterCallBack=true ValidationGroup="post"/>&nbsp;&nbsp;<anthem:button ID="Button1" runat="server" EnabledDuringCallBack=false Text="清空内容" AutoUpdateAfterCallBack=true PreCallBackFunction="popWinClear" OnClick="Button1_Click" />&nbsp;<anthem:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="postContent" ErrorMessage="*内容不能为空!" ValidationGroup="post" SetFocusOnError="True" Display="Dynamic"></anthem:RequiredFieldValidator>&nbsp;[完成后可按Ctrl+Entet提交主题]</td>
                    </tr>
                </table>
        </fieldset></td></tr>
</table>
<table id="bottom" background="images/bottom.gif" style="height: 53px; width:997px;" border="0" align="center">
  <tr>
    <td style="width: 935px; height: 49px;" >
        &nbsp;<img src="images/aspnet.gif" />&nbsp; <span style="font-family: Arial">&copy;</span>2003-2009
        <a href="http://www.aspxcn.com.cn" target=_blank>AspXcn.Com.Cn</a>[专业的.Net技术开发网站,诚接各种需要使用Asp.Net2.0开发的网站系统或全站及订制功能,欢迎<a href="mailto:webmaster@aspxcn.com.cn" style="color: red">来信</a>咨询相关事宜!]</td>
      <td style="height: 49px">
          <br />
      <a href="#" ><img src="images/top.gif" alt="返回顶端" border="0" /></a></td>
  </tr>
</table>
<div id="loading" style="background-color: #FFFFFF; color: #000000; font-size:9pt; position:absolute; width: 270px; height: 105px; border:Dashed 1px #333333 ; visibility:hidden ">
    <br />&nbsp;执行操作中,请稍候......<br />
    <center><img src="images/pleasewait.gif"/></center>
    <br />
    <center><anthem:Button runat="server" ID="canclloading" Text=" 取 消 " EnabledDuringCallBack="false"  PreCallBackFunction="CancelAsyncPostBack()" style="border-style:dashed" /></center>
    <br />
</div>
<div id="msgbox" style="background-color: #FFFFFF; color: #000000; font-size:9pt; position:absolute; left: 258px;
top: 283px; width: 229px; height: 110px; border:solid 1px #CCCCCC ; visibility:hidden">
<table border=0px width=100%><tr><td align="right"><span title=关闭 style="CURSOR: hand;color:red;font-size:12px;font-weight:bold;margin-right:4px;" onclick=closeDiv() ><img src="images/close.gif" align="absMiddle" /></span></td></tr></table>
<div align=center id="result"></div><br /><center>
[<span style="color: red"><a onclick="showModalDialog('msg.aspx','msg','dialogWidth:750pt;dialogHeight:480pt;status:0');" style="cursor: hand">查看新信息</a></span>]<br /><br />
<input id="remind" onclick="remind_Click(this)" type="checkbox" />
    不再提示未读短信息 &nbsp;&nbsp;[<a onclick="closeDiv()" style="CURSOR: hand">关闭</a>]</center>
</div>
<script type="text/javascript">
var load=document.getElementById('loading');
resizeLoad();
window.setInterval("resizeLoad()",10);
function resizeLoad()
{
load.style.top = parseInt((document.body.clientHeight-load.offsetHeight)/2+document.body.scrollTop);
load.style.left = parseInt((document.body.clientWidth-load.offsetWidth)/2+document.body.scrollLeft);
}
</script>
</form>
</body>
</html>