Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.59 KB | None | 0 0
  1.  
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <!DOCTYPE html>
  6. <html>
  7. <head>
  8. <link rel='stylesheet' href='styles/main.css'>
  9. <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js'></script>
  10. </head>
  11. <script>
  12. $('button').click(function(event) {
  13. event.preventDefault();
  14. $('html, body').animate({ scrollTop: $(document).height() }, 1000);
  15. });
  16. </script><meta charset='UTF-8' /><title>SAOVN.XYZ | REGISTER</title><link rel='stylesheet' type='text/css' href='styles/font-awesome/css/font-awesome.min.css' /><link rel='stylesheet' type='text/css' href='styles/api.css' /><link rel='stylesheet' type='text/css' href='styles/nav.css' /><link rel='stylesheet' type='text/css' href='styles/header.css' /><script src='scripts/jquery-3.2.1.min.js'></script><script src='scripts/api.js'></script><link rel='stylesheet' type='text/css' href='styles/form.css' /><link rel='stylesheet' type='text/css' href='styles/notice.css' /><script src='scripts/header.js'></script> </head>
  17. <body>
  18. <div class='mobile-nav-block'><div class='mobile-nav'><div class='hd'>
  19. <div class='hd-block'>
  20. <span>Chào mừng đến với SAOVN.XYZ!</span>
  21. </div>
  22. </div><a href='/'><div class='section'><span class='center-height'>Trang Chủ</span></div></a><a href='tintuc.php'><div class='section'><span class='center-height'>Tin Tức</span></div></a><a href='login.php'><div class='section'><span class='center-height'>Đăng Nhập</span></div></a><a href='logout.php'><div class='section'><span class='center-height'>Đăng Ký</span></div></a></div><div class='close'></div></div><div class='nav'><div class='open-mobile-nav'><i class='center-all fa fa-list' aria-hidden='true'></i></div><a href='/'><div style='margin-left: 3%;' class='section'><span class='center-height'><font face='Tekton Pro'/>TRANG CHỦ</span></div></a><a href='404.php'><div class='section'><span class='center-height'><font face='Tekton Pro'/>TẢI GAME</span></div></a><div class='name'><a href='/'><span class='center-height'><font face='Tekton Pro'/>SAOVN.XYZ</span></a></div><a href='login.php'><div style='margin-right: 3%;' class='auth'><span class='center-height'><font face='Tekton Pro'/>ĐĂNG NHẬP</span></div></a><a href='reg.php'><div class='auth'><span class='center-height'><font face='Tekton Pro'/>ĐĂNG KÝ</span></div></a></div><div id='spec'></div><div class="notis"></div><div class='header'><div class='layer'></div><br></br><br></br><br></br><h1><font face='Orator Std' color='white'>SERVER MINECRAFT VIỆT NAM</font></h1><br></br><br></br><br></br><h1><button class='button'><font size='3' face='Comic sans MS' color='white'>ONLINE:<font color='3366cc'><big> </font></font></button></h1><br></br><h2><font face='Comic sans MS' color='white'><mark>ĐĂNG KÝ</mark></font></h2></div> <div class="form">
  23. <form id="register">
  24. <div class="blocks">
  25. <span class="title center-height">REGISTER</span>
  26. </div>
  27.  
  28. <div class="blocks">
  29. <div class="hd">
  30. <span class="center-height">TÊN ĐĂNG NHẬP:</span>
  31. </div>
  32.  
  33. <div class="bd">
  34. <input type="text" id="user" class="center-height" placeholder="NHẬP TÊN ĐĂNG NHẬP">
  35. </div>
  36. </div>
  37.  
  38. <div class="blocks">
  39. <div class="hd">
  40. <span class="center-height">MẬT KHẨU:</span>
  41. </div>
  42.  
  43. <div class="bd">
  44. <input type="password" id="pass" class="center-height" placeholder="NHẬP MẬT KHẨU">
  45. </div>
  46. </div>
  47.  
  48. <div class="blocks">
  49. <div class="hd">
  50. <span class="center-height">NHẬP LẠI MẬT KHẨU:</span>
  51. </div>
  52.  
  53. <div class="bd">
  54. <input type="password" id="repass" class="center-height" placeholder="NHẬP LẠI MẬT KHẨU">
  55. </div>
  56. </div>
  57. <div class="blocks">
  58. <input type="submit" value="ĐĂNG KÝ" class="center-all">
  59. </div>
  60. </form>
  61. </div>
  62.  
  63. <script type="text/javascript">
  64. $(document).ready(function(){
  65. $("#register").submit(function(){
  66. $.post("requests/register.php", {
  67. usr: $("#user").val(),
  68. psw: $("#pass").val(),
  69. rpsw: $("#repass").val()
  70. }, function(r){
  71. if(r != "OK"){
  72. addNoti(r, 4);
  73. }else {
  74. window.location.href = "index.php";
  75. }
  76. });
  77. });
  78. });
  79. </script>
  80. </body>
  81. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement