root / war / couponSubmission.jsp @ 01a30cd0
History | View | Annotate | Download (3.5 kB)
1 | 978061e3 | Panagiotis Astithas | <%-- |
---|---|---|---|
2 | 978061e3 | Panagiotis Astithas | |
3 | 978061e3 | Panagiotis Astithas | Copyright 2010 Electronic Business Systems Ltd. |
4 | 978061e3 | Panagiotis Astithas | |
5 | 978061e3 | Panagiotis Astithas | This file is part of GSS. |
6 | 978061e3 | Panagiotis Astithas | |
7 | 978061e3 | Panagiotis Astithas | GSS is free software: you can redistribute it and/or modify |
8 | 978061e3 | Panagiotis Astithas | it under the terms of the GNU General Public License as published by |
9 | 978061e3 | Panagiotis Astithas | the Free Software Foundation, either version 3 of the License, or |
10 | 978061e3 | Panagiotis Astithas | (at your option) any later version. |
11 | 978061e3 | Panagiotis Astithas | |
12 | 978061e3 | Panagiotis Astithas | GSS is distributed in the hope that it will be useful, |
13 | 978061e3 | Panagiotis Astithas | but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | 978061e3 | Panagiotis Astithas | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | 978061e3 | Panagiotis Astithas | GNU General Public License for more details. |
16 | 978061e3 | Panagiotis Astithas | |
17 | 978061e3 | Panagiotis Astithas | You should have received a copy of the GNU General Public License |
18 | 978061e3 | Panagiotis Astithas | along with GSS. If not, see <http://www.gnu.org/licenses/>. |
19 | 978061e3 | Panagiotis Astithas | |
20 | 978061e3 | Panagiotis Astithas | --%> |
21 | 978061e3 | Panagiotis Astithas | <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
22 | 978061e3 | Panagiotis Astithas | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
23 | 978061e3 | Panagiotis Astithas | |
24 | 978061e3 | Panagiotis Astithas | <%@page import="gr.ebs.gss.server.configuration.GSSConfigurationFactory"%> |
25 | 978061e3 | Panagiotis Astithas | <%@page import="java.net.URLDecoder"%> |
26 | 978061e3 | Panagiotis Astithas | <html> |
27 | 978061e3 | Panagiotis Astithas | <head> |
28 | 978061e3 | Panagiotis Astithas | <title><%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> Coupons</title> |
29 | 978061e3 | Panagiotis Astithas | <link href="/pithos/main.css" rel="stylesheet" type="text/css"> |
30 | 978061e3 | Panagiotis Astithas | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
31 | 978061e3 | Panagiotis Astithas | </head> |
32 | 978061e3 | Panagiotis Astithas | <body> |
33 | 978061e3 | Panagiotis Astithas | <div class="wrapper" > |
34 | 978061e3 | Panagiotis Astithas | <div class="header"></div> |
35 | 978061e3 | Panagiotis Astithas | <div class="image_logo"> |
36 | 978061e3 | Panagiotis Astithas | <table><tr> |
37 | 978061e3 | Panagiotis Astithas | <td><a href="/"><img src="/pithos/images/service-logo.png"></img></a> |
38 | 978061e3 | Panagiotis Astithas | </tr></table> |
39 | 978061e3 | Panagiotis Astithas | </div> <!-- image_logo --> |
40 | 978061e3 | Panagiotis Astithas | <div style="clear: both; "> </div> |
41 | 978061e3 | Panagiotis Astithas | <div class="page_main"> |
42 | 978061e3 | Panagiotis Astithas | <center> |
43 | 978061e3 | Panagiotis Astithas | <p class="blurb">The supplied coupon code is available for the user with the |
44 | 978061e3 | Panagiotis Astithas | data below. Please review the following information before clicking 'submit'. |
45 | 978061e3 | Panagiotis Astithas | Unauthorized use of coupons by other users is not permitted.</p> |
46 | 978061e3 | Panagiotis Astithas | <form method="post" action="/pithos/submitCoupon"> |
47 | 978061e3 | Panagiotis Astithas | <div class="error"> |
48 | 978061e3 | Panagiotis Astithas | <%= request.getParameter("error") != null? URLDecoder.decode(request.getParameter("error"), "UTF-8"): "" %> |
49 | 978061e3 | Panagiotis Astithas | </div> |
50 | 978061e3 | Panagiotis Astithas | <input type="hidden" name="code" value="<%= request.getParameter("code") %>"/> |
51 | 978061e3 | Panagiotis Astithas | <input type="hidden" name="username" value="<%= request.getParameter("username") %>"/> |
52 | 978061e3 | Panagiotis Astithas | <input type="hidden" name="firstname" value="<%= request.getParameter("firstname") %>"/> |
53 | 978061e3 | Panagiotis Astithas | <input type="hidden" name="lastname" value="<%= request.getParameter("lastname") %>"/> |
54 | 978061e3 | Panagiotis Astithas | <input type="hidden" name="email" value="<%= request.getParameter("email") %>"/> |
55 | 978061e3 | Panagiotis Astithas | <table> |
56 | 978061e3 | Panagiotis Astithas | <tr> |
57 | 978061e3 | Panagiotis Astithas | <td>Firstname:</td> |
58 | 978061e3 | Panagiotis Astithas | <td><%= request.getParameter("firstname") != null? URLDecoder.decode(request.getParameter("firstname"), "UTF-8"): "" %></td> |
59 | 978061e3 | Panagiotis Astithas | </tr> |
60 | 978061e3 | Panagiotis Astithas | <tr> |
61 | 978061e3 | Panagiotis Astithas | <td>Lastname:</td> |
62 | 978061e3 | Panagiotis Astithas | <td><%= request.getParameter("lastname") != null? URLDecoder.decode(request.getParameter("lastname"), "UTF-8"): "" %></td> |
63 | 978061e3 | Panagiotis Astithas | </tr> |
64 | 978061e3 | Panagiotis Astithas | <tr> |
65 | 978061e3 | Panagiotis Astithas | <td>E-Mail:</td> |
66 | 978061e3 | Panagiotis Astithas | <td><%= request.getParameter("email") != null? URLDecoder.decode(request.getParameter("email"), "UTF-8"): "" %></td> |
67 | 978061e3 | Panagiotis Astithas | </tr> |
68 | 978061e3 | Panagiotis Astithas | <tr> |
69 | 978061e3 | Panagiotis Astithas | <td>Coupon:</td> |
70 | 978061e3 | Panagiotis Astithas | <td><%= request.getParameter("code") != null? URLDecoder.decode(request.getParameter("code"), "UTF-8"): "" %></td> |
71 | 978061e3 | Panagiotis Astithas | </tr> |
72 | 978061e3 | Panagiotis Astithas | <tr> |
73 | 978061e3 | Panagiotis Astithas | <td colspan="2"> |
74 | 978061e3 | Panagiotis Astithas | <input type="checkbox" name="verify" title="Verify coupon ownership"/> |
75 | 978061e3 | Panagiotis Astithas | I have read and verified my information above and affirm that this coupon was issued to me |
76 | 978061e3 | Panagiotis Astithas | </td> |
77 | 978061e3 | Panagiotis Astithas | </tr> |
78 | 978061e3 | Panagiotis Astithas | <tr> |
79 | 978061e3 | Panagiotis Astithas | <td colspan="2" align="center"> |
80 | 978061e3 | Panagiotis Astithas | <input type="submit" value="Submit" /> |
81 | 978061e3 | Panagiotis Astithas | </td> |
82 | 978061e3 | Panagiotis Astithas | </tr> |
83 | 978061e3 | Panagiotis Astithas | </table> |
84 | 978061e3 | Panagiotis Astithas | </form> |
85 | 978061e3 | Panagiotis Astithas | </center> |
86 | 978061e3 | Panagiotis Astithas | </div> |
87 | 978061e3 | Panagiotis Astithas | <div class="footer"></div> |
88 | 978061e3 | Panagiotis Astithas | </div> <!-- wrapper --> |
89 | 978061e3 | Panagiotis Astithas | </body> |
90 | 978061e3 | Panagiotis Astithas | </html> |