forked from robbiet480/MineAdmin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
36 lines (36 loc) · 1.19 KB
/
index.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
<?php
if(!file_exists('admin/config.php')) {
header("Location: admin/install.php");
}
include('admin/includes/markdown.php');
?>
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>MinecraftServers.com</title>
<style type="text/css">
#wrapper{display:table;overflow:hidden;margin:0px auto;}
#container{display:table-cell;}
html,body{height:100%;}
body {background: #d3d3d3 url('images/bg.png') no-repeat top center; font-family: sans-serif; font-size: 16px;}
a {text-decoration: none;color:#144564;}
ul,li {}
#footer {color: #b2b2b2;text-shadow:#fff 0px 1px 0, #999 0 -1px 0;}
#footer a {color: #144564;text-decoration: none;}
#wrapper{height:100%;width:800px;}
#content {margin-top: 75px;text-align: left;}
#footer {position: absolute;bottom: 15px;width:800px;text-align: center;}
</style>
</head>
<body>
<div id="wrapper">
<div id="container">
<div id="content">
<?php echo Markdown(file_get_contents('admin/markdown.md'));?>
</div>
<div id="footer">Powered by <a href="http://minecraftservers.com">MinecraftServers.com</a></div>
</div>
</div>
</body>
</html>