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

93 lines
4.1KB

  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="form1" action="makehtml_list_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" class="table table-borderless">
  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_archives.php?typeid=<?php echo (isset($typeid) ? $typeid : 0); ?>"
  21. class="btn btn-secondary btn-sm">更新文档HTML</a>
  22. <a href="catalog_main.php" class="btn btn-secondary 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,1);
  35. echo "<select name='typeid' style='width:300px'>\r\n";
  36. if($cid=='0') echo "<option value='0' selected='1'>更新所有栏目...</option>\r\n";
  37. echo $typeOptions;
  38. echo "</select>";
  39. ?>
  40. </td>
  41. </tr>
  42. <tr>
  43. <td height="20" valign="top" bgcolor="#FFFFFF">每次最大创建页数:</td>
  44. <td height="20" valign="top" bgcolor="#FFFFFF"><input name="maxpagesize" type="text" id="maxpagesize" value="50"
  45. size="10">
  46. 个文件 </td>
  47. </tr>
  48. <tr>
  49. <td height="20" valign="top" bgcolor="#FFFFFF">是否更新子栏目:</td>
  50. <td height="20" valign="top" bgcolor="#FFFFFF">
  51. <label><input name="upnext" type="radio" class="np" value="1" checked='1' />
  52. 更新子级栏目</label>
  53. <label><input type="radio" name="upnext" class="np" value="0" />
  54. 仅更新所选栏目</label>
  55. </td>
  56. </tr>
  57. <tr>
  58. <td height="20" colspan="2" bgcolor="#ffffff" align="center">
  59. <button name="b112" type="button" class="btn btn-secondary" onClick="document.form1.submit();">开始生成HTML</button>
  60. </td>
  61. </tr>
  62. </form>
  63. <tr bgcolor="#F9FCEF">
  64. <td height="20" colspan="2">
  65. <table width="100%" class="table table-borderless">
  66. <tr>
  67. <td width="74%">进行状态: </td>
  68. <td width="26%" align="right">
  69. <script language='javascript'>
  70. function ResizeDiv(obj, ty) {
  71. if (ty == "+") document.all[obj].style.pixelHeight += 50;
  72. else if (document.all[obj].style.pixelHeight > 80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50;
  73. }
  74. </script>
  75. [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>]
  76. </td>
  77. </tr>
  78. </table>
  79. </td>
  80. </tr>
  81. <tr bgcolor="#FFFFFF">
  82. <td colspan="2" id="mtd">
  83. <div id='mdv' style='width:100%;height:350px;'>
  84. <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe>
  85. </div>
  86. </td>
  87. </tr>
  88. </table>
  89. </body>
  90. </html>