Advertisement
Guest User

Untitled

a guest
Feb 8th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. <?php
  2. include('login.php');
  3. ?>
  4.  
  5. <!DOCTYPE html>
  6. <html>
  7. <head>
  8. <meta charset="utf-8">
  9. <title>HighLife RP Gamelogin</title>
  10. <link rel="stylesheet" href="styles.css">
  11. <html>
  12. <body>
  13. <div class="box">
  14. <h2><FONT SIZE="8"><FONT FACE="Pricedown"><FONT COLOR="#00CC33">Willkommen bei HighLife</h2></FONT>
  15. <FONT SIZE="2"><FONT COLOR="#FFFFFF"><CENTER><FONT FACE="Arial"><I>(Benutze deine Foren Logindaten)</CENTER></FONT></I>
  16. <form>
  17. <form action="" method="get">
  18. <input name="username" placeholder="username" id="InputUsername" onkeypress="return runScript(event)">
  19. <input type="password" name="password" placeholder="Passwort" id="InputPassword" onkeypress="return runScript(event)">
  20. <footer class="w3-container w3-light-blue w3-center">
  21. <h5><input class="w3-btn w3-blue w3-round-xlarge" type="submit" value="Einreisen" onclick="OnClickLogin()"></h5>
  22. </footer>
  23. </form>
  24. </div>
  25. </body>
  26. </html>
  27.  
  28. <script>
  29. function SetUsername(username)
  30. {
  31. document.getElementById('InputUsername').value = username;
  32. }
  33. function OnClickLogin()
  34. {
  35. var loginData = {
  36. username: document.getElementById('InputUsername').value,
  37. password: document.getElementById('InputPassword').value
  38. };
  39. resourceCall("login", JSON.stringify(loginData));
  40. }
  41. function runScript(e)
  42. {
  43. if (e.keyCode == 13)
  44. {
  45. OnClickLogin();
  46. return false;
  47. }
  48. }
  49. </script>
  50. </head>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement