mini_kf.class.php 843 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. if(!defined('IN_DISCUZ')) {
  3. exit('Access Denied');
  4. }
  5. class plugin_mini_kf {
  6. function global_footer() {
  7. global $_G;
  8. $config = $_G['cache']['plugin']['mini_kf'];
  9. $viewset= unserialize($config['groups']);
  10. $phidekf = unserialize($config['phidekf']);
  11. $type = explode(",",$config['type']);
  12. $typeaqq = explode(",",$config['typeaqq']);
  13. $typeaww = explode(",",$config['typeaww']);
  14. $typebqq = explode(",",$config['typebqq']);
  15. $typebww = explode(",",$config['typebww']);
  16. $typecqq = explode(",",$config['typecqq']);
  17. $typecww = explode(",",$config['typecww']);
  18. $hidelist = explode ("\n", str_replace ("\r", "", $config ['cjhidekf']));
  19. if(!in_array($_G['basescript'],$phidekf)){
  20. return '';
  21. }
  22. include template('mini_kf:index');
  23. return $return;
  24. }
  25. }
  26. class plugin_mini_kf_forum extends plugin_mini_kf{
  27. }
  28. ?>