国内流行的内容管理系统(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.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. <script language="javascript" src="js/main.js"></script>
  7. <script language="javascript" src="../static/js/dedeajax2.js"></script>
  8. <script language="javascript" src="js/story.js"></script>
  9. <link href='css/base.css' rel='stylesheet' type='text/css'>
  10. </head>
  11. <body background='images/allbg.gif' leftmargin='8' topmargin='8'>
  12. <div class="bodytitle">
  13. <div class="bodytitleleft"></div>
  14. <div class="bodytitletxt" style="padding-left:10px;">连载管理</div>
  15. </div>
  16. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" style="background:#CFCFCF;">
  17. <tr>
  18. <td height="25" bgcolor="#EDF9D5" background="images/tbg.gif" class="tbtitletxt">
  19. <table width='96%' border="0" cellpadding='0' cellspacing='0' style="padding-left:10px;">
  20. <tr>
  21. <td width='30%' class="tbtitletxt"><strong>更新连载图书HTML</strong></td>
  22. <td align='right'>[<a href="story_books.php"><u>连载内容列表</u></a>]</td>
  23. </tr>
  24. </table>
  25. </td>
  26. </tr>
  27. </table>
  28. <form name="form1" action="makehtml_story.php" method="get" target='stafrm'>
  29. <input type="hidden" name="action" value="make">
  30. <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" style=" border:1px solid #CFCFCF;line-height:31px;margin:auto;border-top:none;">
  31. <tr>
  32. <td height="20" valign="top" bgcolor="#FFFFFF"> 说明:默认的情况下,本程序只更新图书内容封面的HTML。</td>
  33. </tr>
  34. <tr>
  35. <td height="42" bgcolor="#FFFFFF"> 图书开始ID:
  36. <input name="startid" type="text" id="startid" value="1" size="5" class='alltxt' />
  37. 结束ID:
  38. <input name="endid" type="text" id="endid" value="0" size="5" class='alltxt' />
  39. (0表示从开始到全部)
  40. 每批数量:
  41. <input name="makenum" type="text" id="makenum" value="50" size="5" class='alltxt' />
  42. 栏目:
  43. <select name="catid" id="catid" style="width:150px">
  44. <option value='0'>请选择栏目</option>
  45. <?php
  46. if(!isset($catid)) $catid = 0;
  47. foreach($btypes as $k=>$v)
  48. {
  49. if($catid!=$k) echo "<option value='$k'>[{$booktypes[$k]}]$v</option>\r\n";
  50. else echo "<option value='$k' selected>[{$booktypes[$k]}]$v</option>\r\n";
  51. foreach($stypes[$k] as $kk=>$vv)
  52. {
  53. if($catid!=$kk) echo "<option value='$kk'> --[{$booktypes[$k]}]$vv</option>\r\n";
  54. else echo "<option value='$kk' selected> --[{$booktypes[$k]}]$vv</option>\r\n";
  55. }
  56. }
  57. ?>
  58. </select>
  59. </td>
  60. </tr>
  61. <tr>
  62. <td height="42" align="center" bgcolor="#FFFFFF">
  63. <input name="b112" type="button" value="开始生成HTML" onClick="document.form1.submit();" class='np coolbg' />
  64. </td>
  65. </tr>
  66. <tr bgcolor="#F9FCEF">
  67. <td height="20" bgcolor="#F9FCEF">
  68. <table width="100%">
  69. <tr>
  70. <td width="74%">进行状态: </td>
  71. <td width="26%" align="right">
  72. <script language='JavaScript' type="text/javascript">
  73. function ResizeDiv(obj,ty)
  74. {
  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='#' onclick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onclick="ResizeDiv('mdv','-');">缩小</a>] </td>
  80. </tr>
  81. </table>
  82. </td>
  83. </tr>
  84. <tr bgcolor="#FFFFFF">
  85. <td id="mtd">
  86. <div id='mdv' style='width:100%;height:100;'>
  87. <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="250"></iframe>
  88. </div>
  89. </td>
  90. </tr>
  91. </table>
  92. </form>
  93. </body>
  94. </html>