SHOW:
|
|
- or go back to the newest paste.
| 1 | - | <% |
| 1 | + | <?xml version="1.0" encoding="ISO-8859-1"?> |
| 2 | - | String sql="select * from members"; |
| 2 | + | <CATALOG> |
| 3 | - | String usrnme=(String)session.getAttribute("name");
|
| 3 | + | <MEDIA> |
| 4 | - | String psswrd=(String)session.getAttribute("pass");
|
| 4 | + | <PHOTO> |
| 5 | - | sql="select * from members where username='"+usrnme+"' and password='"+psswrd+"'"; |
| 5 | + | <SRCP>images/pic1.jpg</SRCP> |
| 6 | - | |
| 6 | + | <TITLEP>המכונית הראשית במשחק</TITLEP> |
| 7 | - | |
| 7 | + | <WIDTHP>640</WIDTHP> |
| 8 | - | if(request.getMethod().equals("POST"))
|
| 8 | + | <HEIGHTP>260</HEIGHTP> |
| 9 | - | {
|
| 9 | + | </PHOTO> |
| 10 | - | |
| 10 | + | <PHOTO> |
| 11 | - | String username=request.getParameter("username");
|
| 11 | + | <SRCP>images/pic2.jps</SRCP> |
| 12 | - | String password=request.getParameter("password");
|
| 12 | + | <TITLEP>תמונה ממרוץ שנערך במשחק</TITLEP> |
| 13 | - | |
| 13 | + | <WIDTHP>640</WIDTHP> |
| 14 | - | if (session.getAttribute("pass").equals(password) && session.getAttribute("name").equals(username))
|
| 14 | + | <HEIGHTP>260</HEIGHTP> |
| 15 | - | {
|
| 15 | + | </PHOTO> |
| 16 | - | db.insertUpdateDelete("delete from members where password='"+password+"' and username='"+username+"'");
|
| 16 | + | </MEDIA> |
| 17 | - | session.invalidate(); |
| 17 | + | <MEDIA> |
| 18 | - | response.sendRedirect("index.html");
|
| 18 | + | <MOVIE> |
| 19 | - | } |
| 19 | + | <SRCM>http://www.youtube.com/embed/tNjuv5Y_oA8</SRCM> |
| 20 | - | else |
| 20 | + | <TITLEM>הטריילר הרשמי למשחק</TITLEM> |
| 21 | - | response.sendRedirect("deleteForMember.jsp");
|
| 21 | + | <WIDTHM>640</WIDTHM> |
| 22 | - | } |
| 22 | + | <HEIGHTM>360</HEIGHTM> |
| 23 | - | %> |
| 23 | + | </MOVIE> |
| 24 | <MOVIE> | |
| 25 | <SRCM>http://www.youtube.com/embed/jA90hNBUzKM</SRCM> | |
| 26 | <TITLEM>סרטון המתאר את המשחק</TITLEM> | |
| 27 | <WIDTHM>640</WIDTHM> | |
| 28 | <HEIGHTM>360</HEIGHTM> | |
| 29 | </MOVIE> | |
| 30 | </MEDIA> | |
| 31 | </CATALOG> |