forked from tomceria/hoangluuminh.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
testroom1.php
86 lines (86 loc) · 2.81 KB
/
testroom1.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Luu Minh Hoang - TestRoom1</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/simple-sidebar.css" rel="stylesheet">
</head>
<body>
<div class="d-flex" id="wrapper">
<!-- Sidebar -->
<div class="bg-light border-right" id="sidebar-wrapper">
<!-- layout.js/sidebar -->
</div>
<!-- /#sidebar-wrapper -->
<!-- Page Content -->
<div id="page-content-wrapper">
<!-- Above is layout.js/content -->
<!-- Following is content -->
<div class="container-fluid">
<?php echo $_SERVER['HTTP_USER_AGENT']; ?>
<h1 class="mt-4">FRICK</h1>
<form action="php/register.php" method="POST">
<table border='1'>
<tr>
<td>Name: </td>
<td><input type="text" name="userName"></td>
</tr>
<tr>
<td>Password: </td>
<td><input type="password" name="userPw"></td>
</tr>
<tr>
<td>Age: </td>
<td><input type="text" name="userAge"></td>
</tr>
<tr>
<td>Gender: </td>
<td>
<input type="radio" name="userGender" value="0"> Male
<input type="radio" name="userGender" value="1"> Female
</td>
</tr>
<tr>
<td>Role: </td>
<td>
<select name="userRole">
<option hidden></option>
<option value="admin">Boss</option>
<option value="user">Unboss</option>
</select>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="Submit">
</td>
</tr>
</table>
</form>
</div>
<!-- /#page-content-wrapper -->
</div>
<!-- /#wrapper -->
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Startup -->
<script src="js/layout.js"></script>
<script>
getLayout();
</script>
<!-- Menu Toggle Script -->
<script>
$("#menu-toggle").click(function(e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
</script>
</body>
</html>