<link href="styles/general.css" rel="stylesheet" type="text/css" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/utils.js"></script>
<script src="../js/jquery/jquery.js"></script>
<script src="../js/jquery/jquery.colorPicker.js"></script>
<body>
<h1>
<span class="action-span1"><a href="?ctl=index&act=admin_main"><tpl>$common_admin_index</tpl><!--管理首页--></a> >> <tpl>$system_watermark_set</tpl><!--水印设置--></span>
<div style="clear:both"></div>
</h1>
<div class="main-div">
<form method="post" action="index.php?ctl=system&act=watermark_set_save" enctype="multipart/form-data" name="theForm">
<table width="100%" >
  <tr>
    <td width="45%" class="label"><tpl>$open_watermark</tpl><!--水印功能-->:</td>
    <td width="55%"><tpl>$open_watermark_radio</tpl></td>
  </tr>
  <tr>
    <td class="label"><tpl>$water_type</tpl><!--水印类型-->:</td>
    <td><tpl>$water_type_radio</tpl></td>
  </tr>
  <tr>
    <td class="label"><tpl>$water_old_image</tpl><!--水印图片-->:</td>
    <td><tpl>if $watermark_info['water_image_upload']['system_value'] != ''</tpl><img src="<tpl>WEB_HOST</tpl>/data/watermark.jpg" border="0"><input type="hidden" name="water_image_upload" value="watermark.jpg" /><tpl>/if</tpl></td>
  </tr>
  <tr>
    <td class="label"><tpl>$water_image</tpl><!--水印图片上传-->:</td>
    <td><input name="water_image" type="file"></td>
  </tr>
    </tr>
  <tr>
    <td class="label"><tpl>$text_string</tpl><!--水印文字内容-->:</td>
    <td><input type="text" name="text_string" size="20" value="<tpl>$watermark_info['text_string']['system_value']</tpl>" /></td>
  </tr>
  <tr>
    <td class="label"><tpl>$text_size</tpl><!--水印文字大小-->:</td>
    <td><input type="text" name="text_size" size="10" value="<tpl>$watermark_info['text_size']['system_value']</tpl>" /></td>
  </tr>
  <tr>
    <td class="label"><tpl>$text_color</tpl><!--水印文字颜色-->:</td>
    <td><input type="text" name="text_color" id="text_color" size="10" readonly="readonly" value="<tpl>$watermark_info['text_color']['system_value']</tpl>"/><img src="../js/jquery/color.gif" style="BACKGROUND-COLOR:<tpl>$watermark_info['text_color']['system_value']</tpl>" width="21" height="18" onclick="$(this).colorPicker({ setValue:$(this).prev('input') })" align="absmiddle" /></td>
  </tr>
  <tr>
    <td class="label"><tpl>$diaphaneity</tpl><!--水印透明度-->:</td>
    <td><input type="text" name="diaphaneity" size="10" value="<tpl>$watermark_info['diaphaneity']['system_value']</tpl>" /></td>
  </tr>
  <tr>
    <td class="label"><tpl>$position</tpl><!--水印位置-->:</td>
    <td><tpl>$position_radio</tpl></td>
  </tr>
    </tr>
  <tr>
    <td colspan="2" align="center">
	<tpl>foreach $watermark_info as $var</tpl>
	<input type="hidden" name="warter_mark[]" value="<tpl>$var['system_name']</tpl>" />
	<tpl>/foreach</tpl>
      <input type="submit" value="<tpl>$system_watermark_save</tpl>" class="button" />
      <input type="reset" value="<tpl>$system_watermark_reset</tpl>" class="button" />
      </td>
  </tr>
</table>

</form>
</div>
<div id="footer">
<tpl>$common_copyright</tpl>
</div>
</body>
