本文整理匯總了PHP中site::musteri_online方法的典型用法代碼示例。如果您正苦於以下問題:PHP site::musteri_online方法的具體用法?PHP site::musteri_online怎麽用?PHP site::musteri_online使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類site
的用法示例。
在下文中一共展示了site::musteri_online方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: sql
<?php
include "config.php";
include "class/class.sql.php";
$sql = new sql();
include "class/class.core.php";
$core = new core();
include "class/class.form.php";
$form = new form();
include "class/class.pager.php";
$pager = new pager();
include "class/class.admin.php";
$admin = new admin();
include "class/class.site.php";
$site = new site();
if (!$site->musteri_online()) {
$core->location("client_login.php");
}
$online_admin = $sql->get_row("musteriler", "*", "WHERE id='" . $_SESSION["client_id"] . "'");
if ($_GET["manage"] == "") {
$dispatch = "musteriler.home";
$_GET["s"] = "display";
$_GET["manage"] = "musteriler.home";
} else {
$dispatch = $_GET["manage"];
}
$dispatch = explode(".", $dispatch);
$active_module = $dispatch[0];
$site_general = $sql->get_row("site_general", "*", "WHERE id='1'");
?>
<!DOCTYPE html>