admin_feed.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php if(!defined('UC_ROOT')) exit('Access Denied');?>
  2. <?php include $this->gettpl('header');?>
  3. <script src="js/common.js" type="text/javascript"></script>
  4. <div class="container">
  5. <h3 class="marginbot">
  6. 事件列表
  7. <?php if($user['allowadminnote'] || $user['isfounder']) { ?><a href="admin.php?m=note&a=ls" class="sgbtn">通知列表</a><?php } ?>
  8. <?php if($user['allowadminlog'] || $user['isfounder']) { ?><a href="admin.php?m=log&a=ls" class="sgbtn">日志列表</a><?php } ?>
  9. <a href="admin.php?m=mail&a=ls" class="sgbtn">邮件队列</a>
  10. </h3>
  11. <div class="mainbox">
  12. <?php if($feedlist) { ?>
  13. <form action="admin.php?m=note&a=ls" method="post">
  14. <input type="hidden" name="formhash" value="<?php echo FORMHASH;?>">
  15. <table class="datalist" style="table-layout:fixed">
  16. <tr>
  17. <th width="100">时间</th>
  18. <th>&nbsp;</th>
  19. </tr>
  20. <?php foreach((array)$feedlist as $feed) {?>
  21. <tr>
  22. <td><?php echo $feed['dateline'];?></td>
  23. <td><?php echo $feed['title_template'];?></td>
  24. </tr>
  25. <?php } ?>
  26. <tr class="nobg">
  27. <td></td>
  28. <td class="tdpage"><?php echo $multipage;?></td>
  29. </tr>
  30. </table>
  31. </form>
  32. <?php } else { ?>
  33. <div class="note">
  34. <p class="i">目前没有相关记录!</p>
  35. </div>
  36. <?php } ?>
  37. </div>
  38. </div>
  39. <?php include $this->gettpl('footer');?>