Privileges 00 c Rechte'; $type = $_GET['type']; if($type != 'c' && $type != 'n' && $type != 'e') $type = 'c'; echo 'Seitentyp: '; echo 'Inhalt | '; echo 'Navigation | '; echo 'Editor

'; echo '
'; echo ''; echo ''; $groupres = $GLOBALS['db']->Execute('SELECT * FROM groups ORDER BY id'); $pages = $GLOBALS['pages']->GetList(); $groups = $groupres->GetArray(); array_unshift($groups, array(0, 'Gast')); echo ''; echo ''; foreach($groups as $group) { echo ''; } echo ''; $linex = true; foreach($pages as $page) { if($page[strlen($page)-1] != $type) continue; $pagedata = $GLOBALS['pages']->GetPageData(substr($page, 0, -2), $type); echo ''; $linex = !$linex; echo ''; foreach($groups as $group) { echo ''; } echo ''; } echo ''; echo '
' . $group[1] . '
' . $pagedata['name'] . '
'; echo ''; echo '
'; echo '
'; ?> ]]>