aboutsummaryrefslogtreecommitdiff
path: root/src/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.php')
-rw-r--r--src/index.php13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/index.php b/src/index.php
index 6e75b41..ab74741 100644
--- a/src/index.php
+++ b/src/index.php
@@ -1,4 +1,5 @@
<?php
+
////////////////////////////////////////////////////////////////////////////////
//BOCA Online Contest Administrator
// Copyright (C) 2003-2012 by BOCA Development Team (bocasystem@gmail.com)
@@ -66,12 +67,13 @@ if(count($coo) != 2)
ob_end_flush();
require_once('version.php');
+
?>
<title>BOCA Online Contest Administrator <?php echo $BOCAVERSION; ?> - Login</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-<link rel=stylesheet href="Css.php" type="text/css">
+<link rel=stylesheet href="css.php" type="text/css">
<script language="JavaScript" src="sha256.js"></script>
<script language="JavaScript">
function computeHASH() {
@@ -86,6 +88,7 @@ function computeHASH() {
</script>
<?php
+
if(function_exists("globalconf") && function_exists("sanitizeVariables")) {
if(isset($_GET["name"]) && $_GET["name"] != "" ) {
$name = $_GET["name"];
@@ -123,6 +126,7 @@ if(function_exists("globalconf") && function_exists("sanitizeVariables")) {
echo "alert('Unable to load config files. Possible file permission problem in the BOCA directory.');\n";
echo "</script>\n";
}
+
?>
</head>
@@ -175,4 +179,9 @@ if(function_exists("globalconf") && function_exists("sanitizeVariables")) {
</td>
</tr>
</table>
-<?php include('footnote.php'); ?>
+
+<?php
+
+include('footnote.php');
+
+?>