<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="YC_Page_edit.aspx.cs" Inherits="YCHR.Web.admin.channel.YC_channel_Add" %>

<!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 id="Head1" runat="server">
    <title>频道管理</title>
    <link rel="stylesheet" type="text/css" href="../images/style.css" />
    <script type="text/javascript" src="/js/jquery.js"></script>
    <script type="text/javascript" src="/js/jquery.validate.min.js"></script>
    
    <script type="text/javascript" src="/js/jquery.form.js"></script>
    <script type="text/javascript" src="../js/cursorfocus.js"></script>    
    <script type="text/javascript">
        $(function () {
            //表单验证JS
            $("#form1").validate({
                //出错时添加的标签
                errorElement: "span",
                success: function (label) {
                    //正确时的样式
                    label.text(" ").addClass("success");
                }
            });
            //显示关闭高级选项
            $("#upordown").toggle(function () {
                $(this).text("关闭高级选项");
                $(this).removeClass();
                $(this).addClass("up-01");
                $(".upordown").show();
            }, function () {
                $(this).text("显示高级选项");
                $(this).removeClass();
                $(this).addClass("up-02");
                $(".upordown").hide();
            });
        });
    </script>
    <style type="text/css">
      
        .style1
        {
            width: 14%;
        }
        </style>
</head>
<body style="padding:10px;">
    <form id="form1" runat="server">
    <div class="navigation">
      <span class="back"><a href="List.aspx">返回列表</a></span><b>您当前的位置：首页 &gt; 系统设置 &gt; 发布公告</b>
    </div>
    <div style="padding-bottom:10px;"></div>
      

       
    <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" >
 
  <tr>
    <td height=25 class="pl20"><b>管理选项：  <a href="YC_page_List.aspx">页面管理</a>&nbsp;  [<a href="javascript:location.reload()">刷新页面</a>]</td>
  </tr>


<tr><td height=25 class="pl20">
    &nbsp;</td></tr>

</table>
 
    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="msgtable">
        
        <tr>
            <td align="right" class="style1">&nbsp;</td>
            <td width="85%">
                (可调用标签为{sitearea},{sitename})</td>
        </tr>
        
        <tr>
            <td align="right" class="style1">页面名称:</td>
            <td width="85%">
            <asp:TextBox ID="txtcname" runat="server" CssClass="input w380 required" 
            maxlength="50" minlength="3"  ></asp:TextBox>
            </td>
        </tr>
        <tr id="dyff" runat="server" visible="false">
            <td align="right" class="style1"> 调用方法:</td>
            <td>
            <asp:TextBox ID="txtlable" runat="server" CssClass="input w380 required" 
            maxlength="20" minlength="3" Enabled="False"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style1"> 页面标题：</td>
            <td>
            <asp:TextBox ID="txtpagetitle" runat="server" CssClass="input w380 required" 
            maxlength="80" minlength="3" ></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right" class="style1"> META关键词 ：</td>
            <td>
                <textarea id="txtkeywords" cols="70" name="txtkeywords" rows="5" runat="server" class="input"  style="height:50px;" ></textarea></td>
        </tr>
        <tr>
            <td align="right" class="style1"> META网页描述：&nbsp;</td>
            <td>
               <textarea id="txtdescripition" cols="70" name="txtdescripition" rows="5" runat="server"  style="height:150px;" class="input" ></textarea></td> 
        </tr>
        </table>
    <div style="margin-top:10px;text-align:center;">
   <asp:Button ID="btnSave" runat="server" Text="确认保存" CssClass="submit" onclick="btnSave_Click" 
        />
  &nbsp;
  <input name="重置" type="reset" class="submit" value="重置" />

  
</div>  
    </form>
</body>
</html>