Initial commit of version 1.24.4
Dieser Commit ist enthalten in:
Ursprung
71216834d4
Commit
ff7578f6fe
328 geänderte Dateien mit 38836 neuen und 0 gelöschten Zeilen
39
main.php
Normale Datei
39
main.php
Normale Datei
|
|
@ -0,0 +1,39 @@
|
|||
<?php
|
||||
if (!@ob_start("ob_gzhandler")) @ob_start();
|
||||
include_once ('./inc/header.php');
|
||||
include_once ('./inc/runtime.php');
|
||||
include_once ('./language/'.$config['language'].'/lang_main.php');
|
||||
include ('./inc/template.php');
|
||||
|
||||
$action=(isset($_GET['action'])) ? $_GET['action'] : 'status';
|
||||
|
||||
if ($action=='phpinfo')
|
||||
{
|
||||
// output phpinfo
|
||||
echo '<p align="center"><a href="main.php"><< Home</a></p>';
|
||||
phpinfo();
|
||||
echo '<p align="center"><a href="main.php"><< Home</a></p>';
|
||||
exit();
|
||||
}
|
||||
|
||||
if (isset($_POST['htaccess'])||$action=='schutz') include ('./inc/home/protection_create.php');
|
||||
if ($action=='edithtaccess') include ('./inc/home/protection_edit.php');
|
||||
if ($action=='deletehtaccess') include ('./inc/home/protection_delete.php');
|
||||
|
||||
// Output headnavi
|
||||
$tpl=new MSDTemplate();
|
||||
$tpl->set_filenames(array(
|
||||
'show' => 'tpl/home/headnavi.tpl'));
|
||||
$tpl->assign_vars(array(
|
||||
'HEADER' => MSDHeader(),
|
||||
'HEADLINE' => headline('Home')));
|
||||
$tpl->pparse('show');
|
||||
|
||||
MSD_mysql_connect();
|
||||
if ($action=='status') include ('./inc/home/home.php');
|
||||
elseif ($action=='db') include ('./inc/home/databases.php');
|
||||
elseif ($action=='sys') include ('./inc/home/system.php');
|
||||
elseif ($action=='vars') include ('./inc/home/mysql_variables.php');
|
||||
|
||||
echo MSDFooter();
|
||||
ob_end_flush();
|
||||
Laden …
Tabelle hinzufügen
Einen Link hinzufügen
In neuem Issue referenzieren