<%@ Page Language="C#" MasterPageFile="Admin.Master" AutoEventWireup="true" CodeBehind="Corpadd.aspx.cs" Inherits="Mvcb2b.admin.Corpadd" Title="页面添加" ValidateRequest="false" %>
<%@ MasterType VirtualPath="Admin.Master" %>
<%@ Register src="controls/tinyMCE.ascx" tagname="tinyMCE" tagprefix="uc1" %>
<%@ Register src="controls/CorpUpcon.ascx" tagname="Up" tagprefix="uc2" %>
<%@ Register src="controls/Upmappic.ascx" tagname="Upmappic" tagprefix="uc3" %>
<%@ Register src="controls/Uponenopostpic.ascx" tagname="Uponepic" tagprefix="uc4" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="path">当前位置： 系统管理 >> 单页管理</div>
<h3><asp:Literal  ID="Literal1" runat="server"></asp:Literal></h3>

<table width="92%" border="0" align="center">     
<tr><td width="120">父级页面：</td><td><asp:DropDownList ID="parentid_txt" runat="server"></asp:DropDownList> <span style="color:#ccc;"><asp:Literal  ID="show_txt" runat="server"></asp:Literal></span></td></tr>   
<tr><td>标题名称：</td><td><asp:TextBox ID="classname_txt" runat="server" Width="160px"></asp:TextBox> <span style="color: Red">*</span><asp:RequiredFieldValidator ID="RequiredFieldValidator1"     runat="server" ErrorMessage="页面名称不能为空" Display="None" ControlToValidate="classname_txt"></asp:RequiredFieldValidator></td></tr>  
<tr><td>英文：</td><td><asp:TextBox ID="classen_txt" runat="server" Width="160px"></asp:TextBox> <span style="color:#ccc;">英文或拼音，用于url显示</span></td></tr> 
<tr><td>关键字：</td><td><asp:TextBox ID="classkey_txt" runat="server" Width="400px" Height="30px" TextMode="MultiLine"></asp:TextBox></td></tr> 
<tr><td>描述：</td><td><asp:TextBox ID="classdes_txt" runat="server" Width="400px" Height="60px" TextMode="MultiLine"></asp:TextBox></td></tr>    
<tr><td valign="top">内容：</td><td id="editors"><uc1:tinyMCE ID="content_txt"  runat="server" />
<span style="color:#333">
1. 编辑图片时只有在编辑器中看到图片顶部时才能选择和编辑图片;<br />
2. 如果想把两换行文本中加入回车符（段落空白），请在两行文本之间删除换行符后两行变成一行文字，再按回车即可加入段落空白。否则直接按回车则是空白换行符再加一段落符号。
</span></td></tr> 
<uc2:Up ID="Up1" runat="server" />
<tr><td>是否直接指向: </td><td><asp:CheckBox ID="isrefer_txt" runat="server" />直接转向</td></tr>
<tr><td>指向网址：</td><td><input name="referurl_txt" id="referurl_txt" type="text" value="" style="width:160px;" runat="server" /></td></tr>  
<tr>
  <td>导航按钮图：</td>
  <td><uc3:Upmappic ID="Upmappic1" runat="server" /></td>
</tr>  
<tr>
  <td>标题按钮图:</td>
  <td><uc4:Uponepic ID="Uponepic1" runat="server" /></td>
</tr>
<tr><td>排序：</td><td><asp:TextBox ID="sortid_txt" runat="server" Text="0" Width="50px"></asp:TextBox></td></tr>
<tr><td colspan="2" align="center"><asp:HiddenField ID="depth_txt" runat="server" /><asp:HiddenField ID="action_txt" runat="server" /><asp:HiddenField ID="id_txt" runat="server" /><asp:Button ID="Add" runat="server" Text="添加" Width="58px" OnClick="Add_Click"></asp:Button><asp:Button ID="Edit" runat="server" Text="修改" Width="58px" OnClick="Edit_Click"></asp:Button>&nbsp;<asp:validationsummary id="ValidationSummary1" runat="server" ShowMessageBox="True" ShowSummary="False"></asp:validationsummary> <input type="button" value="返回" name="go" style="width:58px;" onclick="javascript:history.go(-1);"  /></td></tr>
<tr>
        <td  colspan="2" >
        <h4>? 帮助：.</h4>
        <ul>        
        <li>1. 直接转向选择后，页面不处理将直接转向一个新网址.</li>
        <li>2. 指向网址绝对路径如："http://www.163.com/"，没有"http://"则为相对路径.</li>
        </ul>
        </td></tr>
</table>

</asp:Content>
