-
Notifications
You must be signed in to change notification settings - Fork 0
/
profile_sidebar.php
63 lines (60 loc) · 2.13 KB
/
profile_sidebar.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
<div class="col-md-3 navigation shadow" >
<div class="img-name">
<?php
$row = mysqli_fetch_array($result);
echo '
<img class="img-thumbnail" src="'.$row['stu_imageLocation'].'" />
<form action="includes/change.inc.php" method="POST" enctype="multipart/form-data">
<input type="file" id="fileLoader" accept=".jpg, .jpeg, .png" onchange="this.form.submit();" name="image"/>
<input type="hidden" name="id" value="'.$row['stu_id'].'"></input>
<input type="button" class="btn btn-default btn-sm" id="btnOpenFileDialog" value = "Change Image" onclick="openfileDialog();" />
<p class="name">'.$row['stu_name'].'</p>
</form>
';
?>
</div>
<div class="nav-menu shadow">
<ul>
<li class="link">
<a href="admin.php">
<i class="fa fa-home" aria-hidden="true"></i>PROFILE HOME</span>
</a>
</li>
<li class="link active">
<a href="admin.php">
<i class="fa fa-cogs" aria-hidden="true"></i>ACCOUNT SETTINGS</span>
</a>
</li>
<li class="link">
<a href="admin.php">
<i class="fa fa-book" aria-hidden="true"></i>CHANGE COURSE / CENTER</span>
</a>
</li>
<li class="link">
<a href="add_course.php">
<i class="fa fa-plus-square-o" aria-hidden="true"></i>APPLY FOR ANOTHER COURSE</span>
</a>
</li>
<li class="link">
<a href="admin.php">
<i class="fa fa-download" aria-hidden="true"></i>DOWNLOADS</span>
</a>
</li>
<li class="link">
<a href="admin.php">
<i class="fa fa-pencil" aria-hidden="true"></i>EXAMS</span>
</a>
</li>
<li class="link">
<a href="admin.php">
<i class="fa fa-list-alt" aria-hidden="true"></i>RESULTS</span>
</a>
</li>
<li class="link logout">
<form action="includes/logout.inc.php" method="POST">
<button type="submit" name="logout"><span class="fa fa-sign-out"></span>LOG OUT</button>
</form>
</li>
</ul>
</div>
</div>