forked from geoffhumphrey/brewcompetitiononlineentry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
500.php
173 lines (144 loc) · 6.1 KB
/
500.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<?php
require('paths.php');
require(CONFIG.'bootstrap.php');
$section = "500";
$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 500"; ?></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; ?>" />
<!-- Load BCOE&M Custom JS -->
<script src="<?php echo $base_url; ?>js_includes/bcoem_custom.min.js"></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 class="alert alert-danger"><span class="fa fa-exclamation-circle"></span> <strong>A misconfiguration on the server caused a hiccup.</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>500 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!<br>– 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 -->
<!-- Mods Bottom -->
<div class="container">
</div>
<!-- ./Mods Bottom -->
<!-- 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>
=======
<?php
require('paths.php');
require(CONFIG.'bootstrap.php');
$section = "500";
$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 500"; ?></title>
<!-- Load jQuery / http://jquery.com/ -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<!-- Load Bootstrap / http://www.getbootsrap.com -->
<link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" />
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- Load Font Awesome / https://fortawesome.github.io/Font-Awesome -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<!-- Load BCOE&M Custom Theme CSS - Contains Bootstrap overrides and custom classes -->
<link rel="stylesheet" type="text/css" href="<?php echo $theme; ?>" />
<!-- Load BCOE&M Custom JS -->
<script src="<?php echo $base_url; ?>js_includes/bcoem_custom.min.js"></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 class="alert alert-danger"><span class="fa fa-exclamation-circle"></span> <strong>A misconfiguration on the server caused a hiccup.</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>500 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!<br>– 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 -->
<!-- Mods Bottom -->
<div class="container">
</div>
<!-- ./Mods Bottom -->
<!-- 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>