Вход Регистрация
Файл: install/index.php
Строк: 69
<?php

define
('H'$_SERVER['DOCUMENT_ROOT'] . '/');
$args = array(
  
'type' => FILTER_SANITIZE_STRING,
  
'step' => FILTER_VALIDATE_INT,
  );
$inGet filter_input_array(INPUT_GET$args); unset($args);
$inString filter_input_array(INPUT_POSTFILTER_SANITIZE_STRINGFILTER_REQUIRE_ARRAY);
ob_start();

?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="content-type" content="text/html" />
    <meta name="viewport" content="initial-scale = 1.0,maximum-scale = 1.0" />
    <meta name="author" content="admin" />
    <title>Инсталяция Fiera</title>
    <link href="/install/css/style.css" type="text/css" rel="stylesheet" media="all"/>
  </head>
  <body>
<?php

$mysqli 
true;
$install_mod true;

include_once 
'inc/fnc.php';

$step $_SESSION['step_install'] = isset($inGet['step']) ? intval($inGet['step']) : 0;

?>
<div class="head">
    <img src="img/logotype.png" alt="*"/>
</div>
<?php

if (!install() || $step == 4) {
    
?>
<div class="div">
<?php

    
echo($step != '<img src="img/b1.png" alt="*"/> Приветствие и Соглашение' :
        
'<img src="img/b2.png" alt="*"/> <strong>Приветствие и Соглашение</strong> ') . '<br />' PHP_EOL;
    echo(
$step != '<img src="img/b1.png" alt="*"/> Проверка совместимости системы с хостингом' :
        
'<img src="img/b2.png" alt="*"/> <strong>Проверка совместимости системы с хостингом</strong> ') . '<br />' PHP_EOL;
    echo(
$step != '<img src="img/b1.png" alt="*"/> Установка CMOD ' :
        
'<img src="img/b2.png" alt="*"/> <strong>Установка CMOD</strong> ') . '<br />' .  PHP_EOL;
    echo(
$step != '<img src="img/b1.png" alt="*"/> Загрузка таблиц в базу данных ' :
        
'<img src="img/b2.png" alt="*"/> <strong>Загрузка таблиц в базу данных</strong> ') . '<br />' PHP_EOL;
    echo(
$step != '<img src="img/b1.png" alt="*"/> Регистрация Создателя ' :
        
'<img src="img/b2.png" alt="*"/> <strong>Регистрация Создателя</strong>') . '<br />' PHP_EOL;
    echo 
'</div>' PHP_EOL;
} else {
    
?>
<div class="msg" style="text-align:center;color:red;">
    <p><?= install()?></p>
</div>
<div class="foot">
    <a class="c1" href="//dcms-fiera.ru/?copyright">DCMS-FIERA</a>
</div>
</body>
</html>
<?php

    
exit();
}
if (isset(
$inGet['type'])) {
    
$module_loads $inGet['type'];
} else {
    
$module_loads null;
}
if (
preg_match('/.php$/i'$module_loads)) {
    
$module_s true;
} else {
    
$module_s false;
}
if (
is_file('install/page/' $module_loads '.php') and $module_s == false) {
    include_once 
'page/' $module_loads '.php';
} else {
    include_once 
'page/index.php';
}
ob_end_flush();

?>
<div class="foot">
    <a class="c1" href="//fiera.su/?copyright">DCMS-FIERA</a>
</div>
</body>
</html>
Онлайн: 1
Реклама