Example #1
0
function list_all_class()
{
    list_all_tad_webs();
    list_tad_web_news('', '', 'news', 5, 'NewsDate');
    list_tad_web_news('', '', 'homework', 5, 'NewsDate');
    list_tad_web_works('', '', 5);
    list_tad_web_discuss('', '', 5);
    list_tad_web_files('', '', 5);
    list_tad_web_action('', '', 10);
    list_tad_web_video('', '', 5);
    list_tad_web_link('', '', 5);
}
Example #2
0
        delete_tad_web_mems($MemID);
        header("location: {$_SERVER['PHP_SELF']}?WebID={$WebID}");
        exit;
        break;
        //更新團員資料
    //更新團員資料
    case "update_tad_web_mems":
        update_tad_web_mems($MemID);
        header("location: {$_SERVER['PHP_SELF']}?WebID={$WebID}&op=tad_web_adm");
        exit;
        break;
        //新增資料
    //新增資料
    case "insert_tad_web_mems":
        insert_tad_web_mems();
        header("location: {$_SERVER['PHP_SELF']}?WebID={$WebID}");
        exit;
        break;
        //預設動作
    //預設動作
    default:
        if (empty($WebID)) {
            list_all_tad_webs();
        } else {
            show_one_tad_web($WebID);
        }
        break;
}
/*-----------秀出結果區--------------*/
include_once '/footer.php';
include_once XOOPS_ROOT_PATH . '/footer.php';