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

84 lines
3.6KB

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