修复登录页问题,添加论坛表情
This commit is contained in:
@@ -14,7 +14,9 @@
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-weight: 100;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
h1 {
|
||||
font-size: 30px;
|
||||
}
|
||||
@@ -50,6 +52,7 @@ h3, h4, h5 {
|
||||
margin-right: 15px;
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
padding-bottom:5px;
|
||||
}
|
||||
body:not (.fixed-sidebar ):not (.canvas-menu ).mini-navbar .nav li:hover>.nav-second-level,
|
||||
.mini-navbar .nav li:focus>.nav-second-level {
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
con = DriverManager.getConnection(
|
||||
"jdbc:mysql://localhost/db_bbs?useUnicode=true&characterEncoding=utf-8", "root", "");
|
||||
sql = con.createStatement();
|
||||
String text = "insert into send(subject,content,time,username) values('" + k2 + "','" + k3 + "',now(),'" + k4 + "')";
|
||||
String text = "insert into send(subject,content,time,username,updatetime) values('" + k2 + "','" + k3 + "',now(),'" + k4 + "',now())";
|
||||
sql.executeUpdate(text);
|
||||
sql.close();
|
||||
con.close();
|
||||
|
||||
@@ -41,7 +41,8 @@
|
||||
try{con=DriverManager.getConnection("jdbc:mysql://localhost/db_bbs?useUnicode=true&characterEncoding=utf-8","root","");
|
||||
sql=con.createStatement();
|
||||
String text="insert into comment(subid,comment,time,username) values('"+k6+"','"+k5+"',now(),'"+k7+"')";
|
||||
|
||||
String updatesend = "update send set updatetime = now() where id = '"+k6+"'";
|
||||
sql.executeUpdate(updatesend);
|
||||
sql.executeUpdate(text);
|
||||
sql.close();
|
||||
con.close();
|
||||
|
||||
Reference in New Issue
Block a user