This repository was archived by the owner on Sep 23, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 header ("Location: /options.php " );
77 $ _SESSION ['logged_in ' ]="1 " ;
88}
9-
10-
11-
129?>
1310<html>
1411 <head>
2118 <form name="form" id="form" action="" method="post" >
2219 Username: <input type="text" name="UID" id="UID" required><br><br>
2320 Password: <input type="password" name="passwd" id="passwd" required><br><br>
24- <input type="submit" value="Submit" onClick="">
21+ <input type="submit" value="Submit" onClick=""" >
2522 </form>
2623
2724<script>
3027 $('#UID').fadeOut();
3128 $('#passwd').fadeOut();
3229})
33-
3430});
3531</script>
36-
32+ <p class="footer">By: <a href="https://github.com/NerdOfCode" target="_blank"><b>NerdOf</b>Code</a>, <a href="https://github.com/NerdOfLinux" target="_blank"><b>NerdOf</b>Linux</a></p>
3733 </body>
3834
3935<?php
5046 $ _SESSION ['status ' ] = "1 " ;
5147 header ("Location: /options.php " );
5248 die ();
53- }else {
54- echo "An error has occured... Please try again later " ;
55- $ _SESSION ['status ' ] = "0 " ;
49+ }else if (! $ _SESSION ['status ' ]){
50+ echo "<p class= \"false \">Please re-enter creds.</p> " ;
5651}
5752mysqli_close ($ db );
5853
Original file line number Diff line number Diff line change @@ -23,7 +23,11 @@ body {
2323 cursor : pointer;
2424 width : 150px ;
2525 background-color : # 9f9595 ;
26-
27-
2826}
29-
27+ .footer {
28+ position : absolute;
29+ bottom : 0 ;
30+ left : 0 ;
31+ right : 0 ;
32+ text-align : center;
33+ }
You can’t perform that action at this time.
0 commit comments