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

95 lines
4.2KB

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