-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
41 lines (36 loc) · 1.09 KB
/
index.php
File metadata and controls
41 lines (36 loc) · 1.09 KB
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
<!DOCTYPE html>
<!--
/*
* SER 322 Team 03 Pantry Project
* Terin Champion
* Hajar Boughoula
* Nergal Givarkes
*/
/**
* Author: Terin
* Created: Jun 18, 2017
*/
-->
<html>
<head>
<meta charset="UTF-8">
<title>SER322 Pantry Project - Login</title>
<link rel="stylesheet" href="styles/styles.css">
</head>
<body>
<?php
require_once '/config/config.php';
setUp($conn);
mysqli_select_db($conn, "ser322Pantry");
?>
<h1>Welcome to the SER322 Pantry Project</h1>
<h2>Created By Team 03</h2>
<p>Login or create a new user.</p>
<form action="pages/welcome.php" method="post">
User Email:<br><input type="text" name="userEmail"><br>
Password:<br><input type="password" name="password"><br>
<input type="submit" name="submit" value="Login!"><br>
<button type="button" name="create_user" onclick="window.location='create_user.php'">Create New User</button><br>
</form>
</body>
</html>