



<?php
/**
* @author moufer<moufer@163.com>
* @copyright www.modoer.com
*/
define('API_ROOT', substr(dirname(__FILE__),0,-3));
require substr(dirname(__FILE__),0,-3) . 'core' . DIRECTORY_SEPARATOR . 'init.php';
function get_forum_list() {
$openurl = get_open_url('forum','list');
if(!$data = file_get_contents($openurl)) return;
if(!pares_error($data)) {
$data = unserialize($data);
}
return $data;
}
function get_open_url($mod,$act,$params=null) {
global $_G;
$forumurl = $_G['cfg']['forum_url'] . '/plugin.php?id=modcenter:mcenter';
$openurl = $forumurl . '&mod=' . $mod . '&act=' . $act;
return $openurl;
}
function pares_error(&$data) {
if(substr($data,0,6) != 'ERROR_') return;
}
?>
以上就是旗舰版Modoer3.5点评系统Modoer_3.5_MC最新20150313的内容,更多相关内容请关注PHP中文网(www.php.cn)!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号