Файл: install/inc/step_1.php
Строк: 32
<?php
$set['title'] = 'Проверка платформы';
require_once 'inc/head.php';
echo "<div class = 'razd'>";
require_once H . 'sys/inc/testing.php';
echo "</div>";
if (isset($err)) {
if (is_array($err)) {
foreach ($err as $key => $value) {
echo "<div class='err'>$value</div>n";
}
} else {
echo "<div class='err'>$err</div>n";
}
} elseif (isset($_GET['step']) && $_GET['step'] == '2') {
$_SESSION['install_step'] ++;
header("Location: index.php?$passgen&" . SID);
exit;
}
echo "<form method="get" class = 'razd' action="index.php">n";
echo "<input name='gen' value='$passgen' type='hidden' />n";
echo "<input name="step" value="" . ($_SESSION['install_step'] + 1) . "" type="hidden" />n";
echo "<div class = 'button_blue'>";
echo "<button value="" . (isset($err) ? 'Cкрипт не готов к установке' : 'Продолжить') . "" type="submit"" . (isset($err) ? ' disabled="disabled"' : null) . ">Далее</button>";
echo "</div></form>";
require_once 'inc/foot.php';