Преглед изворни кода

added account and character preference

pull/16/head
mauirixxx пре 7 година
родитељ
комит
056bf64757
1 измењених фајлова са 2 додато и 0 уклоњено
  1. +2
    -0
      footer.php

+ 2
- 0
footer.php Прегледај датотеку

@@ -1,5 +1,7 @@
</center>
<?php
echo '<hr>';
echo '<center>| Preferred game account: <b>' . $_SESSION['prefaccname'] . '</b> | Preferred character: <b>' . $_SESSION['prefcharname'] . '</b> |</center><br />';
// the footer just adds a logout button at the bottom of every page for the currently logged in user
if (isset($_SESSION['userid']) && ($_SESSION['username'])) {
echo '<center><br /><br /><form method="post" action="logout.php"><input type="hidden" name="action" value="logout" ><input type="submit" value="Logout"></form></center>';


Loading…
Откажи
Сачувај