1
|
<?php
|
2
|
/*
|
3
|
*
|
4
|
* About WebsiteBaker
|
5
|
*
|
6
|
* Website Baker is a PHP-based Content Management System (CMS)
|
7
|
* designed with one goal in mind: to enable its users to produce websites
|
8
|
* with ease.
|
9
|
*
|
10
|
* LICENSE INFORMATION
|
11
|
*
|
12
|
* WebsiteBaker is free software; you can redistribute it and/or
|
13
|
* modify it under the terms of the GNU General Public License
|
14
|
* as published by the Free Software Foundation; either version 2
|
15
|
* of the License, or (at your option) any later version.
|
16
|
*
|
17
|
* WebsiteBaker is distributed in the hope that it will be useful,
|
18
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
19
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
20
|
* See the GNU General Public License for more details.
|
21
|
*
|
22
|
* You should have received a copy of the GNU General Public License
|
23
|
* along with this program; if not, write to the Free Software
|
24
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
25
|
*
|
26
|
* WebsiteBaker Extra Information
|
27
|
*
|
28
|
*
|
29
|
*/
|
30
|
/**
|
31
|
*
|
32
|
* @category frontend
|
33
|
* @package account
|
34
|
* @author WebsiteBaker Project
|
35
|
* @copyright 2004-2009, Ryan Djurovich
|
36
|
* @copyright 2009-2010, Website Baker Org. e.V.
|
37
|
* @link http://www.websitebaker2.org/
|
38
|
* @license http://www.gnu.org/licenses/gpl.html
|
39
|
* @platform WebsiteBaker 2.8.x
|
40
|
* @requirements PHP 4.3.4 and higher
|
41
|
* @version $Id: signup_form.php 1268 2010-01-22 17:21:02Z Luisehahne $
|
42
|
* @filesource $HeadURL: svn://isteam.dynxs.de/wb-archiv/branches/2.8.x/wb/account/signup_form.php $
|
43
|
* @lastmodified $Date: 2010-01-22 18:21:02 +0100 (Fri, 22 Jan 2010) $
|
44
|
*
|
45
|
*/
|
46
|
|
47
|
if(!defined('WB_URL')) {
|
48
|
header('Location: ../index.php');
|
49
|
exit(0);
|
50
|
}
|
51
|
require_once(WB_PATH.'/include/captcha/captcha.php');
|
52
|
|
53
|
?>
|
54
|
|
55
|
<h1> <?php echo $TEXT['SIGNUP']; ?></h1>
|
56
|
|
57
|
<form name="user" action="<?php echo WB_URL.'/account/signup.php'; ?>" method="post">
|
58
|
|
59
|
<?php if(ENABLED_ASP) { // add some honeypot-fields
|
60
|
?>
|
61
|
<div style="display:none;">
|
62
|
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" />
|
63
|
<p class="nixhier">
|
64
|
email-address:
|
65
|
<label for="email-address">Leave this field email-address blank:</label>
|
66
|
<input id="email-address" name="email-address" size="60" value="" /><br />
|
67
|
username (id):
|
68
|
<label for="name">Leave this field name blank:</label>
|
69
|
<input id="name" name="name" size="60" value="" /><br />
|
70
|
Full Name:
|
71
|
<label for="full_name">Leave this field full_name blank:</label>
|
72
|
<input id="full_name" name="full_name" size="60" value="" /><br />
|
73
|
</p>
|
74
|
<?php }
|
75
|
?>
|
76
|
</div>
|
77
|
<table cellpadding="5" cellspacing="0" border="0" width="90%">
|
78
|
<tr>
|
79
|
<td width="180"><?php echo $TEXT['USERNAME']; ?>:</td>
|
80
|
<td class="value_input">
|
81
|
<input type="text" name="username" maxlength="30" style="width:300px;"/>
|
82
|
</td>
|
83
|
</tr>
|
84
|
<tr>
|
85
|
<td><?php echo $TEXT['DISPLAY_NAME']; ?> (<?php echo $TEXT['FULL_NAME']; ?>):</td>
|
86
|
<td class="value_input">
|
87
|
<input type="text" name="display_name" maxlength="255" style="width:300px;" />
|
88
|
</td>
|
89
|
</tr>
|
90
|
<tr>
|
91
|
<td><?php echo $TEXT['EMAIL']; ?>:</td>
|
92
|
<td class="value_input">
|
93
|
<input type="text" name="email" maxlength="255" style="width:300px;"/>
|
94
|
</td>
|
95
|
</tr>
|
96
|
<?php
|
97
|
// Captcha
|
98
|
if(ENABLED_CAPTCHA) {
|
99
|
?><tr>
|
100
|
<td class="field_title"><?php echo $TEXT['VERIFICATION']; ?>:</td>
|
101
|
<td><?php call_captcha(); ?></td>
|
102
|
</tr>
|
103
|
<?php
|
104
|
}
|
105
|
?>
|
106
|
<tr>
|
107
|
<td> </td>
|
108
|
<td>
|
109
|
<input type="submit" name="submit" value="<?php echo $TEXT['SIGNUP']; ?>" />
|
110
|
<input type="reset" name="reset" value="<?php echo $TEXT['RESET']; ?>" />
|
111
|
</td>
|
112
|
</tr>
|
113
|
</table>
|
114
|
|
115
|
</form>
|
116
|
|
117
|
<br />
|
118
|
|