<%@ Page Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="Tougaoedit.aspx.cs" Inherits="Mvcb2b.admin.Tougaoedit" Title="投稿添加" ValidateRequest="false" %>
<%@ MasterType VirtualPath="Admin.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script type="text/javascript">
function checkform()
{
    if (typeof (Page_ClientValidate) == 'function') {
        if (Page_ClientValidate('Haosubmit'))    //(Page_ClientValidate())
           {

               //var contentvalue = GetTinyMceContent("<%--=content_txt.Haoid --%>");
              // var contentvalue = GetTinyMceContent("<%--=content_txt.Haoid --%>");
               //if (contentvalue == "" || contentvalue == null) {
              //     alert("-内容不能为空！");
              ////     return false;
              // } 
           } 
    }  
}
</script>

<div class="path">当前位置： 系统管理 >>  投稿管理</div>
<h3><asp:Literal  ID="Literal1" runat="server"></asp:Literal></h3>

<table width="92%" border="0" class="editor" align="center" style="background-color:#f5f5f5;" cellpadding="3" cellspacing="1">     
<tr>
  <td  align="right" style="width:120px;"><span style="color: Red">*</span>标题：</td><td style="height: 23px">
  <asp:TextBox ID="title_txt" runat="server" Width="300px" ValidationGroup="Haosubmit"></asp:TextBox> 
  <asp:RequiredFieldValidator ID="RequiredFieldValidator1"   runat="server" ErrorMessage="标题不能为空"  Display="None" ControlToValidate="title_txt" ValidationGroup="Haosubmit"></asp:RequiredFieldValidator></td></tr>  
<tr><td align="right">作者：</td><td><asp:TextBox ID="contact_txt" runat="server" Text="" Width="300px"></asp:TextBox></td></tr>
<tr><td align="right" valign="middle">
<span style="color: Red">*</span>投稿内容：</td>
<td id="editors">
<%--<uc1:tinyMCE ID="content_txt"  runat="server" />--%>
<textarea name="content_txt" id="content_txt" runat="server" cols="62" rows="18"></textarea>
<!--<span style="color:#ccc">(严禁从word文档直接复制内容, 多数会使客户访问时IE死机, 建议放到记事本中清理再加入.）</span><br />
<span style="color:green">! 编辑图片时只有在编辑器中看到图片顶部时才能选择和编辑图片.</span>-->
</td></tr>

<%--
<tr>
  <td align="right">属性：</td>
  <td><asp:CheckBox ID="isread_txt" runat="server" /> 已阅 </td>
</tr>--%>
<tr>
  <td align="right">投稿附件：</td>
  <td>地址：<span style="color:#2970D8;"><asp:Literal ID="fordoc_show" runat="server"></asp:Literal></span> <asp:Literal ID="fordoc_down" runat="server"></asp:Literal> </td>
</tr>
  <tr><td align="right">电话：</td><td><asp:TextBox ID="tel_txt" runat="server" Text="" Width="300px"></asp:TextBox></td></tr>
  <tr><td align="right">邮箱：</td><td><asp:TextBox ID="email_txt" runat="server" Text="" Width="300px"></asp:TextBox></td></tr>
  <tr><td align="right">作品上传时间：</td><td><asp:Literal ID="addtime_txt" runat="server"></asp:Literal></td></tr>
<tr><td colspan="2" align="center"><asp:HiddenField ID="action_txt" runat="server" />
<asp:HiddenField ID="id_txt" runat="server" />
<asp:HiddenField ID="fromrefer" runat="server" />
<asp:HiddenField ID="fordoc_txt" runat="server" />
<asp:Button ID="Add" runat="server" Text="修改" Width="58px"  ValidationGroup="Haosubmit" onclick="Edit_Click" />&nbsp;&nbsp;<asp:validationsummary id="ValidationSummary1"  runat="server" ShowMessageBox="True" ShowSummary="False"  ValidationGroup="Haosubmit"></asp:validationsummary> <input type="button" value="返回" name="go" style="width:58px;" onclick="javascript:window.location.href='Tougaomanage.aspx';"  /></td></tr>
</table>
</asp:Content>
