国内流行的内容管理系统(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.

90 lines
3.5KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang; ?>">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  6. <title>更新文档</title>
  7. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  9. <link rel="stylesheet" href="../static/web/css/admin.css">
  10. </head>
  11. <body>
  12. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  13. <form name='form2' action='content_list.php' method="get" target='stafrm'>
  14. <input type='hidden' name='nullfield' value='ok'>
  15. </form>
  16. <form name="form1" action="makehtml_archives_action.php" method="get" target='stafrm'>
  17. <tr>
  18. <td height="26" colspan="2" background="../static/web/img/tbg.gif">
  19. <table width="98%" cellpadding="0" cellspacing="0" class="table table-borderless">
  20. <tr>
  21. <td width="30%" style="padding-left:10px">更新文档</td>
  22. <td width="70%" align="right">
  23. <a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="btn btn-success btn-sm">更新栏目</a>
  24. </td>
  25. </tr>
  26. </table>
  27. </td>
  28. </tr>
  29. <tr>
  30. <td width="260" height="26">选择栏目:</td>
  31. <td height="26">
  32. <?php
  33. if(empty($cid)) $cid="0";
  34. $tl = new TypeLink($cid);
  35. $typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0);
  36. echo "<select name='typeid' style='width:260px'>";
  37. if($cid=="0") echo "<option value='0' selected>更新所有文档</option>";
  38. echo $typeOptions;
  39. echo "</select>";
  40. ?>
  41. </td>
  42. </tr>
  43. <tr>
  44. <td height="26">起始ID:</td>
  45. <td height="26"><input name="startid" type="text" id="startid" style="width:60px">(空或0表示从头开始)</td>
  46. </tr>
  47. <tr>
  48. <td height="26">结束ID:</td>
  49. <td height="26"><input name="endid" type="text" id="endid" style="width:60px">(空或0表示直到结束ID)</td>
  50. </tr>
  51. <tr>
  52. <td height="26">每页生成:</td>
  53. <td height="26"> <input name="pagesize" type="text" id="pagesize" value="20" style="width:60px"> 个文件</td>
  54. </tr>
  55. <tr>
  56. <td height="26" bgcolor="#F8FCF1" colspan="2" align="center">
  57. <button name="b112" type="button" class="btn btn-success btn-sm" onClick="document.form1.submit();">开始更新</button>
  58. <button type="button" name="b113" class="btn btn-success btn-sm" onClick="document.form2.submit();">查看所有文档</button>
  59. </td>
  60. </tr>
  61. </form>
  62. <tr>
  63. <td height="26" colspan="2">
  64. <table width="100%" class="table table-borderless">
  65. <tr>
  66. <td width="70%">结果:</td>
  67. <td width="30%" align="right">
  68. <script>
  69. function ResizeDiv(obj, ty) {
  70. if (ty == "+") document.all[obj].style.pixelHeight += 50;
  71. else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
  72. }
  73. </script>
  74. <a href="javascript:;" onClick="ResizeDiv('mdv','+');" class="btn btn-success btn-sm">增大</a>
  75. <a href="javascript:;" onClick="ResizeDiv('mdv','-');" class="btn btn-success btn-sm">缩小</a>
  76. </td>
  77. </tr>
  78. </table>
  79. </td>
  80. </tr>
  81. <tr>
  82. <td colspan="2" id="mtd">
  83. <div id="mdv" style="width:100%;height:360px">
  84. <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
  85. </div>
  86. </td>
  87. </tr>
  88. </table>
  89. </body>
  90. </html>