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

91 lines
4.1KB

  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 background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'>
  11. <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" class="table maintable table-bordered mt-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%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
  19. <tr>
  20. <td width="30%" height="18" 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="108" valign="top" bgcolor="#FFFFFF">选择栏目:</td>
  30. <td width="377" valign="top" bgcolor="#FFFFFF">
  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:300px'>\r\n";
  36. if($cid=="0") echo "<option value='0' selected>更新所有文档</option>\r\n";
  37. echo $typeOptions;
  38. echo "</select>";
  39. ?>
  40. </td>
  41. </tr>
  42. <tr>
  43. <td height="26" valign="top" bgcolor="#FFFFFF">起始ID:</td>
  44. <td height="26" valign="top" bgcolor="#FFFFFF"><input name="startid" type="text" id="startid" size="10">
  45. (空或0表示从头开始)</td>
  46. </tr>
  47. <tr>
  48. <td height="26" valign="top" bgcolor="#FFFFFF">结束ID:</td>
  49. <td height="26" valign="top" bgcolor="#FFFFFF"><input name="endid" type="text" id="endid" size="10">
  50. (空或0表示直到结束ID)</td>
  51. </tr>
  52. <tr>
  53. <td height="26" bgcolor="#FFFFFF">每页生成:</td>
  54. <td height="26" bgcolor="#FFFFFF"> <input name="pagesize" type="text" id="pagesize" value="20" size="8">
  55. 个文件</td>
  56. </tr>
  57. <tr>
  58. <td height="26" colspan="2" bgcolor="#ffffff" align="center">
  59. <button name="b112" type="button" class='btn btn-success' onClick="document.form1.submit();" >开始更新</button>
  60. &nbsp;
  61. <button type="button" name="b113" class='btn btn-success' onClick="document.form2.submit();" >查看所有文档</button></td>
  62. </tr>
  63. </form>
  64. <tr bgcolor="#f8f8f8">
  65. <td height="26" colspan="2">
  66. <table width="100%" class="table table-borderless">
  67. <tr>
  68. <td width="74%">进行状态:</td>
  69. <td width="26%" align="right">
  70. <script language='javascript'>
  71. function ResizeDiv(obj, ty) {
  72. if (ty == "+") document.all[obj].style.pixelHeight += 50;
  73. else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
  74. }
  75. </script>
  76. [<a href='javascript:;' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='javascript:;' onClick="ResizeDiv('mdv','-');">缩小</a>]
  77. </td>
  78. </tr>
  79. </table>
  80. </td>
  81. </tr>
  82. <tr bgcolor="#FFFFFF">
  83. <td colspan="2" id="mtd">
  84. <div id='mdv' style='width:100%;height:350px;'>
  85. <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
  86. </div>
  87. </td>
  88. </tr>
  89. </table>
  90. </body>
  91. </html>