Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
- <title></title>
- <!-- Bootstrap -->
- <link href="css/style.css" rel="stylesheet">
- <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
- <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
- <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
- <![endif]-->
- <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
- <!-- Include all compiled plugins (below), or include individual files as needed -->
- <script src="js/funcs.js"></script>
- </head>
- <body>
- <video poster="https://anubiscode.fun/anubis.png" id="bgvid" playsinline autoplay loop>
- <br />
- <b>Warning</b>: session_start(): Cannot send session cookie - headers already sent by (output started at /var/www/u1030634/data/www/anubiscode.fun/index.php:27) in <b>/var/www/u1030634/data/www/anubiscode.fun/index.php</b> on line <b>28</b><br />
- <br />
- <b>Warning</b>: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/u1030634/data/www/anubiscode.fun/index.php:27) in <b>/var/www/u1030634/data/www/anubiscode.fun/index.php</b> on line <b>28</b><br />
- <source src="/vids/1.mp4" type="video/mp4"><br>
- <audio controls autoplay>
- <source src="/vids/1.mp3" type="audio/mpeg">
- </audio>
- </video>
- <div id="login-form">
- <h1>A N U B I S</h1>
- <fieldset>
- <div style="height: 20px;">
- <div class="alert" id="wrong">
- <strong>Wrong!</strong>
- </div>
- </div>
- <form method="post" id="auth">
- <input type="text" required name="login" value="LOGIN" onBlur="if(this.value=='')this.value='LOGIN'" onFocus="if(this.value=='LOGIN')this.value='' ">
- <input type="password" required name="password" value="Пароль" onBlur="if(this.value=='')this.value='Пароль'" onFocus="if(this.value=='Пароль')this.value='' ">
- <input type="submit" value="E N T E R">
- </form>
- </fieldset>
- </div>
- <script>
- $("#auth").submit(function(e) {
- var url = "cmd.php"; // the script where you handle the form input.
- $.ajax({
- type: "POST",
- url: url,
- data: $("#auth").serialize(), // serializes the form's elements.
- success: function(data)
- {
- if(data == 'true')
- location.href = '/table.php';
- else
- err(); // show response from the php script.
- }
- });
- e.preventDefault(); // avoid to execute the actual submit of the form.
- });
- </script>
- </body>
- </html>
Add Comment
Please, Sign In to add comment