Exemplo n.º 1
0
echo time();
?>
"></script>

</head>
<body class="uk-height-1-1">
<div class="uk-vertical-align uk-text-center uk-height-1-1">
<div class="uk-vertical-align-middle">
	<h1 class="title"><?php 
echo $Language->get('Bludit Installer');
?>
</h1>
	<div class="content">

	<?php 
$system = checkSystem();
// Missing requirements
if (!empty($system)) {
    foreach ($system as $values) {
        echo '<div class="uk-panel">';
        echo '<div class="uk-panel-badge uk-badge uk-badge-danger">FAIL</div>';
        echo '<h3 class="uk-panel-title">' . $values['title'] . '</h3>';
        echo $values['errorText'];
        echo '</div>';
    }
} elseif (isset($_GET['language'])) {
    ?>
		<p><?php 
    echo $Language->get('Complete the form choose a password for the username admin');
    ?>
</p>
Exemplo n.º 2
0
        }
    }
    return true;
}
function printError($cause, $solution)
{
    global $message;
    print "<div style='font-weight: bold'>";
    print "<font color='#cc0000'>" . $message["install_error"] . "</font><br/>";
    print $cause . "<br/>";
    print $solution;
    print "</div>";
}
$messageArray = array("es" => array("adm" => "Administración del ABCD Site", "user" => "usuario", "password" => "contraseña", "enter" => "entre", "lang1" => "<a href=\"index.php?lang=pt\">português</a>", "lang2" => "<a href=\"index.php?lang=en\">english</a>", "lang3" => "<a href=\"index.php?lang=fr\">français</a>", "timeout" => "Tiempo de conexión encerrado, por favor efectúe nuevamente el login.", "install_error" => "Error de instalación", "invalid_dir" => "Causa: directorio inválido: ", "invalid_perm" => "Causa: no es posible grabar en el directorio: ", "invalid_user_file" => "Causa:  no fue posible localizar el archivo de usuarios del sistema. ", "check_def" => "Posible solución: verificar las rutas en el archivo de configuración bvs-site-conf.php", "check_perm" => "Posible solución: ajustar los permisos para este directorio", "popup_blocker" => "Atención: Antes de seguir es necesario configurar su navegador para permitir la apertura de ventanas popup en este sitio."), "pt" => array("adm" => "Administração do ABCD Site", "user" => "usuário", "password" => "senha", "enter" => "entre", "lang1" => "<a href=\"index.php?lang=es\">español</a>", "lang2" => "<a href=\"index.php?lang=en\">english</a>", "lang3" => "<a href=\"index.php?lang=fr\">français</a>", "timeout" => "Tempo de conexão encerrado, por favor efetue novamente o login.", "install_error" => "Erro de instalação", "invalid_dir" => "Causa: diretório inválido: ", "invalid_perm" => "Causa: não é possivel gravar no diretório: ", "invalid_user_file" => "Causa: não foi possivel localizar o arquivo de usuários do sistema.  ", "check_def" => "Possivel solução: verificar os caminhos indicados no arquivo de configuração bvs-site-conf.php", "check_perm" => "Possivel solução: ajustar as permissões para este diretório", "popup_blocker" => "Atenção: Antes de prosseguir é necessário configurar seu navegador para permitir a abertura de janelas popup neste site."), "en" => array("adm" => "ABCD Site Administration", "user" => "user", "password" => "password", "enter" => "enter", "lang1" => "<a href=\"index.php?lang=es\">español</a>", "lang2" => "<a href=\"index.php?lang=pt\">português</a>", "lang3" => "<a href=\"index.php?lang=fr\">français</a>", "timeout" => "Connection timeout, please login again.", "install_error" => "Install error", "invalid_dir" => "Cause: invalid directory: ", "invalid_perm" => "Cause: no write permission in the diretory: ", "invalid_user_file" => "Cause:  unable to locate the users system file. ", "check_def" => "Posible solution: verify system path's on bvs-site-conf.php file", "check_perm" => "Posible solution:  adjust directory permission", "popup_blocker" => "Attention: Before continue is necessary to configure your browser to permit opening popup window in this site."), "fr" => array("adm" => "ABCD Site Administration - fr", "user" => "user", "password" => "password", "enter" => "enter", "lang1" => "<a href=\"index.php?lang=es\">español</a>", "lang2" => "<a href=\"index.php?lang=pt\">português</a>", "lang3" => "<a href=\"index.php?lang=en\">english</a>", "timeout" => "Connection timeout, please login again.", "install_error" => "Install error", "invalid_dir" => "Cause: invalid directory: ", "invalid_perm" => "Cause: no write permission in the diretory: ", "invalid_user_file" => "Cause:  unable to locate the users system file. ", "check_def" => "Posible solution: verify system path's on bvs-site-conf.php file", "check_perm" => "Posible solution:  adjust directory permission", "popup_blocker" => "Attention: Before continue is necessary to configure your browser to permit opening popup window in this site."));
$message = $messageArray[$lang];
if (checkSystem() == false) {
    die;
}
?>


<html>
<head>
	<title><?php 
print $message["adm"];
?>
</title>
	<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
	<script language="JavaScript">
		var formPage = null;
		var wOpen = null;