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

📄 advanced.aspx

📁 在线 图书网上购物系统
💻 ASPX
📖 第 1 页 / 共 3 页
字号:
        /// 上传自动播放文件功能可上传的文件类型
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Button24_Click(object sender, EventArgs e)
        {
            xml_update(Button24, "templateFilters", templateFilters.Text.Trim());
        }
        </script>
</head>
<body leftmargin=5 topmargin=5>
    <form id="form1" runat="server">
        <table border="1" cellpadding="0" cellspacing="0" width="95%">
    <tr>
        <td style="height: 20px;" colspan="2">
            设置上传文件夹最大的可用空间(单位KB)</td>
    </tr>
    <tr >
        <td style=" height: 20px; width: 90%;">
            <asp:TextBox ID="maxAllUploadSize" runat="server" Width="329px"></asp:TextBox>
      <asp:RangeValidator ID="RangeValidator1" runat="server" BackColor="White" BorderColor="Red"
                BorderWidth="1px" ControlToValidate="maxAllUploadSize" MaximumValue="99999999999999" ErrorMessage="必须是整数,而且最小0"
                MinimumValue="0" Type="Double"></asp:RangeValidator></td>
<td style="height: 20px; text-align: right;">
            <asp:Button ID="Button3" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0"  Height="24px" OnClick="Button3_Click"  /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            设置上传文件单个的最大尺寸(单位KB)</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:TextBox ID="maxSingleUploadSize" runat="server" Width="328px"></asp:TextBox>
      <asp:RangeValidator ID="RangeValidator2" runat="server" BackColor="White" BorderColor="Red"
                BorderWidth="1px" ControlToValidate="maxSingleUploadSize" MaximumValue="99999999999999" ErrorMessage="必须是整数,而且最小0"
                MinimumValue="0" Type="Double"></asp:RangeValidator></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button1" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button1_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            设置上传文件是否自动改名</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:RadioButtonList ID="autoname" runat="server" BackColor="White" RepeatDirection="Horizontal"
                Width="328px">
                <asp:ListItem Value="false">否</asp:ListItem>
                <asp:ListItem Value="true">是</asp:ListItem>
      </asp:RadioButtonList></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button4" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button4_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            设置是否允许上传</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:RadioButtonList ID="allowUpload" runat="server" BackColor="White" RepeatDirection="Horizontal"
                Width="328px">
                <asp:ListItem Value="false">否</asp:ListItem>
                <asp:ListItem Value="true">是</asp:ListItem>
      </asp:RadioButtonList></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button5" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button5_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            是否在上传界面启用水印选择</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:RadioButtonList ID="watermarkOption" runat="server" BackColor="White" RepeatDirection="Horizontal"
                Width="328px">
                <asp:ListItem Value="off">否</asp:ListItem>
                <asp:ListItem Value="on">是</asp:ListItem>
      </asp:RadioButtonList></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button6" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button6_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            是否启用上传图片的文字水印</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:RadioButtonList ID="watermark" runat="server" BackColor="White" RepeatDirection="Horizontal"
                Width="328px">
                <asp:ListItem Value="false">否</asp:ListItem>
                <asp:ListItem Value="true">是</asp:ListItem>
      </asp:RadioButtonList></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button7" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button7_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            开启文字水印后是否保留原件并新建副本</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:RadioButtonList ID="watermarkName" runat="server" BackColor="White" RepeatDirection="Horizontal"
                Width="328px">
                <asp:ListItem Value="false">否</asp:ListItem>
                <asp:ListItem Value="true">是</asp:ListItem>
      </asp:RadioButtonList></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button8" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button8_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            设置水印文字</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:TextBox ID="watermarkText" runat="server" Width="325px"></asp:TextBox>&nbsp;
      <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" BackColor="White"
                BorderColor="Red" BorderWidth="1px" ControlToValidate="watermarkText" ErrorMessage="不能为空"
                Width="107px"></asp:RequiredFieldValidator></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button9" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button9_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            是否启用上传图片的图片水印</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:RadioButtonList ID="watermarkImages" runat="server" BackColor="White" RepeatDirection="Horizontal"
                Width="328px">
                <asp:ListItem Value="false">否</asp:ListItem>
                <asp:ListItem Value="true">是</asp:ListItem>
      </asp:RadioButtonList></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button10" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button10_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            开启图片水印后是否保留原件并新建副本</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:RadioButtonList ID="watermarkImagesName" runat="server" BackColor="White" RepeatDirection="Horizontal"
                Width="328px">
                <asp:ListItem Value="false">否</asp:ListItem>
                <asp:ListItem Value="true">是</asp:ListItem>
      </asp:RadioButtonList></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button11" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button11_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            设置图片水印所在的位置(自动存为logo.gif)</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:TextBox ID="watermarkImages_path" runat="server" Width="326px"></asp:TextBox><br />
            <asp:FileUpload ID="FileUpload1" runat="server" Width="326px" />
      <asp:Button ID="Button2" runat="server" Height="19px" OnClick="Button2_Click" Text="上传"
                Width="71px" /></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button12" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button12_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            是否启用缩略图</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:RadioButtonList ID="smallImages" runat="server" BackColor="White" RepeatDirection="Horizontal"
                Width="328px">
                <asp:ListItem Value="false">否</asp:ListItem>
                <asp:ListItem Value="true">是</asp:ListItem>
      </asp:RadioButtonList></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button13" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button13_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            开启缩略图后是否保留原件并新建副本</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:RadioButtonList ID="smallImagesName" runat="server" BackColor="White" RepeatDirection="Horizontal"
                Width="328px">
                <asp:ListItem Value="false">否</asp:ListItem>
                <asp:ListItem Value="true">是</asp:ListItem>
      </asp:RadioButtonList></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button14" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button14_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            缩略图缩放类型,HW:指定高宽缩放(可能变形)。W:指定宽,高按比例。H:指定高,宽按比例。Cut:指定高宽裁减(不变形)</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:RadioButtonList ID="smallImagesType" runat="server" BackColor="White" RepeatDirection="Horizontal"
                Width="324px">
                <asp:ListItem>HW</asp:ListItem>
                <asp:ListItem>W</asp:ListItem>
                <asp:ListItem>H</asp:ListItem>
                <asp:ListItem>CUT</asp:ListItem>
      </asp:RadioButtonList></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button15" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button15_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            缩略图宽度</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:TextBox ID="smallImagesW" runat="server" Width="323px"></asp:TextBox>
      <asp:RangeValidator ID="RangeValidator3" runat="server" BackColor="White" BorderColor="Red"
                BorderWidth="1px" ControlToValidate="smallImagesW" ErrorMessage="必须是整数,不能为负数"
                MinimumValue="0" MaximumValue="9999" Type="Double"></asp:RangeValidator></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button16" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button16_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            缩略图高度</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:TextBox ID="smallImagesH" runat="server" Width="322px"></asp:TextBox>
      <asp:RangeValidator ID="RangeValidator4" runat="server" BackColor="White" BorderColor="Red"
                BorderWidth="1px" ControlToValidate="smallImagesH" ErrorMessage="必须是整数,不能为负数"
                MinimumValue="0" MaximumValue="9999" Type="Double"></asp:RangeValidator></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button17" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button17_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            是否允许删除文件</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:RadioButtonList ID="delete" runat="server" BackColor="White" RepeatDirection="Horizontal"
                Width="328px">
                <asp:ListItem Value="false">否</asp:ListItem>
                <asp:ListItem Value="true">是</asp:ListItem>
      </asp:RadioButtonList></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button18" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button18_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            是否允许文件重命名</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:RadioButtonList ID="edit" runat="server" BackColor="White" RepeatDirection="Horizontal"
                Width="328px">
                <asp:ListItem Value="false">否</asp:ListItem>
                <asp:ListItem Value="true">是</asp:ListItem>
      </asp:RadioButtonList></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button19" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button19_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            是否显示文件列表</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:RadioButtonList ID="fileListBox" runat="server" BackColor="White" RepeatDirection="Horizontal"
                Width="328px">
                <asp:ListItem Value="false">否</asp:ListItem>
                <asp:ListItem Value="true">是</asp:ListItem>
      </asp:RadioButtonList></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button20" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button20_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            上传文件功能可上传的文件类型</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:TextBox ID="fileFilters" runat="server" Width="328px"></asp:TextBox></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button21" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button21_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            上传图片功能可上传的文件类型</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:TextBox ID="imagesFilters" runat="server" Width="328px"></asp:TextBox></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button22" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button22_Click" /></td>
    </tr>
    <tr >
        <td style="height: 25px" colspan="2">
            
            上传自动播放文件功能可上传的文件类型</td>
    </tr>
    <tr >
        <td style=" height: 25px; width: 90%;">
            <asp:TextBox ID="mediaFilters" runat="server" Width="328px"></asp:TextBox></td>
      <td style="height: 25px; text-align: right;"><asp:Button ID="Button23" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button23_Click" /></td>
    </tr>
            <tr >
                <td colspan="2" style="height: 25px; text-align: left">
                    上传模板功能可上传的文件类型</td>
            </tr>
            <tr >
                <td style=" height: 25px; width: 90%;">
                    <asp:TextBox ID="templateFilters" runat="server" Width="328px"></asp:TextBox></td>
                <td style="height: 25px; text-align: right">
                    <asp:Button ID="Button24" runat="server" Text="更新" Width="112px" BorderColor="#E0E0E0" Height="24px" OnClick="Button24_Click" /></td>
            </tr>
</table>

</form>
</body>
<script language=javascript>
var userAgent = navigator.userAgent.toLowerCase();
var is_ie = (userAgent.indexOf('msie') != -1);
if(is_ie)
{
document.body.bgColor="ButtonFace";
}
else
{
document.body.bgColor="#E0E0E0";
document.body.onunload=window.opener.location.reload();
}
</script>
</html>

⌨️ 快捷键说明

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