-
Notifications
You must be signed in to change notification settings - Fork 0
/
prev.php
executable file
·140 lines (82 loc) · 3.77 KB
/
prev.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
<?php
include 'common/con.php';
$sql="SELECT * FROM edition where visible=1 order by year desc,month desc ";
$edit=$conn->query($sql);
?>
<html>
<head>
<title>Threads</title>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css?family=Kaushan+Script" rel="stylesheet">
<link rel="icon" href="/webimages/favicon.png?v=1.1">
<link href="https://fonts.googleapis.com/css?family=Oxygen" rel="stylesheet">
<link href="/styles/post.css" rel="stylesheet">
<link href="/styles/style.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/css/materialize.min.css">
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0-rc.2/js/materialize.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body>
<!-- <div class="header">-->
<div style="min-height: 81%;">
<div class="row threads-ribbon" style="background : url('/styles/topbar.png'); background-size:cover; ">
<div class="col l12 m12 s12">
<!--<img class="threads-ribbon" style="background-size:cover" src="/styles/topbar.png"/>-->
<a href="/"><img class="responsive-img threads-logo" src="/styles/threads-logo.png"></a>
</div>
</div>
<h4 class="center-align" id="title-box">
Editions
</h4>
<?php
while
($row=$edit->fetch_assoc()){
?>
<div class="row">
<div class="col s10 offset-s1 l8 offset-l2 v-currentedition-box ">
<div class="col offset-l2 l4 s12 m12 ">
<span style=" font-size: 10em; font-family: vogueregular;" id="ednametxt"> <?php echo $row["name"]; ?> </span>
<span style=" font-size: 236%; display: block; margin-top: -71px; margin-left: 3%; font-family: vogueregular; position: relative; /* position: initial; */ /* top: 0px; */" id="edyeartxt"><?php echo $row["year"]; ?></span>
</div>
<div class="col s12 m12 offset-l1 l5" style="margin-bottom:13">
<div style="margin-top:9%;">
<div class="linkgroups">
<a href="<?php echo "/edition/?id=".$row["id"]; ?>" >Read Online
</a></div>
<?php
if ($row["pdflink"]!="nil" ){ ?> <div class="linkgroups">
<a href="<?php echo $row["pdflink"]; ?> "> Download PDF
</a> </div>
<?php } ?>
</div>
</div>
</div>
</div>
<?php
}
?>
</div>
<div class="newfooter" style="position:relative;">
<div class="row" style="padding-top:22px;">
<div class="col s2 m1 l1 offset-l2 offset-m2 offset-s1" style='margin-left:14.1%; padding-top: -1px; padding: 1% 1% 1% 1%;'>
<a href="/about.php"><img class="responsive-img" src="/webimages/About.png" /></a>
</div>
<div class="col s2 m1 l1 offset-s2" style='padding: 1%;'>
<a href="http://assoc.cse.nitc.ac.in/"><img class="responsive-img" src="/webimages/CSEA.png"></a>
</div>
<div class="col s2 m1 l1 offset-s2" style='padding: 1%;'>
<a href="http://minerva.nitc.ac.in/cse/"><img class="responsive-img" src="/webimages/CSED.png"></a>
</div>
<div class="col s5 m3 l4 offset-l3 offset-m2" >
<img class="show-on-large hide-on-med-and-down responsive-img" src="/webimages/logo.png" style="margin-left:13%;" >
<img class="hide-on-large-only show-on-medium-and-down responsive-img" src="/webimages/logo.png" style="margin-left:13%;margin-top:6%;" >
</div>
</div>
</div>
</body>
</html>