<%@ page language="C#" autoeventwireup="true" inherits="V5Shop.Admin.Other_OnlineTool_Operate, V5Shop.Shop.Others" enableviewstatemac="false" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="control/PageBottom.ascx" TagName="PageBottom" TagPrefix="uc1" %>
<%@ Register Assembly="V5Shop.Control" Namespace="V5Shop.Control" TagPrefix="cc1" %>
<!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 href="css/css.css" rel="stylesheet" type="text/css" />
    <link href="css/css_list.css" rel="stylesheet" type="text/css" />
    <link href="css/control.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" language="javascript" src="js/Common.js"></script>

    <script type="text/javascript" language="javascript" src="js/Control_Calendar.js"></script>

</head>
<body>
    <form id="form1" runat="server">
        <div class="OperateTitle">
            <div>
                <asp:Label ID="lblAdd" runat="server" Text="【 在线交流工具添加 】"></asp:Label>
                <asp:Label ID="lblEdit" runat="server" Text="【 I在线交流工具编辑 】" Visible="false"></asp:Label>
                <a href="Other_OnlineTool_Manage.aspx" title="返回在线交流工具列表">返回列表</a>
            </div>
        </div>
        <div>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="OperateTable">
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="lblName" runat="server" Text="名称："></asp:Label>
                    </td>
                    <td bgcolor="#FFFFFF" align="left" style="height: 30px" colspan="3">
                        <asp:TextBox ID="txtName" runat="server" MaxLength="20" Width="200px"></asp:TextBox><span class="NeedMsg">*</span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtName"
                            runat="server" ErrorMessage="不能为空" Display="Dynamic"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="lblNumber" runat="server" Text="号码："></asp:Label>
                    </td>
                    <td bgcolor="#FFFFFF" align="left" style="height: 29px" colspan="3">
                        <asp:TextBox ID="txtNumber" runat="server" MaxLength="50" Width="200px"></asp:TextBox><span class="NeedMsg">*</span>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtNumber"
                            ErrorMessage="不能为空" Display="Dynamic"></asp:RequiredFieldValidator>
                        </td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="lblType" runat="server" Text="类型："></asp:Label></td>
                    <td bgcolor="#FFFFFF" align="left" style="height: 30px" colspan="3">
                        <asp:DropDownList ID="ddlType" runat="server">
                        </asp:DropDownList>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="ddlType"
                            ErrorMessage="请选择类型"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#ffffff" style="width: 20%; height: 30px">
                        <asp:Label ID="lblIsAct" runat="server" Text="是否启用："></asp:Label></td>
                    <td align="left" bgcolor="#ffffff" colspan="3" style="height: 30px">
                        <asp:CheckBox ID="cbIsAct" runat="server" CssClass="checkboxaspx" Text="是" /></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="height: 30px; width: 20%;">
                        <asp:Label ID="lblOrderID" runat="server" Text="排序："></asp:Label></td>
                    <td bgcolor="#FFFFFF" align="left" style="height: 30px" colspan="3">
                        <asp:TextBox ID="txtOrderID" runat="server" Width="100px"></asp:TextBox>
                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtOrderID"
                            ErrorMessage="只能为数字" ValidationExpression="\d*"></asp:RegularExpressionValidator></td>
                </tr>
                <tr>
                    <td align="right" bgcolor="#FFFFFF" style="width: 20%; height: 30px;">
                    </td>
                    <td bgcolor="#FFFFFF" align="left" style="height: 30px" colspan="3">
                        <asp:Button ID="btnAdd" runat="server" Text="确定" OnClick="btnAdd_Click" meta:resourcekey="btnAddResource1"
                            CssClass="button" />
                        <asp:Button ID="btnEdit" runat="server" Text="更新" OnClick="btnEdit_Click" Visible="False"
                            meta:resourcekey="btnEditResource1" CssClass="button" />
                        <input id="iptReset" runat="server" type="reset" value="重置" class="button" />
                        <input id="btnReturn" runat="server" type="button" value="返回列表" onclick="window.location.href='Other_OnlineTool_Manage.aspx'"
                            class="button" />
                    </td>
                    <td align="left" bgcolor="#ffffff" style="height: 30px">
                    </td>
                </tr>
            </table>

            <script type="text/javascript">
            //加TABLE样式
            InitTrClass();
           </script>

        </div>
    </form>
    <uc1:PageBottom ID="PageBottom1" runat="server" />
</body>
</html>
