<%@ Page Language="c#" Inherits="TopWinCMS.WebUI.Admin.Admin_Ads_Add" CodeBehind="Ads_Add.aspx.cs" %>

<%@ Register TagPrefix="cc1" Namespace="TopWinCMS.WebControls" Assembly="TopWinCMS.WebControls" %>
<!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>
    <title>广告</title>
    <link rel="stylesheet" type="text/css" href="../Style.css" />
    <meta http-equiv="Pragma" content="No-cach" />

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

</head>
<body>
    <form id="Form1" method="post" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" width="99%">
        <tr align="center">
            <td colspan="3" class="border">
                <table width="100%" border="0" cellpadding="2" cellspacing="1">
                    <tr>
                        <td align="right" style="width: 105px">
                            <strong>广告类型：</strong>
                        </td>
                        <td width="595" align="left">
                            <asp:DropDownList ID="DDL_ShowType" runat="server">
                                <asp:ListItem Value="1">普通显示</asp:ListItem>
                                <asp:ListItem Value="2">满屏浮动显示</asp:ListItem>
                                <asp:ListItem Value="3">固定浮动显示</asp:ListItem>
                                <asp:ListItem Value="4">渐隐消失</asp:ListItem>
                                <asp:ListItem Value="5">普通网页对话框</asp:ListItem>
                                <asp:ListItem Value="6">对联式广告</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td height="26" align="right" style="width: 105px">
                            <strong>中文站名：</strong>
                        </td>
                        <td height="26" align="left">
                            <cc1:TrimTextBox ID="TTB_SiteName" runat="server"></cc1:TrimTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="26" align="right" style="width: 105px">
                            <strong>客户姓名：</strong>
                        </td>
                        <td height="26" align="left">
                            <cc1:TrimTextBox ID="TTB_UserName" runat="server"></cc1:TrimTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 105px">
                            <strong>联系方式：</strong>
                        </td>
                        <td align="left">
                            <cc1:TrimTextBox ID="TTB_Contact" runat="server"></cc1:TrimTextBox>（电话或EMAIL）：
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 105px">
                            <strong>链接URL：</strong>
                        </td>
                        <td align="left">
                            <cc1:TrimTextBox ID="TTB_Url" runat="server" Width="345px"></cc1:TrimTextBox>
                            广告转向链接
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 105px">
                            <strong>广告URL：</strong>
                        </td>
                        <td align="left">
                            <cc1:TrimTextBox ID="TTB_Ad_Url" runat="server" Width="344px"></cc1:TrimTextBox>
                            图片或者Flash
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 105px">
                            <strong>上传：</strong>
                        </td>
                        <td align="left">
                            <asp:FileUpload ID="FileUpload1" runat="server" Width="322px" />
                            &nbsp;
                            <asp:Button ID="BT_UpLoad" runat="server" OnClick="BT_UpLoad_Click" Text="上传" CssClass="btn" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 105px">
                            <strong>广告条大小：</strong>
                        </td>
                        <td align="left">
                            宽度：
                            <cc1:NumericTextBox ID="NTB_Width" runat="server" Width="36px">100</cc1:NumericTextBox>&nbsp;&nbsp;&nbsp;
                            高度：
                            <cc1:NumericTextBox ID="NTB_Height" runat="server" Width="36px">100</cc1:NumericTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 105px">
                            <strong>打开方式：</strong>
                        </td>
                        <td align="left">
                            <asp:DropDownList ID="DDL_Target" runat="server">
                                <asp:ListItem Value="_blank">_blank</asp:ListItem>
                                <asp:ListItem Value="_parent">_parent</asp:ListItem>
                                <asp:ListItem Value="_self">_self</asp:ListItem>
                                <asp:ListItem Value="_top">_top</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 105px">
                            <strong>广告提示文字：</strong>
                        </td>
                        <td align="left">
                            <cc1:TrimTextBox ID="TTB_Note" runat="server" Width="360px"></cc1:TrimTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 105px">
                            <strong>广告播放条件：</strong>
                        </td>
                        <td>
                            受多个条件限制的广告，只要有一个条件满足，该广告便自动进入休眠状态，你可以修改限制条件并激活广告。
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 105px">
                            <strong>点击数不超过：</strong>
                        </td>
                        <td align="left">
                            <cc1:TrimTextBox ID="TTB_MaxClick" runat="server" Width="72px">0</cc1:TrimTextBox>&nbsp;<font
                                face="宋体"> 为0该选项不起作用</font>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 105px">
                            <strong>显示数不超过：</strong>
                        </td>
                        <td align="left">
                            <cc1:TrimTextBox ID="TTB_MaxShowTime" runat="server" Width="72px">0</cc1:TrimTextBox><font
                                face="宋体">&nbsp; 为0该选项不起作用</font>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 105px">
                            <strong>截止日期：</strong>
                        </td>
                        <td align="left">
                            <cc1:Calendar ID="CD_MaxDateTime" runat="server" CalendarResource="../../Images/CalendarResource/">
                            </cc1:Calendar>
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="width: 105px">
                            <strong>备注： </strong>
                        </td>
                        <td align="left">
                            <cc1:TrimTextBox ID="TTB_Remark" runat="server" Width="375px" TextMode="MultiLine"
                                Rows="5"></cc1:TrimTextBox>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <div align="center">
        <asp:Button ID="BT_OK" runat="server" Text=" 提交 " EnableViewState="False" OnClick="BT_OK_Click"
            CssClass="btn"></asp:Button>&nbsp;
    </div>
    </form>
</body>
</html>
