<%@ Page Language="C#" MasterPageFile="~/NewsCenter.Master" AutoEventWireup="true" CodeBehind="Message.aspx.cs" Inherits="Stat.web.Message1" Title="用户反馈" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
<!--
/*---------------------------------------------------*/

.Circle_Box {
	PADDING-BOTTOM: 1px;
	ZOOM: 1;
	background-color: #FFFFFF;
	border-right-width: 2px;
	border-left-width: 2px;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #CFE2F4;
	border-left-color: #CFE2F4;
}
/*---------------------------------------------------*/

.Circle_Box_1,.Circle_Box_2,.Circle_Box_3,.Circle_Box_4,.Circle_Box_5 {
	FONT-SIZE: 0px;
	MARGIN: 0px 1px;
	OVERFLOW: hidden;
	HEIGHT: 1px;
	border: 0px solid #CFE2F4; 
}
/*---------------------------------------------------*/

.Circle_Box_1 {
	MARGIN: 0px 3px;
}


.Circle_Box_2 {
	BORDER-LEFT-WIDTH: 2px; BORDER-RIGHT-WIDTH: 2px;
}

.Circle_Box_3 {
	BORDER-LEFT-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px;
}

.Circle_Box_4 {
	BORDER-LEFT-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px;
}

.Circle_Box_5 {
	BORDER-LEFT-WIDTH: 2px; BORDER-RIGHT-WIDTH: 2px;
}
/*---------------------------------------------------*/
.Circle_Box_1 {
	BACKGROUND: #CFE2F4;
}
.Circle_Box_2,.Circle_Box_3,.Circle_Box_4,.Circle_Box_5 {
	BACKGROUND: #DCE9F6; 
}
/*---------------------------------------------------*/
.msgBox{ margin-top:10px;}
.msgtitle{height:25px; width:100%; background-color:#F6FBFF; line-height:25px; font-weight:bold;}
.msgConten{ padding:10px;white-space:normal; word-break:break-all; word-wrap:break-word;}
.msgRenew{text-indent:10px;height:24px; width:100%; background-color:#F6FBFF; line-height:24px; color:#FF0000;}
-->
</style>
    <script src="js/Common.js" type="text/javascript"></script>
      <script type="text/javascript">        
       $(document).ready(function(){ 
         $("input[name='Submit']").bind('click', CheckForm).css("cursor","pointer"); 
       });        
        
        function CheckForm() {         
        var titel=$('#title').val(); 
        var uName=$("#uName").val();
        var Content=$("#Content").val();
        var checkCode=$("#CheckCode").val();
        
        if(!IsNull(titel, 1, 33)){alert("标题不能为空！");$('#title').focus(); return;} 
        if(!IsNull(Content, 1, 1000)){alert("内容不能为空！");$('#Content').focus(); return;} 
        if(!IsNull(uName, 1, 33)){alert("昵称不能为空！");$('#uName').focus(); return;} 
        if(!CheckEqualsLeng(checkCode,5)){alert("验证码为5位！");$('#CheckCode').focus(); return;}                
   
       
        $("form:first").submit();
      }

</script>





</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cpTop" runat="server">
当前位置：用户反馈&gt;内容
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cpMain" runat="server">
<br />
只显示 【通过审核】 的留言：
<hr style=" width:98%; text-align:center; clear:both; margin-top:5px;" />
<div style="clear:both; text-align:left;margin-top:10px;">
<asp:Literal ID="ltrList" runat="server"></asp:Literal>
</div>
<div style="clear:both; text-align:center; margin-top:10px;">
<asp:Literal ID="LtrIndex" runat="server"></asp:Literal>
</div>
<hr style=" width:98%; text-align:center; clear:both; margin-top:5px;" />
<div style="clear:both; text-align:left; width:370px;">
<form id="form1" name="form1" method="post" action="?ac=Add">
<div>
<div style="clear:both;">
<div style="float:left; width:49px; text-align:right">标题：</div>
<div style="float:right; width:300px; text-align:left;"><input name="title" type="text" id="title" size="40" />
</div>
</div>
<div style="clear:both;">
<div style="float:left; width:49px; text-align:right">昵称：</div>
<div style="float:right; width:300px;text-align:left;">
  <input name="uName" type="text" id="uName" value="" size="40" />
</div>
</div>
<div style="clear:both;">
<div style="float:left; width:49px; text-align:right">内容：</div>
<div style="float:right; width:300px;text-align:left;">
  <textarea name="Content" cols="40" rows="6" id="Content"></textarea>
</div>
</div>
<div style="clear:both; line-height:15px; height:15px;">
<div style="float:left; width:49px; text-align:right">验证码：</div>
<div style="float:right; width:300px;text-align:left;">
<input name="CheckCode" type="text" id="CheckCode" size="5" />
<img alt="点击刷新验证码" onclick="this.src='plugin/CheckCode.aspx?t='+Math.random();" src="plugin/CheckCode.aspx" class="pointer"/>
</div>
</div>
<div style="clear:both; text-align:center; margin-top:20px;">
 <input type="button" name="Submit" value="提交留言建议" />
</div>
</div>
  </form>
</div>

</asp:Content>
