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

115 lines
5.2KB

  1. <!doctype html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang; ?>">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <script src="<?php echo $cfg_cmsurl;?>/static/js/jquery.min.js"></script>
  7. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/css/bootstrap.min.css">
  8. <link href="<?php echo $cfg_cmsurl;?>/static/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  9. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/css/dede.css">
  10. <link rel="stylesheet" href="<?php echo $cfg_cmsurl;?>/static/css/member.css">
  11. <title>文档管理 - 会员中心 - <?php echo $cfg_webname; ?></title>
  12. <script type="text/javascript">
  13. function viewArc(aid) {
  14. window.open("{dede:global.cfg_phpurl /}/view.php?aid=" + aid);
  15. }
  16. function editArc(aid, channelid) {
  17. location = "archives_do.php?dopost=edit&channelid=" + channelid + "&aid=" + aid;
  18. }
  19. function delArc(aid) {
  20. if (window.confirm('你确定要删除这篇文档吗?')) location = "archives_do.php?aid=" + aid + "&dopost=delArc";
  21. }
  22. </script>
  23. </head>
  24. <body>
  25. <?php include(DEDEMEMBER."/templets/top_login.htm"); ?>
  26. <main class="member">
  27. <?php include(DEDEMEMBER."/templets/info.htm"); ?>
  28. <div class="container-fluid pannel">
  29. <div class="container">
  30. <div class="row">
  31. <?php
  32. $_menu_conex = true; // 展开编辑信息
  33. ?>
  34. <?php include(DEDEMEMBER."/templets/menu.htm"); ?>
  35. <div class="pannel-main col-md-9 mt-3 mb-3">
  36. <div class="pannel-main-container">
  37. <nav class="navbar navbar-expand-lg">
  38. <ul class="navbar-nav mr-auto mt-2">
  39. <li class="nav-item">
  40. <a class="nav-link<?php echo ($arcrank=='')? ' active' : '';?>"
  41. href="content_sg_list.php?channelid=<?php echo $channelid;?>">全部</a>
  42. </li>
  43. <li class="nav-item">
  44. <a class="nav-link<?php echo ($arcrank=='1')? ' active' : '';?>"
  45. href="content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=1">已审核</a>
  46. </li>
  47. <li class="nav-item">
  48. <a class="nav-link<?php echo ($arcrank=='-1')? ' active' : '';?>"
  49. href="content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=-1">未审核</a>
  50. </li>
  51. <li class="nav-item">
  52. <a class="nav-link<?php echo ($arcrank=='-2')? ' active' : '';?>"
  53. href="content_sg_list.php?channelid=<?php echo $channelid;?>&arcrank=-2">被退回</a>
  54. </li>
  55. </ul>
  56. <span class="navbar-text">
  57. <a href="archives_do.php?dopost=addArc&channelid=<?php echo $channelid;?>"
  58. class="btn btn-success btn-sm">添加内容</a>
  59. </span>
  60. </nav>
  61. <div class="table-responsive">
  62. <table width="100%" border="0" cellpadding="0" cellspacing="0" class="table">
  63. <thead>
  64. <tr>
  65. <th width="25%">文章标题</th>
  66. <th width="15%">类目 </th>
  67. <th>状态 </th>
  68. <th>点击 </th>
  69. <th width="15%">发布时间 </th>
  70. <th width="25%">操作</th>
  71. </tr>
  72. </thead>
  73. <tbody>
  74. {dede:datalist}
  75. <tr>
  76. <td class="tabTitle"><a
  77. href='<?php echo $cfg_phpurl; ?>/view.php?aid=<?php echo $fields['aid']; ?>'
  78. target='_blank'><?php echo $fields['title']; ?></a> </td>
  79. <td align="center"><?php echo $fields['typename']; ?></td>
  80. <td align="center"><?php
  81. if($fields['arcrank']>=0) echo "已审核";
  82. else if($fields['arcrank']==-2) echo "<font color='blue'>被退回</font>";
  83. else echo "<font color='red'>未审核</font>";
  84. ?></td>
  85. <td align="center"><?php echo $fields['click']; ?></td>
  86. <td align="center"><?php echo GetDateMk($fields['senddate']); ?></td>
  87. <td align="center" class="doPost">
  88. <a
  89. href="javascript:editArc(<?php echo $fields['aid']?>,<?php echo $fields['channel']?>);">修改</a>
  90. | <a href="javascript:delArc(<?php echo $fields['aid']?>);">删除</a> | <a
  91. href="javascript:viewArc(<?php echo $fields['aid']; ?>);">预览</a>
  92. </td>
  93. </tr>
  94. {/dede:datalist}
  95. </tbody>
  96. </table>
  97. </div>
  98. <nav>
  99. {dede:pagelist listsize=5 /}
  100. </nav>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. </div>
  106. </main>
  107. <?php include(DEDEMEMBER."/templets/footer.htm"); ?>
  108. </body>
  109. </html>