:::

5-2 interface_menu.php

<?php
//判斷是否對該模組有管理權限
if (!isset($_SESSION['snewsAdmin'])) {
    $_SESSION['snewsAdmin'] = ($xoopsUser) ? $xoopsUser->isAdmin() : false;
}

//回模組首頁
// $interface_menu[_TAD_TO_MOD] = "index.php";
// $interface_icon[_TAD_TO_MOD] = "";

//模組後台
if (power_chk("", 1)) {
    $interface_menu['發布文章'] = "index.php?op=snews_form";
    $interface_icon['發布文章'] = "";
}

if ($_SESSION['snewsAdmin']) {
    $interface_menu[_TAD_TO_ADMIN] = "admin/main.php";
    $interface_icon[_TAD_TO_ADMIN] = "";
}

 


:::

搜尋

QR Code 區塊

https%3A%2F%2Fmail.tad0616.cp22.secserverpros.com%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D1454%26tbsn%3D44

書籍目錄

展開 | 闔起

線上使用者

347人線上 (146人在瀏覽線上書籍)

會員: 0

訪客: 347

更多…