Statistics
| Branch: | Tag: | Revision:

root / war / couponSubmission.jsp @ eba21118

History | View | Annotate | Download (3.5 kB)

1
<%--
2

    
3
Copyright 2010 Electronic Business Systems Ltd.
4

    
5
This file is part of GSS.
6

    
7
GSS is free software: you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation, either version 3 of the License, or
10
(at your option) any later version.
11

    
12
GSS is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
GNU General Public License for more details.
16

    
17
You should have received a copy of the GNU General Public License
18
along with GSS.  If not, see <http://www.gnu.org/licenses/>.
19

    
20
--%>
21
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
22
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
23

    
24
<%@page import="gr.ebs.gss.server.configuration.GSSConfigurationFactory"%>
25
<%@page import="java.net.URLDecoder"%>
26
<html>
27
<head>
28
<title><%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> Coupons</title>
29
<link href="/pithos/main.css" rel="stylesheet" type="text/css">
30
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
31
</head>
32
<body>
33
<div class="wrapper" >
34
<div class="header"></div>
35
<div class="image_logo">
36
<table><tr>
37
  <td><a href="/"><img src="/pithos/images/service-logo.png"></img></a>
38
</tr></table>
39
</div> <!-- image_logo -->
40
<div style="clear: both; "> </div>
41
<div class="page_main">
42
<center>
43
<p class="blurb">The supplied coupon code is available for the user with the
44
data below. Please review the following information before clicking 'submit'.
45
Unauthorized use of coupons by other users is not permitted.</p>
46
<form method="post" action="/pithos/submitCoupon">
47
<div class="error">
48
    <%= request.getParameter("error") != null? URLDecoder.decode(request.getParameter("error"), "UTF-8"): "" %>
49
</div>
50
<input type="hidden" name="code" value="<%= request.getParameter("code") %>"/>
51
<input type="hidden" name="username" value="<%= request.getParameter("username") %>"/>
52
<input type="hidden" name="firstname" value="<%= request.getParameter("firstname") %>"/>
53
<input type="hidden" name="lastname" value="<%= request.getParameter("lastname") %>"/>
54
<input type="hidden" name="email" value="<%= request.getParameter("email") %>"/>
55
    <table>
56
        <tr>
57
            <td>Firstname:</td>
58
            <td><%= request.getParameter("firstname") != null? URLDecoder.decode(request.getParameter("firstname"), "UTF-8"): ""  %></td>
59
        </tr>
60
        <tr>
61
            <td>Lastname:</td>
62
            <td><%= request.getParameter("lastname") != null? URLDecoder.decode(request.getParameter("lastname"), "UTF-8"): ""  %></td>
63
        </tr>
64
        <tr>
65
            <td>E-Mail:</td>
66
            <td><%= request.getParameter("email") != null? URLDecoder.decode(request.getParameter("email"), "UTF-8"): "" %></td>
67
        </tr>
68
        <tr>
69
            <td>Coupon:</td>
70
            <td><%= request.getParameter("code") != null? URLDecoder.decode(request.getParameter("code"), "UTF-8"): "" %></td>
71
        </tr>
72
        <tr>
73
            <td colspan="2">
74
                <input type="checkbox" name="verify" title="Verify coupon ownership"/>
75
                I have read and verified my information above and affirm that this coupon was issued to me
76
            </td>
77
        </tr>
78
        <tr>
79
            <td colspan="2" align="center">
80
                <input type="submit" value="Submit" />
81
            </td>
82
        </tr>
83
    </table>
84
</form>
85
</center>
86
</div>
87
<div class="footer"></div>
88
</div> <!-- wrapper -->
89
</body>
90
</html>