人人商城

module.ctrl.php 608B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * [WeEngine System] Copyright (c) 2014 WE7.CC
  4. * WeEngine is NOT a free software, it under the license terms, visited http://www.we7.cc/ for more details.
  5. */
  6. defined('IN_IA') or exit('Access Denied');
  7. $dos = array('module');
  8. $do = in_array($do, $dos) ? $do : 'module';
  9. if($do == 'module') {
  10. $module = uni_modules();
  11. $new = array();
  12. if(!empty($module)) {
  13. $filter = array('services', 'customer', 'activity');
  14. foreach($module as $mou) {
  15. if(!in_array($mou['type'], $filter) && !$mou['issystem']) {
  16. $new[] = $mou;
  17. }
  18. }
  19. }
  20. unset($module);
  21. template('activity/module_model');
  22. die;
  23. }