article_manage.php 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <link href="<?php echo WEB_SITE_GLOBAL ?>/img/admin/style.css" rel="stylesheet" type="text/css" />
  6. <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/jquery-1.7.1.min.js"></script>
  7. <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/admin/over.js"></script>
  8. <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/admin/admin.js"></script>
  9. <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/admin/calendar.js"></script>
  10. <script type="text/javascript" src="<?php echo WEB_SITE_GLOBAL ?>/js/easydialog.min.js"></script>
  11. </head>
  12. <body>
  13. <div class="main_content new_product">
  14. <div class="crumbbar">快速导航 » <?php echo $data['map']; ?></div>
  15. <div class="main_toolbar clearfix">
  16. <div id="append"></div>
  17. <form action="/index/main_article_manage" method="get">
  18. <table width="100%" cellspacing="1" cellpadding="4" align="center" class="tableborder">
  19. <tbody>
  20. <!-- <tr class="header"><td colspan="7">用户列表&nbsp;&nbsp;&nbsp;<input type="button" style="cursor:pointer" onclick="document.location.href=''" value="添加用户"/></td></tr> -->
  21. <tr class="altbg1"><td colspan="7">可以通过如下搜索条件</td></tr>
  22. <tr>
  23. <td width="40%">标题:<input class="txt" name="title" value="<?php echo $data['title']; ?>"/></td>
  24. <td ><input class="btn" type="submit" value="提 交"/></td>
  25. </tr>
  26. <tr>
  27. <td width="40%">时间:<input class="txt" onclick="showcalendar();" name="srchregdatestart"/>&nbsp;到&nbsp;<input class="txt" onclick="showcalendar();" name="srchregdateend"/></td>
  28. <td></td>
  29. </tr>
  30. </tbody>
  31. </table>
  32. </form>
  33. <div><a href="/index/main_article_add_manage">添加公告</a></div>
  34. <div class="globle_list">
  35. <form name="userForm" action="/index/main_article_delete_manage" method="post">
  36. <table cellspacing="0" cellpadding="0" class="tableList">
  37. <tbody><tr>
  38. <th><input class="checkbox" type="checkbox" onclick="checkall('id[]')" id="chkall" name="chkall" />全选</th>
  39. <th>标题</th>
  40. <th>时间</th>
  41. <th>操作</th>
  42. </tr>
  43. <?php foreach($data['question']['question_list'] as $k1=>$v1): ?>
  44. <tr>
  45. <td><input class="checkbox" type="checkbox" value="<?php echo $v1['aid']; ?>" name="id[]" /></td>
  46. <td><?php echo $v1['title']; ?></td>
  47. <td><?php echo $v1['time']; ?></td>
  48. <td><a href="/index/main_article_edit_manage/<?php echo $v1['aid']; ?>">编辑</a></td>
  49. </tr>
  50. <?php endforeach; ?>
  51. </tbody></table>
  52. </form>
  53. </div>
  54. <a class="button btn-red btn-icon" href="javascript:remove_article();"><i class="icon iconDelete"></i>删除</a>
  55. <div class="pageNav2 clearfix" style="float:right">
  56. <div class="pageList">
  57. <a href="/index/main_question_manage/<?php echo $data['question']['previous']; ?>?status=<?php echo $data['status']; ?>&authorid=<?php echo $data['authorid']; ?>&title=<?php echo $data['title']; ?>&srchregdatestart=<?php echo $data['srchregdatestart']; ?>&srchregdateend=<?php echo $data['srchregdateend']; ?>" class="inactivePrev" <?php if( $data['question']['previous']==1 ): ?>disabled = 'true'<?php endif; ?> >上一页</a>
  58. <?php echo $data['question']['page']; ?>
  59. <a href="/index/main_question_manage/<?php echo $data['question']['total_page']; ?>?status=<?php echo $data['status']; ?>&authorid=<?php echo $data['authorid']; ?>&title=<?php echo $data['title']; ?>&srchregdatestart=<?php echo $data['srchregdatestart']; ?>&srchregdateend=<?php echo $data['srchregdateend']; ?>"
  60. class="paginate">... <?php echo $data['question']['total_page']; ?></a>
  61. <a href="/index/main_question_manage/<?php echo $data['question']['next']; ?>?status=<?php echo $data['status']; ?>&authorid=<?php echo $data['authorid']; ?>&title=<?php echo $data['title']; ?>&srchregdatestart=<?php echo $data['srchregdatestart']; ?>&srchregdateend=<?php echo $data['srchregdateend']; ?>" class="next">下一页</a></div>
  62. </div>
  63. </div>
  64. </div>
  65. </body>
  66. </html>