Angemeldet bleiben
This commit is contained in:
@ -7,12 +7,18 @@ if (!isset($_SESSION)) {
|
||||
|
||||
|
||||
include_once '../classes/TestProjektSmarty.class_subdir.php';
|
||||
require_once("../config.inc.php");
|
||||
require_once("../config/datenbankanbindung.php");
|
||||
# config.inc.php kann hier nicht eingebunden werden, sonst ruft er in jeder Seite 2x die config auf, da das NAV in jeder Seite geladen wird
|
||||
$smarty = new SmartyAdmin();
|
||||
$templatename = substr(basename($_SERVER['PHP_SELF']), 0, -3) . "html";
|
||||
require_once "../language/german.inc.php";
|
||||
|
||||
##############################################################################
|
||||
|
||||
|
||||
$db = dbconnect();
|
||||
$uid = $_SESSION["userid"];
|
||||
|
||||
$query = "SELECT mhid, headline, visible
|
||||
FROM jumi_menu_headline
|
||||
WHERE mhid IN (SELECT DISTINCT mhid
|
||||
|
Reference in New Issue
Block a user