-
Notifications
You must be signed in to change notification settings - Fork 80
/
400.php
84 lines (72 loc) · 3 KB
/
400.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<?php
require('paths.php');
require(CONFIG.'bootstrap.php');
$section = "400";
$go = "error_page";
$container_main = "container";
$nav_container = "navbar-default";
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $_SESSION['contestName']; ?> Organized By <?php echo $_SESSION['contestHost']." > Error 400"; ?></title>
<?php
if (CDN) include (INCLUDES.'load_cdn_libraries.inc.php');
else include (INCLUDES.'load_local_libraries.inc.php');
?>
<!-- Load BCOE&M Custom Theme CSS - Contains Bootstrap overrides and custom classes -->
<link rel="stylesheet" type="text/css" href="<?php echo $theme; ?>" />
<script type="text/javascript">
var section = "<?php echo $section; ?>";
var action = "<?php echo $action; ?>";
var go = "<?php echo $go; ?>";
var edit_style = "<?php echo $action; ?>";
var user_level = "<?php if ((isset($_SESSION['userLevel'])) && ($bid != "default")) echo $_SESSION['userLevel']; else echo "2"; ?>";
</script>
<!-- Load BCOE&M Custom JS -->
<script src="<?php echo $js_app_url; ?>"></script>
</head>
<body>
<!-- MAIN NAV -->
<div class="container hidden-print">
<?php include (SECTIONS.'nav.sec.php'); ?>
</div><!-- container -->
<!-- ./MAIN NAV -->
<!-- ALERTS -->
<div class="container bcoem-warning-container">
<div style="margin-top:30px;" class="alert alert-danger"><span class="fa fa-exclamation-circle"></span> <strong>Invalid request.</strong> Don't worry, we still want you around!</div>
</div><!-- ./container -->
<!-- ./ALERTS -->
<!-- Public Pages (Fixed Layout with Sidebar) -->
<div class="container">
<div class="row">
<div class="col col-lg-9 col-md-8 col-sm-12 col-xs-12">
<div class="page-header">
<h1>400 Error</h1>
</div>
<p class="lead">Unfortunately, there was a problem.</p>
<p class="lead"><small>Please use the main navigation above to get where you want to go.</small></p>
<p>Cheers!</p>
<p class="small">– The <?php echo $_SESSION['contestName']; ?> Site Server</p>
</div><!-- ./left column -->
<div class="sidebar col col-lg-3 col-md-4 col-sm-12 col-xs-12">
<?php include (SECTIONS.'sidebar.sec.php'); ?>
</div><!-- ./sidebar -->
</div><!-- ./row -->
<!-- ./Public Pages -->
</div><!-- ./container -->
<!-- ./Public Pages -->
<!-- Footer -->
<footer class="footer hidden-xs hidden-sm hidden-md">
<nav class="navbar navbar-default navbar-fixed-bottom">
<div class="container text-center">
<p class="navbar-text col-md-12 col-sm-12 col-xs-12 text-muted small"><?php include (SECTIONS.'footer.sec.php'); ?></p>
</div>
</nav>
</footer><!-- ./footer -->
<!-- ./ Footer -->
</body>
</html>