<%@ page language="C#" autoeventwireup="true" inherits="Admin_Advertisement_Operate, GroupTGWeb_deploy" %>

<%@ Register Src="UserControl/MessageShow.ascx" TagName="MessageShow" TagPrefix="uc1" %>
<!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 type="text/css" rel="Stylesheet" href="css/index.css" />

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

</head>
<body style="padding: 0; background-image: url(images/Bg_right.gif); background-repeat: repeat;
    font-size: 12px">
    <form id="form1" runat="server">
    <div class="navigator">
        <asp:Label ID="LabelPageTitle" runat="server" Text="【 广告管理 】"></asp:Label></div>
    <table cellpadding="0" cellspacing="0" border="0" style="width: 100%; line-height: 30px;">
        <tr>
            <td align="right" width="20%">
                页面名：
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxPageName" runat="server" Width="300"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                文件名：
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxFileName" runat="server" Width="300"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                容器ID：
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxDivID" runat="server" Width="300"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                说明：
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxExplain" runat="server" TextMode="MultiLine" Width="300"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                广告类型：
            </td>
            <td align="left">
                <asp:DropDownList ID="DropDownListAdType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownListAdType_SelectedIndexChanged"
                    Width="304">
                    <asp:ListItem Value="0">文字</asp:ListItem>
                    <asp:ListItem Value="1">图片</asp:ListItem>
                    <asp:ListItem Value="2">幻灯片</asp:ListItem>
                    <asp:ListItem Value="3">falsh</asp:ListItem>
                </asp:DropDownList>
                <asp:DropDownList ID="DropDownListPathType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownListPathType_SelectedIndexChanged">
                    <asp:ListItem Value="0">路径</asp:ListItem>
                    <asp:ListItem Value="1">上传</asp:ListItem>
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="right">
                链接地址：
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxHref" runat="server" Width="300"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="right">
                内容：
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxContent" runat="server" TextMode="MultiLine" Width="300"></asp:TextBox>
                <asp:TextBox ID="TextBoxpath" runat="server" Visible="false" Width="300px" CssClass="input1"></asp:TextBox>
                <asp:FileUpload ID="FileUploadpath" runat="server" Visible="false" />
            </td>
        </tr>
        <tr id="adheight" runat="server">
            <td align="right">
                高度：
            </td>
            <td align="left">
                <asp:TextBox ID="TextBoxHeight" runat="server" CssClass="input1"></asp:TextBox>
            </td>
        </tr>
        <tr id="adwidth" runat="server">
            <td align="right">
                宽度：
            </td>
            <td>
                <asp:TextBox ID="TextBoxWidth" runat="server" CssClass="input1"></asp:TextBox>
            </td>
        </tr>
    </table>
    <br />
    <div style="background-color: #EEEEEE; height: 22px" class="btconfig">
        <table cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr>
                <td align="right" width="20%">
                </td>
                <td align="left">
                    <asp:Button ID="ButtonConfirm" runat="server" Text="确定" CssClass="bt2" OnClick="ButtonConfirm_Click" />
                    <input id="inputReset" type="reset" value="重置" class="bt2" />
                    <asp:Button ID="ButtonBack" runat="server" Text="返回列表" CssClass="bt3" OnClick="ButtonBack_Click" />
                    <uc1:MessageShow ID="MessageShow" runat="server" Visible="False" />
                </td>
            </tr>
        </table>
    </div>
    <asp:HiddenField ID="hiddenFieldGuid" runat="server" Value="0" />
    </form>
</body>
</html>
