<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"><?php  echo $common_admin_index; ?><!--管理首页--></a> >> <?php  echo $system_watermark_set; ?><!--水印设置--></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"><?php  echo $open_watermark; ?><!--水印功能-->:</td>
    <td width="55%"><?php  echo $open_watermark_radio; ?></td>
  </tr>
  <tr>
    <td class="label"><?php  echo $water_type; ?><!--水印类型-->:</td>
    <td><?php  echo $water_type_radio; ?></td>
  </tr>
  <tr>
    <td class="label"><?php  echo $water_old_image; ?><!--水印图片-->:</td>
    <td><?php  if ( $watermark_info['water_image_upload']['system_value'] != '') { ?><img src="<?php  echo WEB_HOST; ?>/data/watermark.jpg" border="0"><input type="hidden" name="water_image_upload" value="watermark.jpg" /><?php } ?></td>
  </tr>
  <tr>
    <td class="label"><?php  echo $water_image; ?><!--水印图片上传-->:</td>
    <td><input name="water_image" type="file"></td>
  </tr>
    </tr>
  <tr>
    <td class="label"><?php  echo $text_string; ?><!--水印文字内容-->:</td>
    <td><input type="text" name="text_string" size="20" value="<?php  echo $watermark_info['text_string']['system_value']; ?>" /></td>
  </tr>
  <tr>
    <td class="label"><?php  echo $text_size; ?><!--水印文字大小-->:</td>
    <td><input type="text" name="text_size" size="10" value="<?php  echo $watermark_info['text_size']['system_value']; ?>" /></td>
  </tr>
  <tr>
    <td class="label"><?php  echo $text_color; ?><!--水印文字颜色-->:</td>
    <td><input type="text" name="text_color" id="text_color" size="10" readonly="readonly" value="<?php  echo $watermark_info['text_color']['system_value']; ?>"/><img src="../js/jquery/color.gif" style="BACKGROUND-COLOR:<?php  echo $watermark_info['text_color']['system_value']; ?>" width="21" height="18" onclick="$(this).colorPicker({ setValue:$(this).prev('input') })" align="absmiddle" /></td>
  </tr>
  <tr>
    <td class="label"><?php  echo $diaphaneity; ?><!--水印透明度-->:</td>
    <td><input type="text" name="diaphaneity" size="10" value="<?php  echo $watermark_info['diaphaneity']['system_value']; ?>" /></td>
  </tr>
  <tr>
    <td class="label"><?php  echo $position; ?><!--水印位置-->:</td>
    <td><?php  echo $position_radio; ?></td>
  </tr>
    </tr>
  <tr>
    <td colspan="2" align="center">
	<?php  foreach ( $watermark_info as $var) { ?>
	<input type="hidden" name="warter_mark[]" value="<?php  echo $var['system_name']; ?>" />
	<?php } ?>
      <input type="submit" value="<?php  echo $system_watermark_save; ?>" class="button" />
      <input type="reset" value="<?php  echo $system_watermark_reset; ?>" class="button" />
      </td>
  </tr>
</table>

</form>
</div>
<div id="footer">
<?php  echo $common_copyright; ?>
</div>
</body>
