Exemple #1
0
<?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>