Statistics
| Branch: | Tag: | Revision:

root / war / register.jsp @ 46268014

History | View | Annotate | Download (3.3 kB)

1 2f551abc Panagiotis Astithas
<%--
2 2f551abc Panagiotis Astithas
3 2f551abc Panagiotis Astithas
Copyright 2010 Electronic Business Systems Ltd.
4 2f551abc Panagiotis Astithas
5 2f551abc Panagiotis Astithas
This file is part of GSS.
6 2f551abc Panagiotis Astithas
7 2f551abc Panagiotis Astithas
GSS is free software: you can redistribute it and/or modify
8 2f551abc Panagiotis Astithas
it under the terms of the GNU General Public License as published by
9 2f551abc Panagiotis Astithas
the Free Software Foundation, either version 3 of the License, or
10 2f551abc Panagiotis Astithas
(at your option) any later version.
11 2f551abc Panagiotis Astithas
12 2f551abc Panagiotis Astithas
GSS is distributed in the hope that it will be useful,
13 2f551abc Panagiotis Astithas
but WITHOUT ANY WARRANTY; without even the implied warranty of
14 2f551abc Panagiotis Astithas
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 2f551abc Panagiotis Astithas
GNU General Public License for more details.
16 2f551abc Panagiotis Astithas
17 2f551abc Panagiotis Astithas
You should have received a copy of the GNU General Public License
18 2f551abc Panagiotis Astithas
along with GSS.  If not, see <http://www.gnu.org/licenses/>.
19 2f551abc Panagiotis Astithas
20 2f551abc Panagiotis Astithas
--%>
21 2f551abc Panagiotis Astithas
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
22 2f551abc Panagiotis Astithas
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
23 2f551abc Panagiotis Astithas
24 2f551abc Panagiotis Astithas
<%@page import="gr.ebs.gss.server.configuration.GSSConfigurationFactory"%>
25 2f551abc Panagiotis Astithas
<%@page import="java.net.URLDecoder"%>
26 2f551abc Panagiotis Astithas
<html>
27 2f551abc Panagiotis Astithas
<head>
28 2f551abc Panagiotis Astithas
<title><%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %> Registration</title>
29 2f551abc Panagiotis Astithas
<link href="/pithos/gss.css" rel="stylesheet" type="text/css">
30 2f551abc Panagiotis Astithas
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
31 2f551abc Panagiotis Astithas
</head>
32 2f551abc Panagiotis Astithas
<body>
33 2f551abc Panagiotis Astithas
34 2f551abc Panagiotis Astithas
Welcome to <%= GSSConfigurationFactory.getConfiguration().getString("serviceName") %>.
35 2f551abc Panagiotis Astithas
You may sign up for the service by filling and submitting the following form. All fields are required.
36 2f551abc Panagiotis Astithas
<center>
37 2f551abc Panagiotis Astithas
<form method="post" action="/pithos/register">
38 2f551abc Panagiotis Astithas
<%= request.getParameter("error") != null? URLDecoder.decode(request.getParameter("error"), "UTF-8"): "" %>
39 2f551abc Panagiotis Astithas
    <table>
40 2f551abc Panagiotis Astithas
        <tr>
41 46268014 Panagiotis Astithas
            <td>Firstname:</td>
42 46268014 Panagiotis Astithas
            <td><input type="text" name="firstname" title="Enter a firstname" value="<%= request.getParameter("firstname") != null? request.getParameter("firstname"): ""  %>"/></td>
43 46268014 Panagiotis Astithas
        </tr>
44 46268014 Panagiotis Astithas
        <tr>
45 46268014 Panagiotis Astithas
            <td>Lastname:</td>
46 46268014 Panagiotis Astithas
            <td><input type="text" name="lastname" title="Enter a lastname" value="<%= request.getParameter("lastname") != null? request.getParameter("lastname"): ""  %>"/></td>
47 2f551abc Panagiotis Astithas
        </tr>
48 2f551abc Panagiotis Astithas
        <tr>
49 2f551abc Panagiotis Astithas
            <td>E-Mail:</td>
50 2f551abc Panagiotis Astithas
            <td><input type="text" name="email" title="Enter an e-mail address" value="<%= request.getParameter("email") != null? request.getParameter("email"): "" %>"/></td>
51 2f551abc Panagiotis Astithas
        </tr>
52 2f551abc Panagiotis Astithas
        <tr>
53 2f551abc Panagiotis Astithas
            <td>Username:</td>
54 2f551abc Panagiotis Astithas
            <td><input type="text" name="username" title="Enter a username" value="<%= request.getParameter("username") != null? request.getParameter("username"): "" %>"/></td>
55 2f551abc Panagiotis Astithas
        </tr>
56 2f551abc Panagiotis Astithas
        <tr>
57 2f551abc Panagiotis Astithas
            <td>Password:</td>
58 2f551abc Panagiotis Astithas
            <td><input type="password" name="password" title="Enter a password"/></td>
59 2f551abc Panagiotis Astithas
        </tr>
60 2f551abc Panagiotis Astithas
        <tr>
61 2f551abc Panagiotis Astithas
            <td>Confirm Password:</td>
62 2f551abc Panagiotis Astithas
            <td><input type="password" name="password2" title="Enter the password again to confirm"/></td>
63 2f551abc Panagiotis Astithas
        </tr>
64 2f551abc Panagiotis Astithas
        <tr>
65 2f551abc Panagiotis Astithas
            <td colspan="2">
66 2f551abc Panagiotis Astithas
                <input type="checkbox" name="accept" title="Accept terms and conditions"/>
67 2f551abc Panagiotis Astithas
                I have read and understood the <a href='/terms' target='_blank'>
68 2f551abc Panagiotis Astithas
                Terms and Conditions</a> of the Service and agree to abide by them
69 2f551abc Panagiotis Astithas
            </td>
70 2f551abc Panagiotis Astithas
        </tr>
71 2f551abc Panagiotis Astithas
        <tr>
72 2f551abc Panagiotis Astithas
            <td colspan="2" align="center">
73 2f551abc Panagiotis Astithas
                <input type="submit" value="Sign Up" />
74 2f551abc Panagiotis Astithas
            </td>
75 2f551abc Panagiotis Astithas
        </tr>
76 2f551abc Panagiotis Astithas
    </table>
77 2f551abc Panagiotis Astithas
</form>
78 2f551abc Panagiotis Astithas
</center>
79 2f551abc Panagiotis Astithas
80 2f551abc Panagiotis Astithas
</body>
81 2f551abc Panagiotis Astithas
</html>