forumdisplay.php 815 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. <?php
  2. /**
  3. * [Discuz!] (C)2001-2099 Comsenz Inc.
  4. * This is NOT a freeware, use is subject to license terms
  5. *
  6. * $Id: forumdisplay.php 35213 2015-02-26 06:15:12Z nemohou $
  7. */
  8. if (!defined('IN_MOBILE_API')) {
  9. exit('Access Denied');
  10. }
  11. $_GET['mod'] = 'forumdisplay';
  12. include_once 'forum.php';
  13. class mobile_api {
  14. function common() {
  15. global $_G;
  16. if (!empty($_GET['pw'])) {
  17. $_GET['action'] = 'pwverify';
  18. }
  19. $_G['forum']['allowglobalstick'] = true;
  20. if($_G['forum']['redirect']) {
  21. mobile_core::result(mobile_core::variable(array('forum' => array('fid' => $_G['fid'], 'redirect' => $_G['forum']['redirect']))));
  22. }
  23. }
  24. function output() {
  25. global $_G;
  26. include_once 'source/plugin/mobile/api/4/sub_threadlist.php';
  27. mobile_core::result(mobile_core::variable($variable));
  28. }
  29. }
  30. ?>