-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaccount.php
74 lines (65 loc) · 2.12 KB
/
account.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
<?php include('php/form.php');
//if user not logged in cannot access
if (empty($_SESSION['uname'])){
header('location:login.php');
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Account</title>
<?php include('php/header.php'); ?>
==============================content================================-->
<section id="content">
<div class="container_12">
<div class="grid_4 bot-1">
<?php if(isset($_SESSION['success'])): ?>
<h2 class="p2">
<?php
echo $_SESSION['success'];
unset($_SESSION['success']);
?>
</h2>
<?php endif ?><br>
<div class="box-1"> <a href="#" class="img-border"><img src="images/profile.png" height="200px" width="200px" alt=""></a>
<p><a href="pro_pic.php"><b>_________Upload_________</b></a></p>
</div>
<div class="block-1">
<div class="block-1-shadow">
<h2 class="clr-6 p4">
<?php if(isset($_SESSION['uname'])): ?>
Welcome <strong><?php echo $_SESSION['uname']; ?></strong>
<p><a href="index.php?logout='1'">logout</a></p>
<?php endif ?>
</h2>
</div>
</div>
<h2 class="clr-6 p4">
('_')('_')('_')
<div class="block-1">
<div class="block-1-shadow">
<h2 class="clr-4 p4">
<p><a href="leave.php">Apply leave</a></p>
---------
<p><a href="">View results</a></p>
---------<br>
---------
<p><a href="">Subject 1</a></p>
<p><a href="">Subject 2</a></p>
<p><a href="">Subject 3</a></p>
<p><a href="">Subject 4</a></p>
</h2>
</div>
</div>
</div>
<!--==============================footer=================================-->
<footer>
<p>© 2018 E_TOKK Technical College</p>
</footer>
</div>
<div class="clear"></div>
</div>
</section>
</div>
</body>
</html>