示例#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);
}
示例#2
0
文件: link.php 项目: prolin99/tad_web
    //更新資料
    case "update_tad_web_link":
        update_tad_web_link($LinkID);
        header("location: {$_SERVER['PHP_SELF']}?WebID={$WebID}");
        exit;
        break;
        //輸入表格
    //輸入表格
    case "tad_web_link_form":
        tad_web_link_form($LinkID);
        break;
        //刪除資料
    //刪除資料
    case "delete_tad_web_link":
        delete_tad_web_link($LinkID);
        header("location: {$_SERVER['PHP_SELF']}?WebID={$WebID}");
        exit;
        break;
        //預設動作
    //預設動作
    default:
        if (empty($LinkID)) {
            list_tad_web_link($WebID, $CateID);
        } else {
            show_one_tad_web_link($LinkID);
        }
        break;
}
/*-----------秀出結果區--------------*/
include_once '/footer.php';
include_once XOOPS_ROOT_PATH . '/footer.php';