Beispiel #1
0
 function __construct()
 {
     //驗證權限
     auth_valid_function("user_manager");
     //呼叫基本套件
     include_db_pkg();
 }
Beispiel #2
0
 function __construct()
 {
     require_once $_SERVER['SRVROOT'] . "/cms/inc/incpkg.inc.php";
     require_once SRVROOT . "/cms/inc/admin_breadcrumb.inc.php";
     require_once SRVROOT . "/cms/lib/ezsql/shared/ez_sql_core.php";
     //驗證權限
     auth_valid_function("pricing");
     //呼叫基本套件
     include_db_pkg();
 }
Beispiel #3
0
 function __construct()
 {
     require_once SRVROOT . "/cms/inc/incpkg.inc.php";
     require_once SRVROOT . "/cms/inc/admin_breadcrumb.inc.php";
     require_once SRVROOT . "/cms/lib/ezsql/shared/ez_sql_core.php";
     //驗證權限
     auth_valid_function("yahoo_k_plus");
     //呼叫基本套件
     include_db_pkg();
 }
Beispiel #4
0
 function __construct()
 {
     //session_start();
     //$trail = new Breadcrumb();
     //$trail->add('Home', $_SERVER['PHP_SELF'], 0);
     //驗證權限
     auth_valid_function("user_manager");
     //呼叫基本套件
     include_db_pkg();
 }
Beispiel #5
0
 function __construct()
 {
     require_once $_SERVER['SRVROOT'] . "/cms/inc/incpkg.inc.php";
     require_once SRVROOT . "/cms/inc/admin_breadcrumb.inc.php";
     require_once SRVROOT . "/cms/lib/ezsql/shared/ez_sql_core.php";
     $this->plu_path = $this->plu_path . "&time=" . time();
     //驗證權限
     auth_valid_function("news");
     //呼叫基本套件
     include_db_pkg();
 }
Beispiel #6
0
<?php

session_start();
require_once $_SERVER['SRVROOT'] . '/cms/inc/config.inc.php';
require_once $_SERVER['SRVROOT'] . '/cms/inc/auth.inc.php';
require_once $_SERVER['SRVROOT'] . '/cms/inc/std.inc.php';
require_once $_SERVER['SRVROOT'] . '/cms/inc/database.inc.php';
require_once $_SERVER['SRVROOT'] . '/cms/inc/default.inc.php';
if (isset($_GET['func']) && $_GET['func'] == "logout") {
    user_logout();
    redirect(WEBROOT . "/login.php", 0, '您已登出');
    exit;
}
require_once SRVROOT . "/cms/inc/incpkg.inc.php";
include_db_pkg();
$db = init_db();
if (isset($_GET['sel_button']) && $_GET['sel_button'] == "export" && isset($_SESSION['report_value'])) {
    include SRVROOT . "/cms/inc/report.inc.php";
    $get_kws_sql = "SELECT DISTINCT kw_id,kw_content FROM plu_keywords";
    $kws_text = "";
    $kws = $db->get_results($get_kws_sql);
    foreach ($kws as $kw_rows) {
        $kws_text .= "[" . $kw_rows->kw_id . "]" . $kw_rows->kw_content . ",";
    }
    $cols_name = array();
    $cols_name[] = array("網路口碑監控日報表     2010年 8 月 8 日");
    $cols_name[] = array("類別:品牌問題/產品問題/售後服務/銷售問題/行銷活動/主動宣傳/其他                 關鍵字對應:{$kws_text}");
    $cols_name[] = array("日期", "類別", "平台/論壇", "評價層級", "問題", "問題網址", "問題回覆/解答者", "問題回覆/解答日期", "關鍵字");
    //$_SESSION['report_value'] = $result;
    /*echo $col++;
    		echo "<pre>";