Initial commit
This commit is contained in:
58
msd/main.php
Normal file
58
msd/main.php
Normal file
@ -0,0 +1,58 @@
|
||||
<?php
|
||||
/* ----------------------------------------------------------------------
|
||||
|
||||
MyOOS [Dumper]
|
||||
http://www.oos-shop.de/
|
||||
|
||||
Copyright (c) 2016 by the MyOOS Development Team.
|
||||
----------------------------------------------------------------------
|
||||
Based on:
|
||||
|
||||
MySqlDumper
|
||||
http://www.mysqldumper.de
|
||||
|
||||
Copyright (C)2004-2011 Daniel Schlichtholz (admin@mysqldumper.de)
|
||||
----------------------------------------------------------------------
|
||||
Released under the GNU General Public License
|
||||
---------------------------------------------------------------------- */
|
||||
|
||||
define('OOS_VALID_MOD', true);
|
||||
|
||||
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();
|
Reference in New Issue
Block a user