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

165 lines
5.9KB

  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">小说书目管理 <a href="../book" target="_blank">[查看首页]</a></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%' cellpadding='0' cellspacing='0'>
  48. <tr>
  49. <td width='30%' height="13"><strong>图书列表</strong></td>
  50. <td align='right'>
  51. [<a href="story_books.php?ischeck=1"><u>未审核的图书</u></a>]
  52. &nbsp;
  53. [<a href="story_add.php"><u>新增图书</u></a>]
  54. &nbsp;
  55. [<a href="story_catalog.php"><u>栏目管理</u></a>]
  56. </td>
  57. </tr>
  58. </table>
  59. </td>
  60. </tr>
  61. </table>
  62. <table width="98%" border="0" cellpadding="5" cellspacing="1" align="center" style=" border:1px solid #CFCFCF;border-top:none;line-height:31px;margin:auto;">
  63. <tr>
  64. <td style="background:#ffffff;padding:2px 2px 2px 2px;" >
  65. <form name='form1' action='story_books.php' method='get'>
  66. <table width="96%" border="0" cellspacing="0" cellpadding="0">
  67. <tr>
  68. <td width="13%" align="center">关键字:</td>
  69. <td width="27%"><input name="keyword" type="text" id="keyword" value="<?php echo $keyword; ?>" size="30" class='alltxt' /></td>
  70. <td width="18%">
  71. <select name="catid" id="catid">
  72. <option value='0'>请选择栏目</option>
  73. <?php
  74. foreach($btypes as $k=>$v){
  75. echo "<option value='$k'>$v</option>\r\n";
  76. if(isset($stypes[$k]))
  77. {
  78. foreach($stypes[$k] as $kk=>$vv)
  79. {
  80. echo "<option value='$kk'> --$vv</option>\r\n";
  81. }
  82. }
  83. }
  84. ?>
  85. </select>
  86. </td>
  87. <td width="42%"><input type="submit" name="Submit" value="搜 索" class='np coolbg'/></td>
  88. </tr>
  89. </table>
  90. </form>
  91. </td>
  92. </tr>
  93. </table>
  94. <form name='form2'>
  95. <table width="98%" border="0" cellpadding="1" cellspacing="1" align="center" style=" margin-top:3px; margin-bottom:3px; line-height:31px;background:#cfcfcf;">
  96. <tr align="center" height="28" bgcolor="#FBFCE2">
  97. <td>选择</td>
  98. <td>图书封面</td>
  99. <td>图书名称</td>
  100. <td>隶属栏目</td>
  101. <td>创建时间</td>
  102. <td>审核</td>
  103. <td>管理项目</td>
  104. </tr>
  105. {dede:datalist}
  106. <?php
  107. if($fields['ischeck'] == 1){
  108. $fields['ischeck']='已审核';
  109. }else{
  110. $fields['ischeck']='<font color="red">未审核</font> <a href="story_books.php?action=checked&id='.$fields['bid'].'">审核</a>';
  111. }
  112. ?>
  113. <tr bgcolor="#FFFFFF" height="26" align="center" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';"align="center">
  114. <td width="8%"> <input type='checkbox' name='ids' value='{dede:field.bid/}' class='np' /> </td>
  115. <td width="8%">
  116. <?php
  117. if($fields['litpic']!=''){
  118. echo "<img src='{$fields['litpic']}' style='padding:2px' height='50'>";
  119. }else{
  120. echo "<img src='images/booknopic.gif' style='padding:2px' height='50'>";
  121. }
  122. ?>
  123. </td>
  124. <td width="28%">
  125. <?php
  126. echo "<a href='../book/book.php?bid={$fields['bid']}' target='_blank'>".$fields['bookname']."</a>";
  127. if($fields['booktype']!=1) echo "(<font color='#558A20'>小说</font>内容:{$fields['postnum']})";
  128. else echo "(<font color='#AB8110'>漫画</font>内容:{$fields['postnum']})";
  129. ?>
  130. </td>
  131. <td width="12%"> {dede:field.classname/}</td>
  132. <td width="12%">{dede:field.senddate function=GetDateMK(@me)/}</td>
  133. <td width="12%"> <?php echo $fields['ischeck']; ?> </td>
  134. <td align="left">
  135. <?php if($fields['booktype']!=1){ ?>
  136. <a href='story_add_content.php?bookid=<?php echo $fields['bid']; ?>'>添加</a> |
  137. <?php }else{ ?>
  138. <a href='story_add_photo.php?bookid=<?php echo $fields['bid']; ?>'>添加</a> |
  139. <?php } ?>
  140. <a href='story_edit.php?bookid=<?php echo $fields['bid']; ?>'>修改</a> |
  141. <a href='story_list_content.php?bookid=<?php echo $fields['bid']; ?>'>内容</a> <br />
  142. <a href='story_list_chapter.php?bookid=<?php echo $fields['bid']; ?>'>章节</a> |
  143. <a href='javascript:DelStory(<?php echo $fields['bid']; ?>)'>删除</a>
  144. </td>
  145. </tr>
  146. {/dede:datalist}
  147. <tr>
  148. <td colspan='7' bgcolor="#ffffff" height='30'>
  149. &nbsp;
  150. <a href="javascript:selAll()" class="coolbg">全选</a>
  151. <a href="javascript:noSelAll()" class="coolbg">取消</a>
  152. <a href="javascript:DelAllBooks()" class="coolbg">删除</a>
  153. </td>
  154. </tr>
  155. </table>
  156. </form>
  157. <table width="98%" border="0" cellpadding="5" cellspacing="1" align="center" style=" border:1px solid #CFCFCF;line-height:31px;margin:auto;">
  158. <tr>
  159. <td bgcolor="#F9FCEF" align="center">{dede:pagelist listsize=5 /}</td>
  160. </tr>
  161. </table>
  162. </div>
  163. </body>
  164. </html>