<%@ Page Language="c#" Inherits="Web.User.addIncludePage" CodeBehind="addIncludePage.aspx.cs" %>

<!DOCTYPE html>
<!--[if lt IE 9]><html class="lte-ie8"><![endif]-->
<!--[if gt IE 8]><!-->
<html>
<!--<![endif]-->
<head>
    <title>add includepage</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <!--#include file = "../Css/head.htm" -->
    <!--#include file = "../Css/userCssEdit.htm" -->
</head>
<body>
    <form id="addFileDown" method="post" enctype="multipart/form-data" runat="server">
    <div class="edit-func-box func-box" style="height:720px;">
        <div class="hd">
            框架模板</div>
        <div class="bd mb80">
            <table class="edit-table">
                <tbody>
                    <tr>
                        <th width="25%">
                            网页地址：
                        </th>
                        <td width="75%">
                            <asp:TextBox ID="pageUrl" runat="server" notNull="true" msgName="网页地址" CssClass="input-md w3"></asp:TextBox>
                            &nbsp;&nbsp;
                            <asp:CheckBox ID="isTop" runat="server" Text="固顶"></asp:CheckBox>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            栏目高度：
                        </th>
                        <td>
                            <asp:TextBox ID="height" runat="server" CssClass="input-mini" notNull="true" dataType="integer" maxValue="1000" minValue="1" msgName="栏目高度">100</asp:TextBox>
                            &nbsp;&nbsp;
                            <asp:CheckBox ID="iframeborder" runat="server" Text="显示边框"></asp:CheckBox>
                            &nbsp;&nbsp;&nbsp;
                            <asp:CheckBox ID="iframescroll" runat="server" Text="显示滚动条"></asp:CheckBox>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            显示等级：
                        </th>
                        <td>
                            <asp:DropDownList ID="grade" runat="server" DataValueField="pkId" DataTextField="name" CssClass="input-md">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <th>
                            浏览权限：
                        </th>
                        <td>
                            <asp:DropDownList ID="gate" runat="server" CssClass="input-md">
                            </asp:DropDownList>
                        </td>
                    </tr>
<%--                    <tr>
                        <th>
                            详细信息：
                        </th>
                        <td valign="top">
                            <asp:Label ID="state" runat="server"></asp:Label>
                        </td>
                    </tr>--%>
                </tbody>
            </table>
        </div>
        <div class="ft ft02">
            <div class="action-field text-center">
                <asp:Button ID="add" class="btn btn-sm btn-primary" runat="server" Text="添 加" OnClientClick="return checkall();"
                    OnClick="btn_Click"></asp:Button>
                &nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="cancel" class="btn btn-sm btn-primary" runat="server" Text="取 消" CausesValidation="False"
                    OnClick="btn_Click"></asp:Button>
            </div>
            <!--/action-field-->
        </div>
    </div>
    </form>
    <!--#include file = "../Css/foot.htm" -->
      <script language="javascript" type="text/javascript">

          function checkall() {
              //验证
              if (checkAllValidate()) {
                  return true;
              } else {
                  return false;
              }
          }

    </script>
</body>
</html>
