:::

1-7 admin/topic.php

<?php
/*-----------引入檔案區--------------*/
$xoopsOption['template_main'] = "snews_adm_topic.tpl";
include_once "header.php";
include_once "../function.php";

/*-----------function區--------------*/

//顯示預設頁面內容
function show_content()
{
    global $xoopsTpl;

    $main = "主題頁面";
    $xoopsTpl->assign('content', $main);
}

/*-----------執行動作判斷區----------*/
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 "xxx":
    // xxx();
    // header("location:{$_SERVER['PHP_SELF']}");
    // exit;

    default:
        show_content();
        break;
}

include_once 'footer.php';

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Ftad0616.net%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1428%26tbsn%3D44

書籍目錄

展開 | 闔起

線上使用者

50人線上 (22人在瀏覽線上書籍)

會員: 0

訪客: 50

更多…