<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GuangGao_XiuGai.aspx.cs" Inherits="Admin_GuangGao_GuangGao_XiuGai" %>

<!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="../Images/Admin.css" type="text/css" />
    <script type="text/javascript" src="../Images/Admin.js"></script>
    <script type="text/javascript">
        function LOAD()
        {
            var ShiFouXuanZhe=document.getElementById("GuangGaoLeiXing_0").checked;
            document.getElementById("TR_L1").style.display=ShiFouXuanZhe?"block":"none";
            document.getElementById("TR_L2").style.display=ShiFouXuanZhe?"block":"none";
            document.getElementById("TR_L3").style.display=ShiFouXuanZhe?"block":"none";
            document.getElementById("TR_L4").style.display=(!ShiFouXuanZhe)?"block":"none";
        }
    </script>
</head>
<body onload="LOAD()">
    <form id="form1" runat="server">
    <div>
    位置：<a href="<%=Server.HtmlEncode(Request.QueryString["rurl"]) %>">广告管理</a> &gt; 修改广告
    <div style="height:5px"></div>
    
    <table class="tab1" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td>
        <table class="tab2" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td class="tab2_bt">
            修改广告
            </td>
        </tr>
        <tr>
            <td>
            <table class="tab3" border="0" cellpadding="0" cellspacing="1">
                <tr>
                    <td style="width: 200px">
                        &nbsp; &nbsp; 广告分类</td>
                    <td>
                        <asp:DropDownList ID="GuangGaoFenLei" runat="server">
                        </asp:DropDownList></td>
                </tr>
            <tr>
                <td style="width:200px">
                    &nbsp; &nbsp; 广告名称</td>
                <td>
                    <asp:TextBox ID="GuangGaoMingChen" runat="server" MaxLength="50" Width="300px"></asp:TextBox></td>
            </tr>
                <tr>
                    <td style="width: 200px">
                        &nbsp; &nbsp; 广告类型</td>
                    <td>
                        <asp:RadioButton ID="GuangGaoLeiXing_0" runat="server" Checked="True" GroupName="GuangGaoLeiXing"
                            Text="链接" onclick="LOAD()" />
                        <asp:RadioButton ID="GuangGaoLeiXing_1" runat="server" GroupName="GuangGaoLeiXing"
                            Text="代码" onclick="LOAD()" /></td>
                </tr>
                <tr id="TR_L1">
                    <td style="width: 200px">
                        &nbsp; &nbsp; 链接标题</td>
                    <td>
                        <asp:TextBox ID="LianJieBiaoTi" runat="server" MaxLength="50" Width="300px"></asp:TextBox></td>
                </tr>
                <tr id="TR_L2">
                    <td style="width: 200px">
                        &nbsp; &nbsp; 链接地址</td>
                    <td>
                        <asp:TextBox ID="LianJieDiZhi" runat="server" MaxLength="200" Width="300px"></asp:TextBox></td>
                </tr>
                <tr id="TR_L3">
                    <td style="width: 200px">
                        &nbsp; &nbsp; 图片地址</td>
                    <td>
                        <asp:TextBox ID="TuPianDiZhi" runat="server" MaxLength="200" Width="300px"></asp:TextBox>为空则非图片链接</td>
                </tr>
                <tr id="TR_L4">
                    <td style="width: 200px">
                        &nbsp; &nbsp; 代码内容</td>
                    <td>
                        <asp:TextBox ID="DaiMaNeiRong" runat="server" Height="130px" MaxLength="4000" TextMode="MultiLine"
                            Width="400px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 200px">
                    </td>
                    <td>
                        <asp:Button ID="Button1" runat="server" Text="修改广告" />
                        <input type="reset" value="重新填写" />
                        </td>
                </tr>
            </table>
            </td>
        </tr>
        </table>
        </td>
    </tr>
    </table>
    </div>
    </form>
</body>
</html>
