You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

86 lines
2.8 KiB

$user = @$_POST['user'];
$pass = @$_POST['pass'];
if($user == "admin"
&& $pass == "soup")
$runningFileName = "login.php";
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TTT2 Role Adder</title>
<meta name="description" content="Add a new TTT2 Role">
<meta name="author" content="James">
<meta property="og:title" content="TTT2 Role Adder">
<meta property="og:type" content="website">
<meta property="og:url" content="">
<meta property="og:description" content="All TTT2 Roles documented halfheartedly">
<meta property="og:image" content="">
<link rel="icon" href="/favicon.ico">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<!--Import jQuery-->
<script src=""></script>
<!--Import Google Icon Font-->
<link href="" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection" />
<!--My Custom Stylesheet-->
<link rel="stylesheet" href="css/styles.css">
<div class="container center_all_things">
<div class="row">
<div class="col s12 blurry">
<div class="card-panel card white">
<div class="row">
<form method="POST" action="login.php">
<div class="input-field col s6">
<input type="text" name="user"></input><br/>
<label for="user">Name</label>
<div class="input-field col s6">
<input type="password" name="pass"></input><br/>
<label for="pass">Password</label>
<button class="btn waves-effect waves-light col s12" type="submit" value="Login" name="submit">Submit <i class="material-icons right">send</i>
$(document).ready(function() {
<script type="text/javascript" src="js/materialize.min.js"></script>