<%@ page language="C#" autoeventwireup="true" inherits="admin_5_adedit, s1.chapk.com" validaterequest="false" %>

<%@ Register Assembly="YangControls" Namespace="YangControls" TagPrefix="yyc" %>
<!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 runat="server">
    <title>编辑广告</title>
    <link rel="stylesheet" href="../css/table.css" type="text/css" media="all" />
</head>
<body>
    <form id="form1" runat="server">
        <asp:Label ID="lab_url" runat="server" Visible="false"></asp:Label>
        <div class="my_alt">
            编辑广告<asp:Label ID="LAB_ID" runat="server" Visible="False"></asp:Label></div>
        <table cellpadding="0" cellspacing="0" border="0" width="100%" class="tb">
            <tr style="display:none">
                <td class="tl">
                    类别：</td>
                <td class="tr">
                    <asp:DropDownList ID="s_lb" runat="server">
                        <asp:ListItem Value="0">首页幻灯片</asp:ListItem>
                    </asp:DropDownList></td>
            </tr>
            <tr>
                <td class="tl">
                    标题：</td>
                <td class="tr">
                    <asp:TextBox ID="s_mc" runat="server" Width="300px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="s_mc"
                        ErrorMessage="标题不能为空"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td class="tl">
                    图片：</td>
                <td class="tr">
                    <asp:TextBox ID="s_logo" runat="server" Style="display: none"></asp:TextBox>
                    <input id="File1" type="file" runat="server" style="width: 200px" /><asp:Button ID="BTN_UPFILE"
                        runat="server" Text="上  传" OnClick="BTN_UPFILE_Click" CausesValidation="false" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="s_logo"
                        ErrorMessage="请上传图片"></asp:RequiredFieldValidator>
                    <asp:Label ID="s_logo_ys" runat="server"></asp:Label></td>
            </tr>
            <tr>
                <td class="tl">
                    网址：</td>
                <td class="tr">
                    <asp:TextBox ID="s_url" runat="server" Width="300px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="s_url"
                        ErrorMessage="请填写网址"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td class="tl">
                    特殊操作：</td>
                <td class="tr">
                    <asp:CheckBox ID="p1" runat="server" Text="禁用" /></td>
            </tr>
            <tr>
                <td colspan="2" align="center" style="height: 24px">
                    <asp:Button ID="btn_ok" runat="server" Text=" 保存 " OnClick="btn_ok_Click" /></td>
            </tr>
        </table>
    </form>
</body>
</html>
