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

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