Just a web script to help track when, where, and what you got from the free treasures scattered about Nightfall in the game Guild Wars.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

28 rindas
1.3 KiB

  1. <!DOCTYPE html>
  2. <HTML>
  3. <HEAD>
  4. <link rel="stylesheet" type="text/css" href="gw-style.css">
  5. <?php
  6. session_start();
  7. if (isset($_SESSION['userid']) && ($_SESSION['access'])){
  8. $uname = $_SESSION['username'];
  9. echo '<TITLE>Welcome, ' . $uname . '</TITLE></HEAD><BODY><CENTER>';
  10. if ($_SESSION['access'] < 9){ //need to make this a SQL query instead
  11. echo'<BR />You don\'t have access to these tools!<BR />';
  12. } else {
  13. echo 'Delete a toon <A HREF="gw-deletetoon.php" CLASS="navlink">here</A><BR />'; //page doesn't actually exist yet
  14. echo 'This will delete a character from a user account, and all of it\'s recorded drop data - this is not reversible!<BR /><BR />';
  15. echo 'Delete a user <A HREF="gw-deleteuser.php" CLASS="navlink">here</A><BR />'; //page doesn't actually exist yet
  16. echo 'This will delete the user, all of their associated toons, and associated drop data - this is NOT reversible!<BR /><BR />';
  17. }
  18. echo 'Click <A HREF="gw-index.php" CLASS="navlink">HERE</A> to return to the home page!';
  19. } else {
  20. echo '<TITLE>Login Required</TITLE></HEAD><BODY>';
  21. echo '<CENTER><FORM ACTION="gw-login.php" METHOD="POST">Username:<INPUT TYPE="TEXT" NAME="username" SIZE="20"><BR />';
  22. echo 'Password:<INPUT TYPE="PASSWORD" NAME="password" SIZE="20"><BR />';
  23. echo '<INPUT TYPE="SUBMIT" VALUE="Login ..."></FORM>';
  24. }
  25. ?>
  26. </CENTER>
  27. </BODY>
  28. </HTML>