-
Notifications
You must be signed in to change notification settings - Fork 2
/
thesis_subject.php
71 lines (64 loc) · 1.53 KB
/
thesis_subject.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
<?php
include('comman/connect.php');
include('include/main.php');
include('include/header.php');
include('include/eThesisBanner.php');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Thesis</title>
<style type="text/css">
.backbox{margin-bottom: 30px;}
.tr{font-weight: bold; background: #eee;}
.menu{
width: 100%;
height: 50px;
color: blue;
background: black;
}
.menu li{
float: left;
padding: 10px 20px 10px 20px;
list-style: none;
}
.box{
width:50%;
margin:auto;
/* display:flex;
justify-content: center; */
}
.foot{
display: flex;
}
</style>
</head>
<body>
<div class="container">
<h2 style="text-align:center;">Browse by Subject</h2>
<p>Please select a value to browse from the list below.</p>
<div class="box">
<ul class="list-group-item">
<?php
echo "<ul>";
$res1=$con->query("select distinct subject from publication;");
while($row=mysqli_fetch_array($res1))
{
$reg=$row['subject'];
echo "<li>";
echo "<a href='browse_subject.php?subject=".$reg."'>".$reg."</a>";
echo "</li>";
}
echo "</ul>";
?>
</ul>
</div>
<br><br><br>
</div>
</div>
<?php
include("include/footerstrip.php");?>
<script type="text/javascript" src="js/bootstrap.js"></script>
</body>
</html>