:::

4-5 header.php

<?php
session_start();
require_once "config.php";
require_once 'function.php';
require_once 'smarty/libs/Smarty.class.php';
//實體化
$smarty = new Smarty;
//連線資料庫
$db = link_db();
// throw new Exception(var_dump($smarty));

//變數過濾或預設直
$name  = isset($_SESSION['name']) ? htmlspecialchars($_SESSION['name'], ENT_QUOTES) : '訪客';
$group = isset($_SESSION['group']) ? $_SESSION['group'] : '';
$op    = isset($_REQUEST['op']) ? htmlspecialchars($_REQUEST['op'], ENT_QUOTES) : '';
$error = $content = '';

 


:::

書籍目錄

展開 | 闔起

快速登入


http%3A%2F%2Fcampus-xoops.tn.edu.tw%2Fmodules%2Ftad_book3%2Fpage.php%3Ftbdsn%3D781%26tbsn%3D28

計數器

今天: 1455145514551455
昨天: 8625862586258625
總計: 8032062803206280320628032062803206280320628032062