forked from Megha184/Central-Library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
thesis.php
200 lines (192 loc) · 4.95 KB
/
thesis.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<?php
include('comman/connect.php');
include('include/main.php');
include('include/header.php');
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Thesis</title>
<style type="text/css">
#page_head
{
min-height: 80px;
background: #fff; /* For browsers that do not support gradients */
background: -webkit-radial-gradient(circle, #ddd,#f5f5f5); /* Safari */
background: -moz-radial-gradient(circle, #ddd,#f5f5f5); /* Safari */
background: -o-radial-gradient(circle, #ddd,#f5f5f5); /* Safari */
text-align: center;
font-size: 1.3em;
line-height: 80px;
color: #444;
font-family: 'Saira Semi Condensed', sans-serif;
font-weight: bold;
}
.page_details
{
background: #fff;
margin-top: 20px;
padding:20px;
border-radius: 4px;
border: 1px solid #ddd;
}
.backbox{margin-bottom: 30px;}
.pic
{
width: 170px;
height: 170px;
border-radius: 100%;
}
.pic img
{
width: 170px;
height: 170px;
border-radius: 100%;
}
.name
{
font-size: 2em;
margin-top: 50px;
text-transform: capitalize;
}
.address
{
font-size: 1.2em;
}
.span
{
font-size: 1.4em;
font-weight: bold;
margin: 30px 0px 10px 0px;
display: block;
}
.table2
{
font-size: 1.2em;
margin-top: 10px;
}
.status
{
font-size: 1.4em;
font-weight: bold;
height: 60px;
line-height: 60px;
padding-left: 15px;
border-radius: 5px;
border:1px solid #ddd;
margin-bottom: 10px;
background: #fff;
font-family: 'Saira Semi Condensed', sans-serif;
}
.notes
{
font-size: 1.4em;
font-weight: bold;
height: 60px;
line-height: 60px;
padding-left: 15px;
border-radius: 5px 5px 0px 0px;
border:1px solid #ddd;
background: #fff;
font-family: 'Saira Semi Condensed', sans-serif;
}
.notess
{
font-size: 1.2em;
border:1px solid #ddd;
border-radius: 0px 0px 5px 5px;
border-top: none;
background: #fff;
}
.notess a
{
display: block;
padding: 10px 15px;
text-decoration: none;
border-bottom:1px dotted #ddd;
}
.notess a:hover
{
background: #f5f5f5;
}
.tr{font-weight: bold; background: #eee;}
.menu{
width: 100%;
height: 50px;
color: blue;
background: black;
}
.menu,li{
float: left;
padding: 10px 20px 10px 20px;
text-decoration: none;
list-style: none;
}
</style>
</head>
<body>
<div class="container-fluid" style="text-align: center;">
<h1>Welcome to ethesis</h1>
<div class="menu">
<ul class="ep_tm_menu">
<li>
<a href="thesis.php">All</a>
</li>
<li>
<a href="thesis_year.php">Year</a>
</li>
<li>
<a href="thesis_subject.php">Subject</a>
</li>
<li>
<a href="thesis_supervisors.php">Supervisors</a>
</li>
<li>
<a href="thesis_type.php">Thesis Type</a>
</li>
</ul>
</div>
<div class="container backbox">
<div class="row">
<table class="table table2" border="1">
<tr class="tr" align='center'>
<td>Publication Id</td>
<td>Publication name</td>
<td>Subject</td>
<td>Superviser</td>
<td>Type</td>
<td>Year</td>
<td>Date</td>
<td>Date Of Modify</td>
<td>Action</td>
</tr>
<?php
$res=$con->query("select publication_id,thesis_title,subject,thesis_types,date_upload,supervisors,year,date_modify from publication");
$i=1;
while($row=mysqli_fetch_array($res))
{
$id=$row['publication_id'];
echo "<tr>";
echo "<td align='center'>".$row['publication_id']."</td>";
echo "<td align='center'>".$row['thesis_title']."</td>";
echo "<td align='center'>".$row['subject']."</td>";
echo "<td align='center'>".$row['supervisors']."</td>";
echo "<td align='center'>".$row['thesis_types']."</td>";
echo "<td align='center'>".$row['year']."</td>";
echo "<td align='center'>".$row['date_upload']."</td>";
echo "<td align='center'>".$row['date_modify']."</td>";
echo "<td align='center'><a href='show_publication.php?id=".$id."'>view</a></td>";
echo "</tr>";
}
?>
</table>
</div>
</div>
</div>
<?php
include("include/footerstrip.php");
?>
<script type="text/javascript" src="js/bootstrap.js"></script>
</body>
</html>