This repository has been archived by the owner on Mar 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
79 lines (70 loc) · 2.28 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
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
<?php
require_once('conn.php');
require_once('functions.php');
if (isset($_POST['username'])) {
if (isset($_POST['p'])) {
fnlogin();
}
}
if (isset($_SESSION['user']['logged_in']) && $_SESSION['user']['logged_in']===true) {
header('Location:signagemanager.php');
}
?><!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.min.css" />
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="cranfont/style.css" />
<link rel="stylesheet" href="style.css" />
<style>
.testee {
width: 800px;
height: 600px;
background-image: url(images/intro_image.jpg);
background-position: center;
background-repeat: no;
margin: 0 auto;
margin-top: 100px;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="testee">
<div class="col-md-6 col-md-offset-3" style="padding-top: 175px;">
<div class="login-panel panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Sign In</h3>
</div>
<div class="panel-body">
<form role="form" method="post">
<fieldset>
<div class="form-group">
<input class="form-control" placeholder="User Name" name="username" type="text" autofocus="">
</div>
<div class="form-group">
<input class="form-control" placeholder="Password" name="p" type="password">
</div>
<div class="checkbox">
<label>
<input name="remember" type="checkbox" value="Remember Me">Remember Me
</label>
</div>
<!-- Change this to a button or input when using this as a form -->
<input type="submit" class="btn " value="LOGIN" />
</fieldset>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>