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

135 lines
4.5KB

  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>修改连载内容</title>
  6. <link href='css/base.css' rel='stylesheet' type='text/css'>
  7. <script language="javascript" src="js/main.js"></script>
  8. <script language="javascript" src="../static/js/dedeajax2.js"></script>
  9. <script language="javascript" src="js/story.js"></script>
  10. <style type="text/css">
  11. <!--
  12. #addCatalog {
  13. position:absolute;
  14. left:455px;
  15. top:64px;
  16. width:325px;
  17. height:238px;
  18. z-index:2;
  19. background-color: #F2FDDB;
  20. border:1px solid #889D8F;
  21. padding:6px;
  22. display:none
  23. }
  24. #editCatalog {
  25. position:absolute;
  26. left:455px;
  27. top:64px;
  28. width:325px;
  29. height:238px;
  30. z-index:1;
  31. background-color: #F2FDDB;
  32. border:1px solid #889D8F;
  33. padding:6px;
  34. display:none
  35. }
  36. -->
  37. </style>
  38. </head>
  39. <body leftmargin='8' topmargin='8'>
  40. <div class="bodytitle">
  41. <div class="bodytitleleft"></div>
  42. <div class="bodytitletxt">小说管理</div>
  43. </div>
  44. <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#CFCFCF;">
  45. <tr>
  46. <td bgcolor="#EDF9D5" class="tbtitletxt">
  47. <table width='96%' border="0" cellpadding='0' cellspacing='0'>
  48. <tr>
  49. <td width='30%' class="tbtitletxt"><strong>内容(小说类)&gt;&gt;修改内容</strong></td>
  50. <td align='right'>
  51. [<a href="story_list_content.php"><u>本图书内容列表</u></a>]
  52. &nbsp;
  53. [<a href="story_books.php"><u>所有图书</u></a>]
  54. </td>
  55. </tr>
  56. </table>
  57. </td>
  58. </tr>
  59. </table>
  60. <form name='form1' action='story_edit_content_action.php' method='post'>
  61. <input type='hidden' name='cid' value='<?php echo $cid; ?>' />
  62. <input type='hidden' name='bookid' value='<?php echo $bookid; ?>' />
  63. <input type='hidden' name='catid' value='<?php echo $catid; ?>' />
  64. <input type='hidden' name='bookname' value='<?php echo str_replace("'","`",$bookname); ?>' />
  65. <input type='hidden' name='booktype' value='<?php echo $booktype; ?>' />
  66. <table width="96%" border="0" cellpadding="5" cellspacing="1" align="center" style=" border:1px solid #CFCFCF;line-height:31px;margin:auto;">
  67. <tr>
  68. <td height="116" bgcolor="#FFFFFF" style="padding:0px 6px 6px 10px;">
  69. <table width="98%" border="0" cellspacing="0" cellpadding="0">
  70. <tr>
  71. <td height="32" class="bline">章节标题:</td>
  72. <td class="bline"><input name="title" type="text" id="title" size="35" value="<?php echo $contents['title']; ?>" /></td>
  73. </tr>
  74. <tr>
  75. <td style="width:120px" class="bline">隶属图书名称:</td>
  76. <td class="bline">
  77. <?php echo $bookname; ?>
  78. </td>
  79. </tr>
  80. <tr>
  81. <td style="width:120px" class="bline">在章节中的顺序:</td>
  82. <td class="bline">
  83. <input name="sortid" type="text" id="sortid" size="5" value="<?php echo $contents['sortid']; ?>" />
  84. </td>
  85. </tr>
  86. <tr>
  87. <td height="32" class="bline">
  88. 隶属章节:<br />
  89. <input name="addchapter" type="checkbox" onClick="ShowHideSelChapter('selchap','newchap')" id="addchapter" value="1" />
  90. 添加新章节
  91. </td>
  92. <td class="bline" style="padding-top:5px;padding-bottom:5px">
  93. <span id='selchap' style="display:block">
  94. <select name="chapterid" size="5" id="chapterid" style="width:250px">
  95. <?php
  96. foreach($chapters as $k=>$v){
  97. if($k==$contents['chapterid']){ echo " <option value='$k' selected>第{$chapnums[$k]}章 $v</option>\r\n"; }
  98. else echo " <option value='$k'>第{$chapnums[$k]}章 $v</option>\r\n";
  99. }
  100. ?>
  101. </select>
  102. </span>
  103. <span id="newchap" style="display:none">
  104. 新章节名称:
  105. <input name="chapternew" type="text" id="chapternew" size="30" />
  106. <br />
  107. (如果没有可选章节或已有章节已经结束,请填写新章节名称,名称上不需加“第X章”这样的字样)
  108. </span>
  109. </td>
  110. </tr>
  111. <tr>
  112. <td height="32" class="bline">章节内容:</td>
  113. <td class="bline">&nbsp;</td>
  114. </tr>
  115. <tr>
  116. <td height="82" colspan="2"><?php
  117. GetEditor("body",GetBookText($contents['id']),300,"Small");
  118. ?></td>
  119. </tr>
  120. <tr>
  121. <td height="70">&nbsp;</td>
  122. <td><input type="submit" name="Submit" value="保 存" />  
  123. <input type="reset" name="Submit2" value="重 置" /></td>
  124. </tr>
  125. </table></td>
  126. </tr>
  127. </table>
  128. </form>
  129. </div>
  130. </body>
  131. </html>