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

191 lines
7.7KB

  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 background='images/allbg.gif' leftmargin='8' topmargin='8'>
  40. <div class="bodytitle">
  41. <div class="bodytitleleft"></div>
  42. <div class="bodytitletxt">连载管理</div>
  43. </div>
  44. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#CFCFCF;">
  45. <tr>
  46. <td bgcolor="#EDF9D5" background='images/tbg.gif'>
  47. <table width='96%' border="0" cellpadding='0' cellspacing='0'>
  48. <tr>
  49. <td width='30%' class="tbtitletxt"><strong>修改连载图书</strong></td>
  50. <td align='right'>
  51. [<a href="story_books.php"><u>连载内容列表</u></a>]
  52. &nbsp;
  53. [<a href="story_catalog.php"><u>连载栏目管理</u></a>]
  54. </td>
  55. </tr>
  56. </table>
  57. </td>
  58. </tr>
  59. </table>
  60. <form name='form1' action='story_edit_action.php' enctype="multipart/form-data" method='post' onSubmit="return checkSubmitEdit();">
  61. <input type='hidden' name='bookid' value='<?php echo $bookid; ?>' />
  62. <table width="98%" border="0" cellpadding="5" cellspacing="1" align="center" style=" border:1px solid #CFCFCF;line-height:31px;margin:auto;">
  63. <tr>
  64. <td height="116" bgcolor="#FFFFFF" style="padding:7px 6px 6px 10px;" >
  65. <table width="98%" border="0" cellspacing="0" cellpadding="0">
  66. <tr>
  67. <td width="120" class="bline" style="width:120px">图书隶属栏目:</td>
  68. <td colspan="3" class="bline">
  69. <select name="catid" id="catid">
  70. <option value='0'>请选择栏目</option>
  71. <?php
  72. foreach($btypes as $k=>$v){
  73. if($books['catid']==$k) echo "<option value='$k' selected>$v</option>\r\n";
  74. else echo "<option value='$k'>$v</option>\r\n";
  75. foreach($stypes[$k] as $kk=>$vv){
  76. if($books['catid']==$kk) echo "<option value='$kk' selected> --$vv</option>\r\n";
  77. else echo "<option value='$kk'> --$vv</option>\r\n";
  78. }
  79. }
  80. ?>
  81. </select> </td>
  82. </tr>
  83. <tr>
  84. <td height="32" class="bline">连载图书名称:</td>
  85. <td colspan="3" class="bline">
  86. <input name="bookname" type="text" id="bookname" size="35" value="<?php echo $books['bookname']; ?>" class='alltxt' />
  87. <input name="iscommend" type="checkbox" id="iscommend" value="1"<?php if($books['iscommend']==1) echo ' checked'; ?> class='np' />
  88. 推荐
  89. </td>
  90. </tr>
  91. <tr>
  92. <td height="32" class="bline">免费章节数:</td>
  93. <td colspan="3" class="bline">
  94. <input name="freenum" type="text" id="freenum" size="5" value="<?php echo $books['freenum']; ?>" class='alltxt' />
  95. (-1 表示全部免费,0 表示全部收费)
  96. </td>
  97. </tr>
  98. <tr>
  99. <td style="width:120px" class="bline">免费阅读所有<br />内容会员级别:</td>
  100. <td colspan="3" class="bline">
  101. <select name="arcrank" id="arcrank" style="width:150">
  102. <option value='<?php echo $books["arcrank"]?>'><?php echo $books["membername"]?></option>
  103. <?php
  104. $urank = $cuserLogin->getUserRank();
  105. $dsql->SetQuery("Select * from #@__arcrank where adminrank<='$urank'");
  106. $dsql->Execute();
  107. while($row = $dsql->GetObject()){
  108. echo "<option value='".$row->rank."'>".$row->membername."</option>\r\n";
  109. }
  110. ?>
  111. </select>
  112. </td>
  113. </tr>
  114. <tr>
  115. <td height="32" class="bline">图书状态:</td>
  116. <td colspan="3" class="bline">
  117. <input type='radio' name='status' value='0'<?php if($books['status']==0) echo ' checked'; ?> class='np' />连载中
  118. <input type='radio' name='status' value='1'<?php if($books['status']==1) echo ' checked'; ?> class='np' />已完成连载
  119. <input type='radio' name='ischeck' value='0'<?php if($books['ischeck']==0) echo ' checked'; ?> class='np' />未审核
  120. <input type='radio' name='ischeck' value='1'<?php if($books['ischeck']==1) echo ' checked'; ?> class='np' />已审核
  121. </td>
  122. </tr>
  123. <tr>
  124. <td height="114" class="bline">图书封面图片:</td>
  125. <td colspan="3" class="bline">
  126. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  127. <tr>
  128. <td width="75%" height="81">
  129. <table width="100%" border="0" cellspacing="1" cellpadding="1">
  130. <tr>
  131. <td height="30"> 本地直接上传请点击“浏览”按钮
  132. <input name="litpic" type="file" id="litpic" style="width:200px" onchange="SeePic($Obj('picview'),$Obj('litpic'));" /> </td>
  133. </tr>
  134. <tr>
  135. <td height="30">
  136. <input name="litpicname" type="text" id="litpicname" style="width:250px" value="<?php echo $books['litpic']; ?>" class='alltxt' />
  137. <input type="button" name="Submit22" value="在网站内选择" style="width:120" onclick="SelectImage('form1.litpicname','small');" class='np coolbg' />
  138. </td>
  139. </tr>
  140. </table></td>
  141. <td align="center">
  142. <img src="<?php if($books['litpic']=='') echo 'images/pview.gif'; else echo $books['litpic']; ?>" width="150" id="picview" name="picview" />
  143. </td>
  144. </tr>
  145. </table></td>
  146. </tr>
  147. <tr>
  148. <td height="32" class="bline">初始化数据:</td>
  149. <td width="238" class="bline">作者:
  150. <input name="author" type="text" id="author" style="width:120px" class='alltxt' value="<?php echo $books['author']; ?>"/>
  151. <input name="selwriter" type="button" id="selwriter" value="选择"/>
  152. </td>
  153. <td width="224" class="bline">上架时间:
  154. <input name="pubdate" type="text" id="pubdate" value="<?php echo GetDateMk($books['pubdate']); ?>" class='alltxt' /></td>
  155. <td width="510" class="bline">点击量:
  156. <input name="click" type="text" id="click" size="5" value="<?php echo $books['click']; ?>" class='alltxt' /></td>
  157. </tr>
  158. <tr height="32">
  159. <td class="bline">关键字:</td>
  160. <td colspan="5" class="bline"><input name="keywords" type="text" id="keywords" value="<?php echo $books['keywords']; ?>" size="40" />
  161. 手动填写用","分开
  162. <input type="button" name="Submit" value="浏览..." style="width:56;height:20" onClick="SelectKeywords('form1.keywords');" /></td>
  163. </tr>
  164. <td class="bline">摘 要:</td>
  165. <td colspan="5" class="bline"><textarea name="description" cols="80" rows="3" id="description"><?php echo $books['description']; ?></textarea></td>
  166. <tr>
  167. <td height="32" class="bline">具体介绍:</td>
  168. <td colspan="3" class="bline">&nbsp;</td>
  169. </tr>
  170. <tr>
  171. <td height="82" colspan="4">
  172. <?php
  173. GetEditor("body",$books['body'],300);
  174. ?>
  175. </td>
  176. </tr>
  177. <tr>
  178. <td height="70">&nbsp;</td>
  179. <td colspan="3">
  180. <input type="submit" name="Submit" value="保 存" class='np coolbg'/>  
  181. <input type="reset" name="Submit2" value="重 置" class='np coolbg' />
  182. </td>
  183. </tr>
  184. </table>
  185. </td>
  186. </tr>
  187. </table>
  188. </form>
  189. </div>
  190. </body>
  191. </html>