newslist.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <?
  2. include("../config/conn.php");
  3. include("../config/function.php");
  4. sesCheck();
  5. ?>
  6. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  7. <html xmlns="http://www.w3.org/1999/xhtml">
  8. <head>
  9. <meta http-equiv="x-ua-compatible" content="ie=7" />
  10. <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  11. <title>用户管理面板 - <?=webname?></title>
  12. <? include("cssjs.html");?>
  13. <link href="css/hudong.css" rel="stylesheet" type="text/css" />
  14. </head>
  15. <body>
  16. <? include("../tem/top.html");?>
  17. <? include("top.php");?>
  18. <div class="yjcode">
  19. <? include("left.php");?>
  20. <!--RB-->
  21. <div class="userright">
  22. <? include("rcap13.php");?>
  23. <script language="javascript">
  24. document.getElementById("rcap1").className="l1 l2";
  25. </script>
  26. <!--白B-->
  27. <div class="rkuang">
  28. <div class="ksedi">
  29. <div class="d1">
  30. <a href="javascript:NcheckDEL(12,'yjcode_news')" class="a2">删除</a>
  31. <a href="newslx.php" class="a1">我要投稿</a>
  32. </div>
  33. </div>
  34. <ul class="newslistcap">
  35. <li class="l0"><input name="C2" type="checkbox" onclick="xuan()" /></li>
  36. <li class="l1">标题</li>
  37. <li class="l2">点击</li>
  38. <li class="l3">审核状态</li>
  39. <li class="l4">最后更新</li>
  40. </ul>
  41. <?
  42. $ses=" where zt<>99 and userid=".$luserid;
  43. $page=$_GET["page"];if($page==""){$page=1;}else{$page=intval($_GET["page"]);}
  44. pagef($ses,30,"yjcode_news","order by lastsj desc");while($row=mysql_fetch_array($res)){
  45. if($row[zt]==1){$au="news.php?bh=".$row[bh];}else{$au="javascript:void(0);";}
  46. ?>
  47. <ul class="newslist">
  48. <li class="l0"><? if($row[zt]!=0){?><input name="C1" type="checkbox" value="<?=$row[bh]?>" /><? }?></li>
  49. <li class="l1"><a href="<?=$au?>"><?=strgb2312($row[tit],0,60)?></a> [<a href="../news/txtlist_i<?=$row[id]?>v.html" target="_blank" class="feng">预览</a>]</li>
  50. <li class="l2"><?=$row[djl]?></li>
  51. <li class="l3"><?=returnztv($row[zt])?></li>
  52. <li class="l4"><?=$row[lastsj]?></li>
  53. </ul>
  54. <? }?>
  55. <div class="npa">
  56. <?
  57. $nowurl="newslist.php";
  58. $nowwd="";
  59. require("page.php");
  60. ?>
  61. </div>
  62. <div class="clear clear15"></div>
  63. </div>
  64. <!--白E-->
  65. </div>
  66. <!--RE-->
  67. </div>
  68. <div class="clear clear15"></div>
  69. <? include("../tem/bottom.html");?>
  70. </body>
  71. </html>