国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

164 líneas
7.9KB

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