国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

172 lines
8.2KB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  5. <title>系统配置参数 - 图片水印设置</title>
  6. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  7. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  8. <link href='css/base.css' rel='stylesheet' type='text/css'>
  9. </head>
  10. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  11. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6"
  12. class="table maintable table-bordered mt-3">
  13. <form action="sys_info_mark.php" method="post" enctype="multipart/form-data">
  14. <input type="hidden" name="action" value="save">
  15. <input type="hidden" name="get_photo_markimg" value="<?php echo $photo_markimg?>">
  16. <tr>
  17. <td height="26" colspan="2" bgcolor="#FFFFFF" background="images/tbg.gif" style="padding-left:10px;">
  18. <b>DedeBIZV6系统配置参数</b> - <strong>图片水印设置</strong> </td>
  19. </tr>
  20. <tr bgcolor="#FFFFFF">
  21. <td width="41%" height="24">上传的图片是否使用图片水印功能:<br> </td>
  22. <td width="59%">
  23. <label><input class="np" type="radio" value="1" name="get_photo_markup"
  24. <?php if($photo_markup=='1') echo ' checked';?>></label>
  25. 开启
  26. <label><input class="np" type="radio" value="0" name="get_photo_markup"
  27. <?php if($photo_markup=='0') echo ' checked';?>>
  28. 关闭</label>
  29. </td>
  30. </tr>
  31. <tr bgcolor="#FFFFFF">
  32. <td height="24">采集的图片是否使用图片水印功能:</td>
  33. <td>
  34. <label><input class="np" type="radio" value="1" name="get_photo_markdown"
  35. <?php if($photo_markdown=='1') echo ' checked';?>>
  36. 开启</label>
  37. <label><input class="np" type="radio" value="0" name="get_photo_markdown"
  38. <?php if($photo_markdown=='0') echo ' checked';?>>
  39. 关闭</label>
  40. </td>
  41. </tr>
  42. <tr bgcolor="#FFFFFF">
  43. <td height="24">选择水印的文件类型:</td>
  44. <td>
  45. <label><input name="get_photo_marktype" type="radio" value="0"
  46. <?php if($photo_marktype == 0) echo 'checked'?>>
  47. gif</label>
  48. &nbsp;
  49. <label><input type="radio" name="get_photo_marktype" value="1"
  50. <?php if($photo_marktype == 1) echo 'checked'?>> png </label>
  51. &nbsp;<label><input type="radio" name="get_photo_marktype" value="2"
  52. <?php if($photo_marktype == 2) echo 'checked'?>> 文字 </label>
  53. </td>
  54. </tr>
  55. <tr bgcolor="#FFFFFF">
  56. <td height="24">添加水印的图片大小控制(设置为0为不限):</td>
  57. <td> 宽:
  58. <input name="get_photo_wwidth" type=text id="get_photo_wwidth" value="<?php echo $photo_wwidth?>" size="5">
  59. 高:
  60. <input name="get_photo_wheight" type=text id="get_photo_wheight" value="<?php echo $photo_wheight?>" size="5">
  61. </td>
  62. </tr>
  63. <tr bgcolor="#FFFFFF">
  64. <td height="24">水印图片文件名(如果不存在,则使用文字水印):</td>
  65. <td><img src="../data/mark/<?php echo $photo_markimg; ?>" alt="dede"></td>
  66. </tr>
  67. <tr bgcolor="#FFFFFF">
  68. <td height="24">上传新图片:</td>
  69. <td>
  70. <input name="newimg" type="file" id="newimg" style="width:300">
  71. <br>
  72. <?php echo "支持的图片格式:gif png";?> </td>
  73. </tr>
  74. <tr bgcolor="#FFFFFF">
  75. <td height="24">水印图片文字:(请查看data\mark\simhei.ttf字体库是否存在)</td>
  76. <td> <input type="text" name="get_photo_watertext" value="<?php echo $photo_watertext?>"></td>
  77. </tr>
  78. <tr bgcolor="#FFFFFF">
  79. <td height="24">水印图片文字字体大小:</td>
  80. <td> <input name="get_photo_fontsize" type=text id="get_photo_fontsize" value="<?php echo $photo_fontsize?>">
  81. </td>
  82. </tr>
  83. <tr bgcolor="#FFFFFF">
  84. <td height="24">水印图片文字颜色(默认#FF0000为红色):</td>
  85. <td> <input name="get_photo_fontcolor" type=text id="get_photo_fontcolor" value="<?php echo $photo_fontcolor?>">
  86. </td>
  87. </tr>
  88. <tr bgcolor="#FFFFFF">
  89. <td height="24">设置 JPEG 类型的图片附件添加水印后质量参数,范围为 0~100 的整数,数值越大结果图片效果越好,但尺寸也越大。</td>
  90. <td>
  91. <input type="text" name="get_photo_marktrans" id="get_photo_marktrans" value="<?php echo $photo_marktrans?>">
  92. </td>
  93. </tr>
  94. <tr bgcolor="#FFFFFF">
  95. <td height="24">设置 GIF 类型水印图片与原始图片的融合度,水印透明度(0—100,值越小越透明):</td>
  96. <td><input name="get_photo_diaphaneity" type=text id="get_photo_diaphaneity"
  97. value="<?php echo $photo_diaphaneity?>"></td>
  98. </tr>
  99. <tr bgcolor="#FFFFFF">
  100. <td height="24">水印位置:</td>
  101. <td>
  102. <label><input class="np" type="radio" name="get_photo_waterpos" value="0"
  103. <?php if($photo_waterpos==0) echo ' checked';?>>
  104. 随机位置</label>
  105. <table width="300" border="1" cellspacing="0" cellpadding="0">
  106. <tr>
  107. <td width="33%">
  108. <label><input class="np" type="radio" name="get_photo_waterpos" value="1"
  109. <?php if($photo_waterpos==1) echo ' checked';?>>
  110. 顶部居左</label></td>
  111. <td width="33%">
  112. <label><input class="np" type="radio" name="get_photo_waterpos" value="2"
  113. <?php if($photo_waterpos==2) echo ' checked';?>>
  114. 顶部居中</label></td>
  115. <td>
  116. <label><input class="np" type="radio" name="get_photo_waterpos" value="3"
  117. <?php if($photo_waterpos==3) echo ' checked';?>>
  118. 顶部居右</label></td>
  119. </tr>
  120. <tr>
  121. <td>
  122. <label><input class="np" type="radio" name="get_photo_waterpos" value="4"
  123. <?php if($photo_waterpos==4) echo ' checked';?>>
  124. 左边居中</label></td>
  125. <td>
  126. <label><input class="np" type="radio" name="get_photo_waterpos" value="5"
  127. <?php if($photo_waterpos==5) echo ' checked';?>>
  128. 图片中心</label></td>
  129. <td>
  130. <label><input class="np" type="radio" name="get_photo_waterpos" value="6"
  131. <?php if($photo_waterpos==6) echo ' checked';?>>
  132. 右边居中</label></td>
  133. </tr>
  134. <tr>
  135. <td>
  136. <label><input class="np" type="radio" name="get_photo_waterpos" value="7"
  137. <?php if($photo_waterpos==7) echo ' checked';?>>
  138. 底部居左</label></td>
  139. <td>
  140. <label><input class="np" type="radio" name="get_photo_waterpos" value="8"
  141. <?php if($photo_waterpos==8) echo ' checked';?>>
  142. 底部居中</label></td>
  143. <td>
  144. <label><input name="get_photo_waterpos" type="radio" class="np" value="9"
  145. <?php if($photo_waterpos==9) echo ' checked';?>>
  146. 底部居右</label></td>
  147. </tr>
  148. </table>
  149. </td>
  150. </tr>
  151. <tr bgcolor="#F9FCEF">
  152. <td height="37" colspan="2">
  153. <table width="100%" border="0" cellspacing="0" cellpadding="0" class="table table-borderless">
  154. <tr>
  155. <td width="7%">&nbsp;</td>
  156. <td width="93%" align="center">
  157. <button type="submit" class="btn btn-success">确定</button>
  158.  &nbsp;
  159. <button type="reset" class="btn btn-success">重置</button> </td>
  160. </tr>
  161. </table>
  162. </td>
  163. </tr>
  164. </form>
  165. </table>
  166. </body>
  167. </html>