Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <!DOCTYPE html>
- <html>
- <head>
- <link rel='stylesheet' href='styles/main.css'>
- <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js'></script>
- </head>
- <script>
- $('button').click(function(event) {
- event.preventDefault();
- $('html, body').animate({ scrollTop: $(document).height() }, 1000);
- });
- </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>
- <body>
- <div class='mobile-nav-block'><div class='mobile-nav'><div class='hd'>
- <div class='hd-block'>
- <span>Chào mừng đến với SAOVN.XYZ!</span>
- </div>
- </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">
- <form id="register">
- <div class="blocks">
- <span class="title center-height">REGISTER</span>
- </div>
- <div class="blocks">
- <div class="hd">
- <span class="center-height">TÊN ĐĂNG NHẬP:</span>
- </div>
- <div class="bd">
- <input type="text" id="user" class="center-height" placeholder="NHẬP TÊN ĐĂNG NHẬP">
- </div>
- </div>
- <div class="blocks">
- <div class="hd">
- <span class="center-height">MẬT KHẨU:</span>
- </div>
- <div class="bd">
- <input type="password" id="pass" class="center-height" placeholder="NHẬP MẬT KHẨU">
- </div>
- </div>
- <div class="blocks">
- <div class="hd">
- <span class="center-height">NHẬP LẠI MẬT KHẨU:</span>
- </div>
- <div class="bd">
- <input type="password" id="repass" class="center-height" placeholder="NHẬP LẠI MẬT KHẨU">
- </div>
- </div>
- <div class="blocks">
- <input type="submit" value="ĐĂNG KÝ" class="center-all">
- </div>
- </form>
- </div>
- <script type="text/javascript">
- $(document).ready(function(){
- $("#register").submit(function(){
- $.post("requests/register.php", {
- usr: $("#user").val(),
- psw: $("#pass").val(),
- rpsw: $("#repass").val()
- }, function(r){
- if(r != "OK"){
- addNoti(r, 4);
- }else {
- window.location.href = "index.php";
- }
- });
- });
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement