Esempio n. 1
0
### Initialise Frameworkclass for Basic output
include_once "inc/classes/class_framework.php";
$framework = new framework();
$framework->fullscreen($_GET['fullscreen']);
// Switch fullscreen via GET
// Notlösung... design als base und popup sollen ganz verschwinden
if ($_GET['design'] == 'base' or $_GET['design'] == 'popup' or $_GET['design'] == 'ajax' or $_GET['design'] == 'print' or $_GET['design'] == 'beamer') {
    $frmwrkmode = $_GET['design'];
}
// Set Popupmode via GET (base, popup)
if ($_GET['frmwrkmode']) {
    $frmwrkmode = $_GET['frmwrkmode'];
}
// Set Popupmode via GET (base, popup)
if (isset($frmwrkmode)) {
    $framework->set_modus($frmwrkmode);
}
// Ende Notlösung
### Set HTTP-Headers
header('Content-Type: text/html; charset=utf-8');
#header('Content-Type: application/xhtml+xml; charset=utf-8');
#header("Cache-Control: no-cache, must-revalidate");
include_once "ext_scripts/mobile_device_detect.php";
$framework->IsMobileBrowser = mobile_device_detect();
// For XHTML compatibility
@ini_set('arg_separator.output', '&');
### load $_POST and $_GET variables
// Fallback for PHP < 4.1 (still needed?)
if (!is_array($_POST)) {
    $_POST = $HTTP_POST_VARS;
}