国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

134 linhas
7.6KB

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