forked from pbjsowon408/Agile-Development
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
41 lines (37 loc) · 1.53 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
<?php
session_start();
include 'connection.php';
?>
<html>
<head>
<title><?php echo "Chat Room - ".date("Y") ; ?></title>
<link rel="stylesheet" href="css/style.css" type="text/css">
<link rel="stylesheet" href="css/animate.css" type="text/css">
<link rel="stylesheet" href="css/bootstrap.css" type="text/css">
<link rel="stylesheet" href="css/bootstrap-theme.css" type="text/css">
<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap-theme.min.css">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<body>
<center>
<form action="" method="post" id="form">
<img src="logo.png" title="Chat Room">
<input class="form-control" type="text" name="name" placeholder="User Name" required="required">
<input class="form-control" type="password" name="pwd" placeholder="Password" required="required">
<br/>
<button type="submit" name="login" class="btn btn-info">Login</button>
Or
<button type="submit" name="reg" class="btn btn-success">Sign Up</button>
<br/><br/>
<button class="btn btn-info"><a href="contact_me.php">Contact Me</a></button>
<br/><br/>
<?php include 'login.php'; ?>
</form>
</center>
</body>
</html>