assign('content', $main); } //新增文章的表單 function snews_form() { global $xoopsTpl; } /*-----------執行動作判斷區----------*/ include_once $GLOBALS['xoops']->path('/modules/system/include/functions.php'); $op = system_CleanVars($_REQUEST, 'op', '', 'string'); // $sn = system_CleanVars($_REQUEST, 'sn', 0, 'int'); switch ($op) { case "snews_form": snews_form(); break; default: snews_list(); $op = 'snews_list'; $xoopsTpl->assign('content', $main); break; } $xoopsTpl->assign('now_op', $op); include_once 'footer.php'; ```
進階搜尋
95人線上 (23人在瀏覽線上書籍)
會員: 0
訪客: 95