Source for file index.php
Documentation is available at index.php
define('START_MICROTIME', microtime());
define('BASE_DIR', str_replace("\\", "/", substr(dirname(__FILE__
), 0, -
6)));
require
(BASE_DIR .
'/admin/init.php');
if (empty($_SESSION['admin_language']))
if (!empty($_REQUEST['feld']) &&
!empty($_REQUEST['Id']) &&
!empty($_REQUEST['RubrikId']))
$_SESSION['redirectlink'] =
'index.php?do=docs&action=edit&pop=1'
.
'&RubrikId=' . (int)
$_REQUEST['RubrikId']
.
'&Id=' . (int)
$_REQUEST['Id']
.
'&feld=' . (int)
$_REQUEST['feld']
.
'#' . (int)
$_REQUEST['feld'];
unset
($_SESSION['redirectlink']);
$_REQUEST['do'] =
(!isset
($_REQUEST['do'])) ?
'' :
$_REQUEST['do'];
$_REQUEST['action'] =
(!isset
($_REQUEST['action'])) ?
'' :
$_REQUEST['action'];
$_REQUEST['sub'] =
(!isset
($_REQUEST['sub'])) ?
'' :
$_REQUEST['sub'];
$_REQUEST['submit'] =
(!isset
($_REQUEST['submit'])) ?
'' :
$_REQUEST['submit'];
$AVE_Template->assign('navi', $AVE_Template->fetch('navi/navi.tpl'));
$allowed =
array('index', 'start', 'templates', 'rubs', 'user', 'groups', 'docs', 'navigation', 'logs', 'request', 'modules', 'settings', 'dbsettings');
$do =
(!empty($_REQUEST['do'])) ?
$_REQUEST['do'] :
'start';
define('DO_FILE', BASE_DIR .
'/admin/' .
$do .
'.php');
define('DO_FILE', BASE_DIR .
'/admin/start.php');
if (defined('NOPERM')) $AVE_Template->assign('content', $config_vars['MAIN_NO_PERMISSION']);
//$tpl = (isset($_REQUEST['css']) && $_REQUEST['css'] == 'inline') ? 'iframe.tpl' : 'pop.tpl';
//$tpl = (isset($_REQUEST['pop']) && $_REQUEST['pop'] == 1) ? $tpl : 'main.tpl';
$tpl =
(isset
($_REQUEST['pop']) &&
$_REQUEST['pop'] ==
1) ?
'pop.tpl' :
'main.tpl';
$AVE_Template->display($tpl);
Documentation generated on Fri, 04 Jun 2010 18:02:37 +0400 by phpDocumentor 1.4.3