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

<!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="../InClude/StyleSheet.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        body
        {
            margin: 8px 8px 0px 0px;
        }
    </style>
    <script src="/js/jquery.min.js" type="text/javascript"></script>
    <script src="/js/all.js" type="text/javascript"></script>    
</head>
<body>
    <form id="form1" runat="server">
    <div class="divWidth">
        <div class="titleBg">
            获取广告代码</div>
    </div>
    <div class="height10px">
    </div>
    <div class="divWidth">
        <table width="100%" class="tableLine">
            <tr>
                <td class="tdTitle">
                    广告位置
                </td>
                <td class="tdContent">
                        <asp:DropDownList ID="adClass" runat="server" CssClass="inputTextIME">
                            <asp:ListItem Value="">== 请选择 ==</asp:ListItem>
                        </asp:DropDownList>
                        &nbsp;注：按广告位随机显示</td>
            </tr>
            <tr>
                <td class="tdTitle">
                    尺寸随机显示
                </td>
                <td class="tdContent">
                    宽 <asp:TextBox ID="adW" runat="server" CssClass="inputTextIME" Width="50px"></asp:TextBox>
                        高 <asp:TextBox ID="adH" runat="server" CssClass="inputTextIME" Width="50px"></asp:TextBox>
                        &nbsp; 注：按全站不同位置同尺寸的广告位随机显示</td>
            </tr>
            <tr>
                <td class="tdTitle">
                    &nbsp;
                </td>
                <td class="tdContent">
                    <asp:Button ID="jsCode" runat="server" Text="获取代码" CssClass="inputBottom" OnClick="jsCode_Click" />
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="tdTitle">
                    广告代码
                </td>
                <td class="tdContent" style="line-height:24px;"><asp:Literal ID="adName" runat="server"></asp:Literal><asp:TextBox ID="ad" runat="server" CssClass="inputTextIME" Width="98%" Height="100px" TextMode="MultiLine"></asp:TextBox></td>
            </tr>
        </table>
    </div> 
    <div class="height10px">
    </div>
    </form>
</body>
</html>
