⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 advertisemanage.aspx

📁 易想商城系统
💻 ASPX
📖 第 1 页 / 共 2 页
字号:
<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Admin/Masterpage/Page.Master"  CodeBehind="AdvertiseManage.aspx.cs" Inherits="YXShop.Web.Admin.Accessories.AdvertiseManage" %>

<%@ Register src="../Control/SelectProduct.ascx" tagname="SelectProduct" tagprefix="uc1" %>
<%@ Register Assembly="DatePicker" Namespace="CustomControls" TagPrefix="cc1" %>
<asp:Content ID="Contenthaed" runat="server" ContentPlaceHolderID="head">

    <script src="../../Admin/JS/Calendar.js" type="text/jscript"></script>
   <script src="../../Admin/JS/CheckDataFunction.js" type="text/jscript"></script>
</asp:Content>

<asp:Content ID="Contenttitel" runat="server" ContentPlaceHolderID="ContentPlaceTitle">
    添加广告  
</asp:Content>

<asp:Content ID="Contentmian" runat="server" ContentPlaceHolderID="ContentPlaceHolderMain">
   
    <table width="100%" border="0" cellspacing="1" cellpadding="1" class="hy">
  <tr>
    <td width="15%"><div align="right"><strong>广告名称:</strong></div></td>
    <td width="85%"> <asp:TextBox ID="txtggmc" runat="server" MaxLength="1000" Width="65%"></asp:TextBox><asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                        ControlToValidate="txtggmc" 
            ErrorMessage="广告名称不能为空"></asp:RequiredFieldValidator>
    </td>
  </tr>
  <tr>
    <td width="15%"><div align="right"><strong> 广告类型:</strong></div></td>
    <td width="85%">
               <asp:RadioButton ID="RadioButton1" runat="server" Checked="True" GroupName="lxq" 
                   Text="图片" AutoPostBack="True" 
                   oncheckedchanged="RadioButton1_CheckedChanged" />
               <asp:RadioButton ID="RadioButton2" runat="server" GroupName="lxq" Text="动画" 
                   oncheckedchanged="RadioButton2_CheckedChanged" AutoPostBack="True"/>
               <asp:RadioButton ID="RadioButton3" runat="server" GroupName="lxq" Text="文本" 
                   oncheckedchanged="RadioButton3_CheckedChanged" AutoPostBack="True" />
               <asp:RadioButton ID="RadioButton4" runat="server" GroupName="lxq" 
                   oncheckedchanged="RadioButton4_CheckedChanged" Text="幻灯片" 
                   AutoPostBack="True" />
    </td>
  </tr>
 
  <tr>
    <td><div align="right"><strong> 广告内容:</strong></div></td>
    <td>
     <asp:Panel ID="Panel1" runat="server" Width="100%">
         <table style="width:100%;">
             <tr>
                 <td width="11%">
                     图片上传:</td>
                 <td width="89%">
                     <asp:FileUpload ID="FileUpload1" runat="server" />
                     <asp:Button ID="Button4" runat="server" CausesValidation="False" Height="20px" 
                         onclick="Button4_Click" Text="提交" Width="10%" />
                     <asp:Button ID="Button5" runat="server" CausesValidation="False" Height="20px" 
                         onclick="Button5_Click" Text="删除一张图" Width="13%" />
               </td>
             </tr>
             <tr>
                 <td width="11%">
                     图片地址:</td>
                 <td width="89%">
                     <asp:TextBox ID="txtcdz" runat="server" TextMode="MultiLine" Width="350px" 
                         Enabled="False"></asp:TextBox>
                 </td>
             </tr>
             <tr>
                 <td>
                     图片尺寸:</td>
                 <td>
                     宽:<asp:TextBox ID="txttk" runat="server" Width="43px" MaxLength="3"></asp:TextBox>
                     像素&nbsp;&nbsp; 高<asp:TextBox ID="txttg" runat="server" Width="43px" 
                         MaxLength="3"></asp:TextBox>
                     像素<asp:RegularExpressionValidator ID="RegularExpressionValidator1" 
                         runat="server" ControlToValidate="txttk" Display="Dynamic" 
                         ErrorMessage="宽必须是数字" ValidationExpression="^(-?\d+)(\.\d+)?$"></asp:RegularExpressionValidator>
                     &nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator2" 
                         runat="server" ControlToValidate="txttg" Display="Dynamic" 
                         ErrorMessage="高必须是数字" ValidationExpression="^(-?\d+)(\.\d+)?$"></asp:RegularExpressionValidator>
                 </td>
             </tr>
             <tr>
                 <td>
                     链接地址:</td>
                 <td>
                     <asp:TextBox ID="txtljdz" runat="server" Width="50%" MaxLength="50">http://</asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator7" runat="server" 
                         ControlToValidate="txtljdz" ErrorMessage=" * 网站URL格式错误!" 
                         ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?" 
                         SetFocusOnError="True"></asp:RegularExpressionValidator>
                 </td>
             </tr>
             <tr>
                 <td>
                     链接提示:</td>
                 <td>
                     <asp:TextBox ID="txtljts" runat="server" Width="50%" MaxLength="100"></asp:TextBox>
                 </td>
             </tr>
             <tr>
                 <td>
                     链接目标:</td>
                 <td>
    <asp:RadioButtonList ID="lx" runat="server" RepeatDirection="Horizontal" Width="171px">
                    <asp:ListItem Text="新窗口" Value="0"  Selected="True" ></asp:ListItem>
                    <asp:ListItem Text="原窗口" Value="1"></asp:ListItem>
                </asp:RadioButtonList>
                 </td>
             </tr>
             <tr>
                 <td>
                     广告简介:</td>
                 <td>
                     <asp:TextBox ID="txtggjj" runat="server" TextMode="MultiLine" Width="90%"></asp:TextBox>
                 </td>
             </tr>
         </table>
        
        </asp:Panel>
             <asp:Panel ID="Panel2" runat="server" Width="100%" Visible="False">
                 <table style="width:100%;">
                     <tr>
                         <td width="11%">
                             动画上传:</td>
                         <td width="89%">
                             <asp:FileUpload ID="FileUpload2" runat="server" />
                       </td>
                     </tr>
                     <tr>
                         <td>
                             动画尺寸:</td>
                         <td>
                             宽:<asp:TextBox ID="txtdk" runat="server" Width="43px" MaxLength="3"></asp:TextBox>
                             像素&nbsp;&nbsp; 高<asp:TextBox ID="txtdg" runat="server" Width="43px" 
                                 MaxLength="3"></asp:TextBox>
                             像素<asp:RegularExpressionValidator ID="RegularExpressionValidator3" 
                                 runat="server" ControlToValidate="txtdk" Display="Dynamic" 
                                 ErrorMessage="宽必须是数字" ValidationExpression="^(-?\d+)(\.\d+)?$"></asp:RegularExpressionValidator>
                             &nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator4" 
                                 runat="server" ControlToValidate="txtdg" Display="Dynamic" 
                                 ErrorMessage="高必须是数字" ValidationExpression="^(-?\d+)(\.\d+)?$"></asp:RegularExpressionValidator>
                         </td>
                     </tr>
                     <tr>
                         <td>
                             背景透明:</td>
                         <td>
                             <asp:RadioButtonList ID="lxt" runat="server" RepeatDirection="Horizontal" 
                                 style="margin-left: 0px">
                                 <asp:ListItem Text="不透明" Value="0" Selected ="true"></asp:ListItem>
                                 <asp:ListItem Text="透明" Value="1"></asp:ListItem>
                             </asp:RadioButtonList>
                         </td>
                     </tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -