Файл: index.php
Строк: 25
<?php
error_reporting(0);
session_start();
include './sys/libmail.php';
include './sys/secure/captcha.php';
include './sys/config.php';
include './sys/functions.php';
$System = new Core;
$System->MysqlConnect($CONFIG);
include './sys/udata.php';
$do = $_GET['do'];
$act = $_GET['act'];
if(!$do) $do = 'index';
if($do=='phpinfo'){
die(phpinfo());
}
$Templater = new Templater;
$Templater->vars = array(
'content'=>$System->LoadModule($do),
'userblock'=>$System->LoadPlugin('userblock'),
'menu'=>$System->LoadPlugin('menu')
);
$Templater->GetTmpl('index');
$Templater->ModuleData = $do;
$Templater->Exec();