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

87 lines
3.8KB

  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 href="css/base.css" rel="stylesheet" type="text/css">
  7. </head>
  8. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  9. <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#D6D6D6" align="center">
  10. <form name='form2' action='content_list.php' method="get" target='stafrm'>
  11. <input type='hidden' name='nullfield' value='ok'>
  12. </form>
  13. <form name="form1" action="makehtml_archives_action.php" method="get" target='stafrm'>
  14. <tr>
  15. <td height="28" colspan="2" background='images/tbg.gif'>
  16. <table width="98%" border="0" cellpadding="0" cellspacing="0">
  17. <tr>
  18. <td width="30%" height="18" style="padding-left:10px;"><strong>更新文档HTML:</strong></td>
  19. <td width="70%" align="right">
  20. <a href="makehtml_list.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>" class="np coolbg">更新栏目HTML</a>
  21. </td>
  22. </tr>
  23. </table></td>
  24. </tr>
  25. <tr>
  26. <td width="108" valign="top" bgcolor="#FFFFFF">选择栏目:</td>
  27. <td width="377" valign="top" bgcolor="#FFFFFF">
  28. <?php
  29. if(empty($cid)) $cid="0";
  30. $tl = new TypeLink($cid);
  31. $typeOptions = $tl->GetOptionArray($cid,$admin_catalogs,0);
  32. echo "<select name='typeid' style='width:300'>\r\n";
  33. if($cid=="0") echo "<option value='0' selected>更新所有文档...</option>\r\n";
  34. echo $typeOptions;
  35. echo "</select>";
  36. ?>
  37. </td>
  38. </tr>
  39. <tr>
  40. <td height="20" valign="top" bgcolor="#FFFFFF">起始ID:</td>
  41. <td height="20" valign="top" bgcolor="#FFFFFF"><input name="startid" type="text" id="startid" size="10">
  42. (空或0表示从头开始)</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="endid" type="text" id="endid" size="10">
  47. (空或0表示直到结束ID) </td>
  48. </tr>
  49. <tr>
  50. <td height="20" bgcolor="#FFFFFF">每页生成:</td>
  51. <td height="20" bgcolor="#FFFFFF"> <input name="pagesize" type="text" id="pagesize" value="20" size="8">
  52. 个文件</td>
  53. </tr>
  54. <tr>
  55. <td height="20" colspan="2" bgcolor="#ffffff" align="center">
  56. <input name="b112" type="button" class='coolbg np' value="开始生成HTML" onClick="document.form1.submit();" style="width:100">
  57. &nbsp;
  58. <input type="button" name="b113" value="查看所有文档" class='coolbg np' onClick="document.form2.submit();" style="width:100"></td>
  59. </tr>
  60. </form>
  61. <tr bgcolor="#F9FCEF">
  62. <td height="20" colspan="2"> <table width="100%">
  63. <tr>
  64. <td width="74%">进行状态: </td>
  65. <td width="26%" align="right">
  66. <script language='javascript'>
  67. function ResizeDiv(obj,ty)
  68. {
  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='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>]
  74. </td>
  75. </tr>
  76. </table></td>
  77. </tr>
  78. <tr bgcolor="#FFFFFF">
  79. <td colspan="2" id="mtd">
  80. <div id='mdv' style='width:100%;height:350px;'>
  81. <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
  82. </div>
  83. </td>
  84. </tr>
  85. </table>
  86. </body>
  87. </html>