<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sitewatermark.aspx.cs" Inherits="Kcms.UI.admin.sitewatermark" %>
<%@ Register assembly="PageNavigator" namespace="KcNavigator" tagprefix="Kc" %>
<!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 href="skins/work-style.css" rel="stylesheet" type="text/css" />
    <script src="/inc/artDialog/artDialog.min.js" type="text/javascript"></script>
    <script src="../scripts/public.js" type="text/javascript"></script>
</head>
<body>
    <form id="form2" runat="server">
<div class="container">
 <div class="path clearfix"><div class="l"><h4><img src="skins/icon/accountmanagement_summ.gif" align="absmiddle" />水印设置</h4></div><div class="r"><asp:Literal ID="litAdv" runat="server"></asp:Literal></div></div>
 <div class="mbox clearfix">
  <div class="left">
    <a href="siteconfig.aspx">基本设置</a>
    <a href="siteemail.aspx">邮箱设置</a>
    <a href="sitewatermark.aspx" class="on">水印设置</a>
    <a href="sitemailtemp.aspx">邮件模版</a>
  </div>
  <div class="right">
<table class="rtable" width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
<tr>
  <td width="20%">是否启用图片水印：</td>
  <td>
      <asp:CheckBox ID="chkIsAct" runat="server" Text="是" />
    </td>
</tr>
<tr>
  <td width="20%">水印格式：</td>
  <td>
      <asp:RadioButtonList ID="chkType" runat="server" 
          RepeatDirection="Horizontal" RepeatLayout="Flow">
          <asp:ListItem Value="1">图片</asp:ListItem>
          <asp:ListItem Selected="True" Value="2">文字</asp:ListItem>
      </asp:RadioButtonList>
    </td>
</tr>
<tr>
  <td>水印图片：</td>
  <td>
<%--      <asp:TextBox ID="txtPicUrl" runat="server" Width="220px" onfocus="this.blur()"></asp:TextBox>
      <br />
      <asp:FileUpload ID="fileUp" runat="server" CssClass="fileup"/>
      <asp:Button ID="Button1" runat="server" CssClass="btn0" onclick="Button1_Click" 
          Text="上传水印图片" />
      <br />
      jpg、gif、png、bmp格式200K以内文件--%>

<asp:TextBox ID="pid_v" Text="0" runat="server" style="display:none;"></asp:TextBox><p id="pid" class="picbg" onclick="javascript:showUpload('pid', 2,0);"><asp:Literal ID="litPic" runat="server"></asp:Literal></p>
      
      </td>
</tr>
<tr>
  <td>水印文字：</td>
  <td>
      <asp:TextBox ID="txtText" runat="server" Width="220px"></asp:TextBox>
    </td>
</tr>
<tr>
  <td>水印位置：</td>
  <td>
      <asp:DropDownList ID="drpStatus" 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:ListItem Value="7">左侧下部</asp:ListItem>
          <asp:ListItem Value="8">中间下部</asp:ListItem>
          <asp:ListItem Value="9" Selected="True">右侧下部</asp:ListItem>
      </asp:DropDownList>
    </td>
</tr>
<tr>
  <td>透明度：</td>
  <td>
      <asp:DropDownList ID="drpTransparency" runat="server">
          <asp:ListItem>1</asp:ListItem>
          <asp:ListItem Selected="True">2</asp:ListItem>
          <asp:ListItem>3</asp:ListItem>
          <asp:ListItem>4</asp:ListItem>
          <asp:ListItem>5</asp:ListItem>
          <asp:ListItem>6</asp:ListItem>
          <asp:ListItem>7</asp:ListItem>
          <asp:ListItem>8</asp:ListItem>
          <asp:ListItem>9</asp:ListItem>
          <asp:ListItem>10</asp:ListItem>
      </asp:DropDownList>
    </td>
</tr>
<tr>
  <td>&nbsp;</td>
  <td><asp:Button ID="btnPost" runat="server" CssClass="btn0" Text="保 存" 
          onclick="btnPost_Click" /></td>
</tr>
</table>
  </div>
 </div>
</div>
</form>
</body>
</html>