<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Config_XML.aspx.cs" Inherits="PanRoor.XML" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script language='JavaScript'>
function SelectColor(sEL,form){
    var dEL = document.all(sEL);
    var url = 'selcolor.aspx?color='+encodeURIComponent(sEL);
    var arr = showModalDialog(url,window,'dialogWidth:280px;dialogHeight:250px;help:no;scroll:no;status:no');
    if (arr) {
        form.value=arr;
        //sEL.style.backgroundColor=arr;
        form.style.backgroundColor=arr;
        form.style.color=arr;
    }
}
</script>
   
  <link href="style.css" type="text/css" rel=stylesheet />
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">   
</head>
<body style="text-align: center" bottommargin="0" leftmargin="0" rightmargin="0" topmargin="0">

    <form id="form1" runat="server">
        <table align="center" border="0" cellpadding="5" cellspacing="0" class="tableBorder">
            <tr>
                <th colspan="4" style="height: 25px" background="image/bg_bottom.gif">
                    图片上传基本设置</th>
            </tr>
            <tr>
                <td align="right" style="width: 25%; height: 22px;">
                    水印功能</td>
                <td align="right" style="text-align: left; width: 326px; height: 22px;">
                    <asp:RadioButtonList ID="rb_NoAndOff" runat="server" RepeatColumns="2" RepeatDirection="Horizontal"
                        RepeatLayout="Flow">
                        <asp:ListItem Value="true">启用</asp:ListItem>
                        <asp:ListItem Value="false">禁用</asp:ListItem>
                    </asp:RadioButtonList></td>
                <td align="right" width="40%" style="height: 22px">
                    图像质量</td>
                <td width="60%" style="height: 22px">
                    <asp:TextBox ID="PicVal" runat="server" Height="20px" MaxLength="3" onkeypress="if (event.keyCode < 48 || event.keyCode >57) event.returnValue = false;"
                        Width="35px"></asp:TextBox>％ <span style="font-size: 8pt; color: #ff0000">* 最大值为100</span></td>
            </tr>
            <tr>
                <td align="right" style="width: 25%">
                    水印图片路径
                </td>
                <td align="right" style="text-align: left; width: 326px;">
                    <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label><br />
                    <asp:FileUpload ID="img" runat="server" Width="149px" /></td>
                <td align="right" id="TD1">
                    自定义水印位置<span style="color: #ff0000">X</span>轴</td>
                <td>
                    <asp:TextBox ID="tb_PlaceX" runat="server" Width="45px"></asp:TextBox>像素</td>
            </tr>
            <tr style="color: #000000">
                <td align="right" class="forumRowHighlight" style="height: 34px; width: 25%;">
                    水印透明度</td>
                <td align="right" class="forumRowHighlight" style="height: 34px; text-align: left; width: 326px;">
                    <asp:TextBox ID="tb_Transparence" runat="server" onkeypress="if (event.keyCode < 48 || event.keyCode >57) event.returnValue = false;"
 Width="35px" MaxLength="3" Height="20px"></asp:TextBox>％
                    <span style="color: #ff0000; font-size:8pt">* 最大值为100</span></td>
                <td align="right" class="forumRowHighlight" style="height: 34px">
                    自定义水印位置<span style="color: #ff0000">Y</span>轴</td>
                <td class="forumRowHighlight" style="height: 34px">
                    <asp:TextBox ID="tb_PlaceY" runat="server" Width="45px"></asp:TextBox>像素</td>
            </tr>
            <tr align="center" class="tablefoot">
                <td colspan="4">
                    <asp:Button ID="But_Save" runat="server" Text="保存设置" OnClick="But_Save_Click1" Height="25px" /></td>
            </tr>
        </table>
        <span style="font-size: 14pt"></span>
       
</form> 
</body>
</html>
