From 56eb336500eead5090c8a7fc3a1fd7de7a96a429 Mon Sep 17 00:00:00 2001 From: xicheny <771832800@qq.com> Date: Wed, 3 Jun 2020 08:23:31 +0800 Subject: [PATCH] change database --- WebContent/public/css/message.css | 147 +++++++++++++++++++++++++ WebContent/reader/03readerNavLeft.html | 2 +- WebContent/reader/05searchBooks.jsp | 2 +- WebContent/reader/06borrowBooks.jsp | 8 +- WebContent/reader/08illegal.jsp | 3 + WebContent/reader/11updatePswSus.jsp | 1 - WebContent/reader/13message.jsp | 39 +++++++ build/classes/javabean/Admin.class | Bin 1686 -> 1700 bytes build/classes/test/Test.class | Bin 599 -> 0 bytes src/javabean/Admin.java | 3 +- src/test/Test.java | 24 ---- 11 files changed, 197 insertions(+), 32 deletions(-) create mode 100644 WebContent/public/css/message.css create mode 100644 WebContent/reader/13message.jsp delete mode 100644 build/classes/test/Test.class delete mode 100644 src/test/Test.java diff --git a/WebContent/public/css/message.css b/WebContent/public/css/message.css new file mode 100644 index 0000000..177abaa --- /dev/null +++ b/WebContent/public/css/message.css @@ -0,0 +1,147 @@ + body{ + background: rgba(0,0,0,0.9); + color: #DDD; + font-family: 'Helvetica', 'Lucida Grande', 'Arial', sans-serif; + } + .border, + .rain{ + height: 500px; + width: 30%; + } + /* Layout with mask */ + .rain{ + padding: 10px 12px 12px 10px; + -moz-box-shadow: 10px 10px 10px rgba(0,0,0,1) inset, -9px -9px 8px rgba(0,0,0,1) inset; + -webkit-box-shadow: 8px 8px 8px rgba(0,0,0,1) inset, -9px -9px 8px rgba(0,0,0,1) inset; + box-shadow: 8px 8px 8px rgba(0,0,0,1) inset, -9px -9px 8px rgba(0,0,0,1) inset; + margin: 100px auto; + } + /* Artifical "border" to clear border to bypass mask */ + .border{ + padding: 1px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + } + + .border, + .rain, + .border.start, + .rain.start{ + background-repeat: repeat-x, repeat-x, repeat-x, repeat-x; + background-position: 0 0, 0 0, 0 0, 0 0; + /* Blue-ish Green Fallback for Mozilla */ + background-image: -moz-linear-gradient(left, #09BA5E 0%, #00C7CE 15%, #3472CF 26%, #00C7CE 48%, #0CCF91 91%, #09BA5E 100%); + /* Add "Highlight" Texture to the Animation */ + background-image: -webkit-gradient(linear, left top, right top, color-stop(1%,rgba(0,0,0,.3)), color-stop(23%,rgba(0,0,0,.1)), color-stop(40%,rgba(255,231,87,.1)), color-stop(61%,rgba(255,231,87,.2)), color-stop(70%,rgba(255,231,87,.1)), color-stop(80%,rgba(0,0,0,.1)), color-stop(100%,rgba(0,0,0,.25))); + /* Starting Color */ + background-color: #39f; + /* Just do something for IE-suck */ + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00BA1B', endColorstr='#00BA1B',GradientType=1 ); + } + + /* Non-keyframe fallback animation */ + .border.end, + .rain.end{ + -moz-transition-property: background-position; + -moz-transition-duration: 30s; + -moz-transition-timing-function: linear; + -webkit-transition-property: background-position; + -webkit-transition-duration: 30s; + -webkit-transition-timing-function: linear; + -o-transition-property: background-position; + -o-transition-duration: 30s; + -o-transition-timing-function: linear; + transition-property: background-position; + transition-duration: 30s; + transition-timing-function: linear; + background-position: -5400px 0, -4600px 0, -3800px 0, -3000px 0; + } + + /* Keyfram-licious animation */ + @-webkit-keyframes colors { + 0% {background-color: #39f;} + 15% {background-color: #F246C9;} + 30% {background-color: #4453F2;} + 45% {background-color: #44F262;} + 60% {background-color: #F257D4;} + 75% {background-color: #EDF255;} + 90% {background-color: #F20006;} + 100% {background-color: #39f;} + } + .border,.rain{ + -webkit-animation-direction: normal; + -webkit-animation-duration: 20s; + -webkit-animation-iteration-count: infinite; + -webkit-animation-name: colors; + -webkit-animation-timing-function: ease; + } + + /* In-Active State Style */ + .border.unfocus{ + background: #333 !important; + -moz-box-shadow: 0px 0px 15px rgba(255,255,255,.2); + -webkit-box-shadow: 0px 0px 15px rgba(255,255,255,.2); + box-shadow: 0px 0px 15px rgba(255,255,255,.2); + -webkit-animation-name: none; + } + .rain.unfocus{ + background: #000 !important; + -webkit-animation-name: none; + } + + /* Regular Form Styles */ + form{ + background: #212121; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + border-radius: 5px; + height: 100%; + width: 335%; + background: -moz-radial-gradient(50% 46% 90deg,circle closest-corner, #242424, #090909); + background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 150, from(#242424), to(#090909)); + } + form label{ + display: block; + padding: 10px 10px 5px 15px; + font-size: 20px; + color: #777; + } + form input{ + display: block; + margin: 5px 10px 10px 15px; + width: 85%; + background: #111; + -moz-box-shadow: 0px 0px 4px #000 inset; + -webkit-box-shadow: 0px 0px 4px #000 inset; + box-shadow: 0px 0px 4px #000 inset; + outline: 1px solid #333; + border: 1px solid #000; + padding: 5px; + color: #444; + font-size: 16px; + } + form input:focus{ + outline: 1px solid #555; + color: #FFF; + } + + form textarea{ + display: block; + margin: 5px 10px 10px 15px; + width: 85%; + background: #111; + -moz-box-shadow: 0px 0px 4px #000 inset; + -webkit-box-shadow: 0px 0px 4px #000 inset; + box-shadow: 0px 0px 4px #000 inset; + outline: 1px solid #333; + border: 1px solid #000; + padding: 5px; + color: #444; + font-size: 16px; + } + form textarea:focus{ + outline: 1px solid #555; + color: #FFF; + } + \ No newline at end of file diff --git a/WebContent/reader/03readerNavLeft.html b/WebContent/reader/03readerNavLeft.html index 8f113ff..a7b750c 100644 --- a/WebContent/reader/03readerNavLeft.html +++ b/WebContent/reader/03readerNavLeft.html @@ -21,7 +21,7 @@
  • 违章信息
  • 个人信息
  • 读者规则
  • -
  • 读者留言
  • +
  • 读者留言
  • diff --git a/WebContent/reader/05searchBooks.jsp b/WebContent/reader/05searchBooks.jsp index 2c28370..a5ccdc2 100644 --- a/WebContent/reader/05searchBooks.jsp +++ b/WebContent/reader/05searchBooks.jsp @@ -46,7 +46,7 @@ <%=rs.getString("NAME")%> <%=rs.getString("LIBRARY_ID")%> <%=rs.getString("SORT_ID")%> - <%=rs.getString("POSITION_ID")%> + <%=rs.getString("POSITION")%> <%=rs.getString("STATE")%> <%=rs.getString("DESCRIPTION")%> diff --git a/WebContent/reader/06borrowBooks.jsp b/WebContent/reader/06borrowBooks.jsp index d5d4d98..e62ff99 100644 --- a/WebContent/reader/06borrowBooks.jsp +++ b/WebContent/reader/06borrowBooks.jsp @@ -26,8 +26,8 @@
    + - @@ -35,14 +35,14 @@ <% - request.setCharacterEncoding("utf-8"); - String sql="select*from borrow_books;"; + String id = session.getAttribute("reader").toString(); + String sql="select*from borrow_books where CARD_ID = " + id; ResultSet rs = check.executeQuery(sql); while (rs.next()) { %> - + diff --git a/WebContent/reader/08illegal.jsp b/WebContent/reader/08illegal.jsp index 44b4eca..9db2926 100644 --- a/WebContent/reader/08illegal.jsp +++ b/WebContent/reader/08illegal.jsp @@ -12,6 +12,9 @@
    借阅证号 图书编号图书名称 借阅日期 截止日期 归还日期处理信息的管理员
    <%=rs.getString("BOOK_ID")%><%=rs.getString("CARD_ID")%> <%=rs.getString("BOOK_ID")%> <%=rs.getString("BORROW_DATE")%> <%=rs.getString("END_DATE")%>
    + + + diff --git a/WebContent/reader/11updatePswSus.jsp b/WebContent/reader/11updatePswSus.jsp index 6d79351..f513c1c 100644 --- a/WebContent/reader/11updatePswSus.jsp +++ b/WebContent/reader/11updatePswSus.jsp @@ -13,7 +13,6 @@ <% - //request.setCharacterEncoding("utf-8"); String psw1 = request.getParameter("psw1"); String psw2 = request.getParameter("psw2"); diff --git a/WebContent/reader/13message.jsp b/WebContent/reader/13message.jsp new file mode 100644 index 0000000..7fbe88e --- /dev/null +++ b/WebContent/reader/13message.jsp @@ -0,0 +1,39 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" + pageEncoding="UTF-8"%> + + + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + +
        +     + + +
    +
    + + + \ No newline at end of file diff --git a/build/classes/javabean/Admin.class b/build/classes/javabean/Admin.class index 7356907d16de2ef684be4679fbe3692ab4352505..d0699b36c13ed0d686f31dd9e904cbf03bfbd4f9 100644 GIT binary patch delta 482 zcmX|-+fLL_6o$Xu(;mi7G}V|4R|Q3flM@mZEebk}I3gW^!2@_KP!n|ML|X`n7d}K2 z6YupNH8Iu;AHYi=NL`|FXJ_T#S^xU-ul=U-u2TN~^XoU@ESn$7p>b>~jl1zi=8yPK zU-q{BXmfij$upx?D{)?7&&Wy3Tp-X~R8*ctyU}_aCG|#>#x7G_$_ry`V45qM8O6~* z{d)SMTc7PEiEy`iiOW?Qxns8an#^ggDf;sXv)^{PPAlIvPnVj^yWC_Ue{YUVwprBN zQh5JS%W=BX%{p=Bvc$5&O5(jtVb+G%N~|cA5gC18DaZnC=%qiZHD=qDoR(3_fqab~jgKjSvc{4?YCP!FekQPVT z;usxj6@n@A=sK4m8AWfAy?yx4hW5RB+j?W26;4b$Fh$XxG!ppHC hH-iKR^nU$IGBE~aIDE(;HEF0D<^>B$@j$vJ`3(wOP*VT^ diff --git a/build/classes/test/Test.class b/build/classes/test/Test.class deleted file mode 100644 index 070b718df7bd90f63170753b7294e8d877c41a71..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 599 zcmah`O)o=16g~5l*Y}iC-=7&)C88TE#70=X5GfL|n!ZjLUT13FRQP2Q683(SxbsN6 zk=UHvk2B}qGxziB^&P+tRzm~~k(0S=oD+m7F-+WvN72ZHzG4mm3H`$|X^VD>@Dicl_&AZmLGTGVXanyX)PCRkx z-*9RAa#u;Yn$zWvDS*36G{7ThCX?fD?w4^;3 zG=-s-m{eq!!YZHt7E4~1VKnJm-Xl95p)|v6{rYe1_~U2h=|F~`6M8ysdL&rggy zHa*?$(?TrJrUfg1$QsSFq~9uIiDB*E4`PU$re{-mth|@VA7|SOVhwZ!Ivx;EG>j3# zusG%rML_(9@>MNI8f6itFilD`1uMWT<_on=nlVsY{6j4& N)B<|PuuK?W
    图书编号日期日期 日期 违章信息