杰奇CMS reader.php开源代码
杰奇的reader.php开源代码,可以进行二次开发!测试可用!
<?php define('JIEQI_MODULE_NAME', 'article'); require_once('../../global.php'); if(empty($_REQUEST['aid'])) jieqi_printfail(LANG_ERROR_PARAMETER); include_once(JIEQI_ROOT_PATH.'/header.php'); include_once($jieqiModules['article']['path'].'/class/package.php'); $package=new JieqiPackage($_REQUEST['aid']); if($package->loadOPF()){ if(!empty($_REQUEST['cid'])){ if(!$package->showChapter($_REQUEST['cid'])) $package->showIndex(); }else{ $package->showIndex(); } }else{ jieqi_loadlang('article', JIEQI_MODULE_NAME); jieqi_printfail($jieqiLang['article']['article_not_exists']); } $jieqiTpl->assign('article_id', ($_REQUEST['aid'])); ?>
共有 0 条评论