forked from Game4Fun/web_game4fun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
47 lines (42 loc) · 1.21 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
session_start();
$_SESSION["rep"] = " ";
$_SESSION["utype"] = "Personal";
$_SESSION["uname"] = " ";
$_SESSION["upsw"] = " ";
?>
<!DOCTYPE html>
<html>
<head>
<title>Login Page</title>
</head>
<style>
h1 {
color: blue;
font-family: verdana;
font-size: 300%;
}
</style>
<body>
<h1 style="text-align: center;">WELCOME TO GAME4FUN!</h1>
<form style="text-align: center;" action="login/login_check.php" method= "POST">
<input type="radio" name="utype" value="Personal" checked> Personal
<input type="radio" name="utype" value="Business"> Business
<input type="radio" name="utype" value="Admin"> admin<br>
User Name:<br>
<input type="text" name="uname" value="" maxlength="20">
<br>
Password:<br>
<input type="password" name="psw" value="" maxlength="30">
<br>
<br>
<input style="visibility: hidden; width: 0px;" type="submit" value="Log in">
<button type="submit" formaction="login/register.php" formmethod= "POST" formtarget="_blank">Register now</button>
<input type="submit" value="Log in">
<input style="visibility: hidden; width: 0px;" type="submit" value="Log in">
</form>
</body>
<footer>
<p style="text-align: center;">All rights reserved by Game4Fun Group</p>
</footer>
</html>