-
Notifications
You must be signed in to change notification settings - Fork 1
/
stat.jsp
82 lines (72 loc) · 2.38 KB
/
stat.jsp
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
<html>
<head>
<title>blogger</title>
<style>
body{
font-family:"RobotoDraft","Roboto",'sans-serif','Open Sans';
color: #404040;
background-color: #ebebeb;
padding: 0;
margin: 0 auto;
left: 50%;
width: 1000px;
}
.aa{
background-color: #364956;
color: #ebebeb;
padding: 10px;
font-size: 60px;
margin: 0 auto;
}
.btn{
background-color: #364956;
color: #ebebeb;
height: 10px;
width: 200px;
padding: 3px;
font-size: 12px;
text-decoration: none;
line-height: 24px;
}
.mnubtn{
background-color: #364956;
color: #ebebeb;
height: 50px;
width: 200px;
padding: 5px;
font-size: 16px;
text-decoration: none;
line-height: 38px;
}
.tit{
background-color: #16a085;
color: #ebebeb;
height: 30px;
padding: 5px;
font-size: 20px;
text-decoration: none;
}
</style>
</head>
<body>
<%
String[] title = (String[])request.getAttribute("titlelist");
String[] id = (String[])request.getAttribute("idlist");
String[] author = (String[])request.getAttribute("authorlist");
String[] content = (String[])request.getAttribute("contentlist");
%>
<div class="aa">ADD FEW LINES</div>
<a style="padding-left:20px;padding-right:20px" class="mnubtn" href="/Blog/newpost" >NEW POST</a><br>
<% for(int i=0; i<10 ; i++){%>
<div style=" background-color: #ea141f;height:px"></div>
<h2 class="tit">
<%=title[i] %></h2>
<div >
<a class="btn" href="/Blog/viewpost/admin/<%=id[i]%>" >read the post and approve comments</a><br>
<a class="btn" href="/Blog/editpost/post/<%=id[i]%>" >edit the post</a><br>
</div>
<br><div style=" background-color: #ea141f;height:2px"></div>
<% } %>
<br><br><div>created by Jayalath J.D.C vs Weerarathne I.L</div>
</body>
</html>