Exemplo n.º 1
0
<?php

error_reporting(0);
ini_set('display_errors', 0);
include_once __DIR__ . "/../../model/concurso.php";
include_once __DIR__ . "/../../controller/pw.php";
include_once __DIR__ . "/../../controller/pwctrl_competition.php";
$continue = false;
try {
    $concurso = CompetitionController::getConcurso();
} catch (Exception $e) {
    $continue = true;
}
if (!$continue) {
    header("Location: ../../view/403.php");
    exit;
}
if (!isset($_SESSION)) {
    session_start();
}
$_SESSION["installation"] = true;
?>


<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">

	<title>Installation</title>
Exemplo n.º 2
0
<?php

include_once __DIR__ . "/../resources/code/models.php";
include_once __DIR__ . "/../resources/code/lang_coverage.php";
include_once __DIR__ . "/../controller/pwctrl_competition.php";
if (!isset($_SESSION)) {
    session_start();
}
$ganadoresPopulares = CompetitionController::getConcurso()->getGanadoresPopulares();
$ganadoresProfesionales = CompetitionController::getConcurso()->getGanadoresProfesionales();
?>

<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">

	<title><?php 
echo $l["view_admin_management"];
?>
</title>
	
	<!-- Main CSS file -->
	<link rel="stylesheet" href="../css/bootstrap.min.css" />
	<link rel="stylesheet" href="../css/owl.carousel.css" />
	<link rel="stylesheet" href="../css/font-awesome.css" />
	<link rel="stylesheet" href="../css/style.css" />
	<link rel="stylesheet" href="../css/responsive.css" />
	<link rel="stylesheet" href="../css/main.css" />
	<link rel="stylesheet" href="../css/alertify.default.css" />