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

98 lines
4.3KB

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
  6. <title>生成HTML</title>
  7. <link rel="stylesheet" href="../static/css/bootstrap.min.css">
  8. <link href="../static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  9. <link href="css/base.css" rel="stylesheet" type="text/css">
  10. </head>
  11. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  12. <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center" class="table maintable table-bordered mt-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="28" colspan="2" background='images/tbg.gif'>
  19. <table width="98%" border="0" cellpadding="0" cellspacing="0" class="table table-borderless">
  20. <tr>
  21. <td width="30%" height="18" style="padding-left:10px;"><strong>更新文档HTML:</strong></td>
  22. <td width="70%" align="right">
  23. <a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>"
  24. class="btn btn-secondary btn-sm">更新栏目HTML</a>
  25. </td>
  26. </tr>
  27. </table>
  28. </td>
  29. </tr>
  30. <tr>
  31. <td width="108" valign="top" bgcolor="#FFFFFF">选择栏目:</td>
  32. <td width="377" valign="top" bgcolor="#FFFFFF">
  33. <?php
  34. if(empty($cid)) $cid="0";
  35. $tl = new TypeLink($cid);
  36. $typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0);
  37. echo "<select name='typeid' style='width:300'>\r\n";
  38. if($cid=="0") echo "<option value='0' selected>更新所有文档...</option>\r\n";
  39. echo $typeOptions;
  40. echo "</select>";
  41. ?>
  42. </td>
  43. </tr>
  44. <tr>
  45. <td height="20" valign="top" bgcolor="#FFFFFF">起始ID:</td>
  46. <td height="20" valign="top" bgcolor="#FFFFFF"><input name="startid" type="text" id="startid" size="10">
  47. (空或0表示从头开始)</td>
  48. </tr>
  49. <tr>
  50. <td height="20" valign="top" bgcolor="#FFFFFF">结束ID:</td>
  51. <td height="20" valign="top" bgcolor="#FFFFFF"><input name="endid" type="text" id="endid" size="10">
  52. (空或0表示直到结束ID) </td>
  53. </tr>
  54. <tr>
  55. <td height="20" bgcolor="#FFFFFF">每页生成:</td>
  56. <td height="20" bgcolor="#FFFFFF"> <input name="pagesize" type="text" id="pagesize" value="20" size="8">
  57. 个文件</td>
  58. </tr>
  59. <tr>
  60. <td height="20" colspan="2" bgcolor="#ffffff" align="center">
  61. <button name="b112" type="button" class='btn btn-secondary' onClick="document.form1.submit();"
  62. >开始生成HTML</button>
  63. &nbsp;
  64. <button type="button" name="b113" class='btn btn-secondary' onClick="document.form2.submit();"
  65. >查看所有文档</button></td>
  66. </tr>
  67. </form>
  68. <tr bgcolor="#F9FCEF">
  69. <td height="20" colspan="2">
  70. <table width="100%" class="table table-borderless">
  71. <tr>
  72. <td width="74%">进行状态: </td>
  73. <td width="26%" align="right">
  74. <script language='javascript'>
  75. function ResizeDiv(obj, ty) {
  76. if (ty == "+") document.all[obj].style.pixelHeight += 50;
  77. else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
  78. }
  79. </script>
  80. [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>]
  81. </td>
  82. </tr>
  83. </table>
  84. </td>
  85. </tr>
  86. <tr bgcolor="#FFFFFF">
  87. <td colspan="2" id="mtd">
  88. <div id='mdv' style='width:100%;height:350px;'>
  89. <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
  90. </div>
  91. </td>
  92. </tr>
  93. </table>
  94. </body>
  95. </html>