-
Notifications
You must be signed in to change notification settings - Fork 8
/
shades.php
60 lines (46 loc) · 1.8 KB
/
shades.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
<?php
// translator ready
// addnews ready
// mail ready
require_once("common.php");
require_once("lib/commentary.php");
tlschema("shades");
page_header("Land of the Shades");
addcommentary();
checkday();
if ($session['user']['alive']) redirect("village.php");
output("`\$You walk among the dead now, you are a shade. ");
output("Everywhere around you are the souls of those who have fallen in battle, in old age, and in grievous accidents. ");
output("Each bears telltale signs of the means by which they met their end.`n`n");
output("Their souls whisper their torments, haunting your mind with their despair:`n");
output("`nA sepulchral voice intones, \"`QIt is now %s in the world above.`\$\"`n`n",getgametime());
addnav("Log Out");
addnav("Log out","login.php?op=logout");
addnav("Places");
addnav("The Graveyard","graveyard.php");
addnav("Return to the news","news.php");
modulehook("shades", array()); // if this is too low, you can use footer-shades...
commentdisplay("`n`QNearby, some lost souls lament:`n", "shade","Despair",25,"despairs");
tlschema("nav");
// the mute module blocks players from speaking until they
// read the FAQs, and if they first try to speak when dead
// there is no way for them to unmute themselves without this link.
addnav("Other");
addnav("??F.A.Q. (Frequently Asked Questions)", "petition.php?op=faq",false,true);
addnav("A?Account Info","account.php");
addnav("P?Preferences","prefs.php");
if ($session['user']['superuser'] & SU_EDIT_COMMENTS){
addnav("Superuser");
addnav(",?Comment Moderation","moderate.php");
}
if ($session['user']['superuser']&~SU_DOESNT_GIVE_GROTTO){
addnav("Superuser");
addnav("X?Superuser Grotto","superuser.php");
}
if ($session['user']['superuser'] & SU_INFINITE_DAYS){
addnav("Superuser");
addnav("/?New Day","newday.php");
}
tlschema();
page_footer();
?>