/
index.php
56 lines (56 loc) · 1.81 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
require_once "inc/user.inc.php";
require_once "inc/misc.inc.php";
require_once "inc/alerts.inc.php";
require_once "inc/mail.inc.php";
?>
<html>
<head>
<title>xMail</title>
<link rel='stylesheet' href='style.css'>
</head>
</body>
<div class='wrapper'>
<div class='header'>
<h1>xMail</h1>
<h2>Cross Server Minecraft Mail</h2>
<ul class='nav'>
<li><a href='index.php'>Home</a></li>
<?php
if(isLoggedIn()){
?>
<li><a href='compose.php'>Compose</a></li>
<li><a href='mail.php?folder=inbox'>Inbox</a></li>
<li><a href='account.php'>My Account</a></li>
<li><a href='logout.php'>Logout</a></li>
<?php
}else{
?>
<li><a href='login.php'>Login</a></li>
<li><a href='register.php'>Register</a></li>
<?php
}
?>
<li><a href='about.php'>About xMail</a></li>
</ul>
</div>
<div class='body'>
<?php
$alerts->displayAllAlerts(); // Display alerts
?>
<div class='post'>
<span class='title'>Welcome to xMail!</span>
<p class='content'>
xMail is a mail system for Minecraft servers that want cross-server mail. This specific server appears to be running their own local mail system, therefore mail here cannot be accessed at <a href='http://xmail.turt2live.com' target='_TOP'>xmail.turt2live.com</a>. <br>
<br>
Remember to have fun with xMail! It's a mail system for you to enjoy.
</p>
</div>
</div>
<div class='footer'>
Original design by <a href='http://xmail.turt2live.com' target='_TOP'>turt2live</a>. xMail is designed and tested for Bukkit servers only.<br>
This template is meant to be replaced. Head over to <a href='http://webchat.esper.net/?nick=xMailUser...&channels=turt2live' target='_TOP'>#turt2live on EsperNet</a> for help.
</div>
</div>
</body>
</html>