Skip to content
Snippets Groups Projects
Commit 7fbd5868 authored by warmels's avatar warmels
Browse files

BugID: 1079

meldingen
parent 8aae0159
No related branches found
No related tags found
No related merge requests found
<?php
$_SESSION['admin_deel'] = 4;
$_SESSION['huidige_pagina'] = $_SESSION['pagina'] . 'admin.php?p='.$_SESSION['admin_deel'].'&s=2';
require_once($_SESSION['pagina'] . 'includes/login_funcs.php');
include_once($_SESSION['pagina'] . 'includes/controle_functies.php');
//controleren of er iemand ingelogd is...
if ($LOGGED_IN = user_isloggedin()) {
?>
<div id="linkerdeel">
<?php
echo("<script language=\"JavaScript\" src=\"". $_SESSION['pagina'] ."includes/tree.js\"></script>");
echo("<script language=\"JavaScript\" src=\"". $_SESSION['pagina'] ."includes/tree_items.php\"></script>");
echo("<script language=\"JavaScript\" src=\"". $_SESSION['pagina'] ."includes/tree_tpl.js\"></script>");
?>
<script language="JavaScript">
<!--//
new tree (TREE_ITEMS, TREE_TPL);
//-->
</script>
</div>
<div id="rechterdeel">
<h2>Meldingen bewerken</h2>
</div>
<?php
}
//niemand ingelogt, dus bezoeker naar de inlogpagina sturen
else header("Location: index.php");
?>
\ No newline at end of file
<?php
$_SESSION['admin_deel'] = 4;
$_SESSION['huidige_pagina'] = $_SESSION['pagina'] . 'admin.php?p='.$_SESSION['admin_deel'].'&s=1';
require_once($_SESSION['pagina'] . 'includes/login_funcs.php');
include_once($_SESSION['pagina'] . 'includes/controle_functies.php');
//controleren of er iemand ingelogd is...
if ($LOGGED_IN = user_isloggedin()) {
?>
<div id="linkerdeel">
<?php
echo("<script language=\"JavaScript\" src=\"". $_SESSION['pagina'] ."includes/tree.js\"></script>");
echo("<script language=\"JavaScript\" src=\"". $_SESSION['pagina'] ."includes/tree_items.php\"></script>");
echo("<script language=\"JavaScript\" src=\"". $_SESSION['pagina'] ."includes/tree_tpl.js\"></script>");
?>
<script language="JavaScript">
<!--//
new tree (TREE_ITEMS, TREE_TPL);
//-->
</script>
</div>
<div id="rechterdeel">
<h2>Meldingen toevoegen</h2>
</div>
<?php
}
//niemand ingelogt, dus bezoeker naar de inlogpagina sturen
else header("Location: index.php");
?>
\ No newline at end of file
<?php
$_SESSION['admin_deel'] = 4;
$_SESSION['huidige_pagina'] = $_SESSION['pagina'] . 'admin.php?p='.$_SESSION['admin_deel'].'&s=3';
require_once($_SESSION['pagina'] . 'includes/login_funcs.php');
include_once($_SESSION['pagina'] . 'includes/controle_functies.php');
//controleren of er iemand ingelogd is...
if ($LOGGED_IN = user_isloggedin()) {
?>
<div id="linkerdeel">
<?php
echo("<script language=\"JavaScript\" src=\"". $_SESSION['pagina'] ."includes/tree.js\"></script>");
echo("<script language=\"JavaScript\" src=\"". $_SESSION['pagina'] ."includes/tree_items.php\"></script>");
echo("<script language=\"JavaScript\" src=\"". $_SESSION['pagina'] ."includes/tree_tpl.js\"></script>");
?>
<script language="JavaScript">
<!--//
new tree (TREE_ITEMS, TREE_TPL);
//-->
</script>
</div>
<div id="rechterdeel">
<h2>Meldingen verwijderen</h2>
</div>
<?php
}
//niemand ingelogt, dus bezoeker naar de inlogpagina sturen
else header("Location: index.php");
?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment