-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
67 lines (58 loc) · 2.11 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
<?php
require 'header.php';
?>
<body>
<header>
<div id="wrapper">
<div id="left">
<div id="signin">
<div class="logo">
<img src="img/img1.png" alt="Pluralsight">
</div>
<?php
if(isset($_SESSION['userID'])){
echo '<form action="includes/logout.inc.php" method="post"> <br>
<button type="submit" name="logout-submit" class="third-btn">Log Out</button>
</form>';
}
else{
echo '<form action="includes/signin.inc.php" method="post">
<div>
<label>Email or Username</label>
<input type="text" name="mailuid" class="text-input">
</div>
<div>
<label>Password</label>
<input type="password" name="pwd" class="text-input">
</div>
<button type="submit" name="signin" class="primary-btn">Sign In</button>
</form>
<div class="links">
<a href="#">Forgot Password</a>
<a href="#">Sign In with company or school</a>
</div>
<div class="or">
<hr class="bar">
<span>OR</span>
<hr class="bar">
</div>
<a href="signup.php" target="_blank" class="secondary-btn">Create an account</a>
</div>';
}
?>
</div>
<div id="right">
<div id="showcase">
<div class="showcase-content">
<h1 class="showcase-text">Let's Create The Future
<strong>Together</strong>
</h1>
<a href="#"class="secondary-btn">Start a free 10-day trial</a>
</div>
</div>
</div>
</div>
</header>
<?php
require 'footer.php';
?>