2024-12-13 12:40:13 -06:00
|
|
|
<section>
|
|
|
|
<div class="title"><img src="/img/button_location.gif" alt="Location" title="Location"></div>
|
2024-12-17 22:10:49 -06:00
|
|
|
Currently: <?= user()->currentaction ?><br>
|
|
|
|
Latitude: <?= user()->latitude ?><br>
|
|
|
|
Longitude: <?= user()->longitude ?><br>
|
2024-12-13 12:40:13 -06:00
|
|
|
<a href="javascript:openmappopup()">View Map</a><br>
|
|
|
|
<form action="/move" method="post" class="move-compass">
|
|
|
|
<button type="submit" name="direction" value="north" class="north">North</button>
|
|
|
|
<div class="mid">
|
|
|
|
<button type="submit" name="direction" value="west" class="west">West</button>
|
|
|
|
<button type="submit" name="direction" value="east" class="east">East</button>
|
|
|
|
</div>
|
|
|
|
<button type="submit" name="direction" value="south" class="south">South</button>
|
2024-12-12 18:36:30 -06:00
|
|
|
</form>
|
2024-12-13 12:40:13 -06:00
|
|
|
</section>
|
2017-02-05 10:49:37 -06:00
|
|
|
|
2024-12-13 12:47:29 -06:00
|
|
|
<section>
|
|
|
|
<div class="title"><img src="/img/button_towns.gif" alt="Towns" title="Towns"></div>
|
2024-12-17 22:10:49 -06:00
|
|
|
<?php
|
|
|
|
if (user()->currentaction == 'In Town') {
|
|
|
|
$town = get_town_by_xy((int) user()->latitude, (int) user()->longitude);
|
|
|
|
echo "Welcome to <b>{$town['name']}</b>.<br><br>";
|
|
|
|
}
|
|
|
|
?>
|
2024-12-12 18:36:30 -06:00
|
|
|
Travel To:<br>
|
2024-12-17 22:10:49 -06:00
|
|
|
<?= $town_list ?>
|
2024-12-13 12:47:29 -06:00
|
|
|
</section>
|
2017-02-05 10:49:37 -06:00
|
|
|
|
2024-12-13 12:47:29 -06:00
|
|
|
<section>
|
|
|
|
<div class="title"><img src="/img/button_functions.gif" alt="Functions" title="Functions"></div>
|
2024-12-13 11:42:22 -06:00
|
|
|
<a href="/">Home</a><br>
|
2024-12-17 22:10:49 -06:00
|
|
|
<a href="/forum">Forum</a><br>
|
2024-12-16 19:58:46 -06:00
|
|
|
<a href="/settings">Settings</a><br>
|
2024-12-13 15:24:08 -06:00
|
|
|
<a href="/changepassword">Change Password</a><br>
|
2024-12-13 14:57:48 -06:00
|
|
|
<a href="/logout">Log Out</a><br>
|
2024-12-17 22:10:49 -06:00
|
|
|
<?php if (user()->authlevel === 1): ?>
|
|
|
|
<a href="/admin">Admin</a><br>
|
|
|
|
<?php endif; ?>
|
2024-12-13 14:57:48 -06:00
|
|
|
<a href="/help">Help</a>
|
2024-12-13 12:47:29 -06:00
|
|
|
</section>
|