コード例 #1
0
ファイル: admin.php プロジェクト: nickohappy7/sister
        $mtime = explode(' ', $mtime);
        $mtime = $mtime[1] + $mtime[0];
        $starttime = $mtime;
    }
    function stop()
    {
        global $starttime;
        $mtime = microtime();
        $mtime = explode(' ', $mtime);
        $mtime = $mtime[1] + $mtime[0];
        $endtime = $mtime;
        $totaltime = round($endtime - $starttime, 5);
        return $totaltime;
    }
}
$timer = new microTimer();
$timer->start();
include 'includes/session.php';
@header("Content-type: text/html; charset=utf-8;");
ob_start("ob_gzhandler");
define('AURACMS_MODULE', true);
define('AURACMS_CONTENT', true);
define('AURACMS_admin', true);
include "includes/config.php";
include "includes/mysql.php";
include "includes/configsitus.php";
include "includes/template.php";
global $judul_situs, $theme;
$old_modules = !isset($old_modules) ? null : $old_modules;
$_GET['aksi'] = !isset($_GET['aksi']) ? null : $_GET['aksi'];
$cek = '';
コード例 #2
0
ファイル: init.php プロジェクト: skypach/skypach.ru
}
if ($_SESSION['user_mobile'] == 1) {
    if ($_GET['go'] == 'messages') {
        $_GET['go'] = 'im';
    }
    $config['temp'] = 'mobile';
    if ($_GET['go'] == '' and $_GET['act'] != 'logout') {
        header("Location: /?go=main");
        exit;
    }
}
$tpl = new mozg_template();
$tpl->dir = ROOT_DIR . '/templates/' . $config['temp'];
define('TEMPLATE_DIR', $tpl->dir);
$_DOCUMENT_DATE = false;
$Timer = new microTimer();
$Timer->start();
$server_time = intval($_SERVER['REQUEST_TIME']);
include ENGINE_DIR . '/modules/login.php';
if ($_GET['act'] == 'newpass') {
    include ENGINE_DIR . "/modules/settings.php";
}
if ($config['offline'] == "yes") {
    include ENGINE_DIR . '/modules/offline.php';
}
if ($user_info['user_delet']) {
    include ENGINE_DIR . '/modules/profile_delet.php';
}
if ($user_info['user_emailed'] == 1) {
    include ENGINE_DIR . '/modules/profile_disabled.php';
}
コード例 #3
0
ファイル: index.php プロジェクト: BackupTheBerlios/ajfork-svn
//#################
$PHP_SELF = "index.php";
$cutepath = ".";
$config_path_image_upload = "./data/upimages";
$config_use_cookies = TRUE;
// Use Cookies When Checking Authorization
$config_use_sessions = FALSE;
// Use Sessions When Checking Authorization
$config_check_referer = FALSE;
// Set to TRUE for more security
//#################
// Start plugin hack
include './inc/plugins.php';
LoadActivePlugins();
// End plugin hack
$Timer = new microTimer();
$Timer->start();
// Check if CuteNews is not installed
$all_users_db = file("./data/users.db.php");
$check_users = $all_users_db;
$check_users[1] = trim($check_users[1]);
$check_users[2] = trim($check_users[2]);
if ((!$check_users[2] or $check_users[2] == "") and (!$check_users[1] or $check_users[1] == "")) {
    require "./inc/install.mdu";
    die;
}
require_once "./data/config.php";
if (isset($config_skin) and $config_skin != "" and file_exists("./skins/{$config_skin}.skin.php")) {
    require_once "./skins/{$config_skin}.skin.php";
} else {
    require_once "./skins/default.skin.php";
コード例 #4
0
ファイル: index.php プロジェクト: rekysda/akademik
        global $starttime;
        $mtime = microtime();
        $mtime = explode(' ', $mtime);
        $mtime = $mtime[1] + $mtime[0];
        $endtime = $mtime;
        $totaltime = round($endtime - $starttime, 5);
        return $totaltime;
    }
}
include 'includes/session.php';
@header("Content-type: text/html; charset=utf-8;");
ob_start("ob_gzhandler");
//session_register ('mod_ajax');
$_SESSION['mod_ajax'] = '';
$_SESSION['mod_ajax'] = true;
$timer = new microTimer();
$timer->start();
if (file_exists("install.php")) {
    header("location:install.php");
}
define('AURACMS_MODULE', true);
define('AURACMS_CONTENT', true);
include "includes/config.php";
include "includes/mysql.php";
include "includes/configsitus.php";
include "includes/template.php";
//include "includes/statistik.inc.php";
global $judul_situs, $theme, $publishsitus;
cek_situs();
$_GET['aksi'] = !isset($_GET['aksi']) ? null : $_GET['aksi'];
$_GET['mod'] = !isset($_GET['mod']) ? null : $_GET['mod'];
コード例 #5
0
ファイル: admin.php プロジェクト: nickohappy7/sister
        $mtime = explode (' ', $mtime);
        $mtime = $mtime[1] + $mtime[0];
        $starttime = $mtime;
    }
    function stop() {
        global $starttime;
        $mtime = microtime ();
        $mtime = explode (' ', $mtime);
        $mtime = $mtime[1] + $mtime[0];
        $endtime = $mtime;
        $totaltime = round (($endtime - $starttime), 5);
        return $totaltime;
    }
}

$timer = new microTimer;
$timer->start();

include 'includes/session.php';
@header("Content-type: text/html; charset=utf-8;");
ob_start("ob_gzhandler");

define('AURACMS_MODULE', true);
define('AURACMS_CONTENT', true);
define('AURACMS_admin', true);
include "includes/config.php";
include "includes/mysql.php";
include "includes/configsitus.php";
include "includes/template.php";
global $judul_situs,$theme;
コード例 #6
0
ファイル: index.php プロジェクト: rekysda/naficms
    {
        global $starttime;
        $mtime = microtime();
        $mtime = explode(' ', $mtime);
        $mtime = $mtime[1] + $mtime[0];
        $endtime = $mtime;
        $totaltime = round($endtime - $starttime, 5);
        return $totaltime;
    }
}
include 'includes/session.php';
@header("Content-type: text/html; charset=utf-8;");
ob_start("ob_gzhandler");
//session_register ('mod_ajax');
$_SESSION['mod_ajax'] = true;
$timer = new microTimer();
$timer->start();
if (file_exists("install.php")) {
    header("location:install.php");
}
define('AURACMS_MODULE', true);
define('AURACMS_CONTENT', true);
include "includes/config.php";
include "includes/mysql.php";
include "includes/configsitus.php";
include "includes/template.php";
include "includes/excelreader2.php";
global $judul_situs, $theme, $publishsitus;
cek_situs();
$_GET['aksi'] = !isset($_GET['aksi']) ? null : $_GET['aksi'];
$_GET['mod'] = !isset($_GET['mod']) ? null : $_GET['mod'];