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

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