Project

General

Profile

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          Ryan Djurovich
35
 * @copyright       2004-2009, Ryan Djurovich
36
 * @copyright       2009-2010, Website Baker Org. e.V.
37
 * @filesource		$HeadURL: svn://isteam.dynxs.de/wb-archiv/branches/2.8.x/wb/account/signup_form.php $
38
 * @author          Ryan Djurovich
39
 * @copyright       2004-2009, Ryan Djurovich
40
 *
41
 * @author          WebsiteBaker Project
42
 * @link			http://www.websitebaker2.org/
43
 * @copyright       2009-2010, Website Baker Org. e.V.
44
 * @link			http://start.websitebaker2.org/impressum-datenschutz.php
45
 * @license         http://www.gnu.org/licenses/gpl.html
46
 * @version         $Id: signup_form.php 1262 2010-01-21 08:24:34Z Luisehahne $
47
 * @platform        WebsiteBaker 2.8.x
48
 * @requirements    PHP 4.3.4 and higher
49
 * @lastmodified    $Date: 2010-01-21 09:24:34 +0100 (Thu, 21 Jan 2010) $
50
 *
51
 */
52

    
53
if(!defined('WB_URL')) {
54
	header('Location: ../index.php');
55
	exit(0);
56
}
57
require_once(WB_PATH.'/include/captcha/captcha.php');
58

    
59
?>
60

    
61
<h1>&nbsp;<?php echo $TEXT['SIGNUP']; ?></h1>
62

    
63
<form name="user" action="<?php echo WB_URL.'/account/signup.php'; ?>" method="post">
64

    
65
	<?php if(ENABLED_ASP) { // add some honeypot-fields
66
	?>
67
    <div style="display:none;">
68
	<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" />
69
	<p class="nixhier">
70
	email-address:
71
	<label for="email-address">Leave this field email-address blank:</label>
72
	<input id="email-address" name="email-address" size="60" value="" /><br />
73
	username (id):
74
	<label for="name">Leave this field name blank:</label>
75
	<input id="name" name="name" size="60" value="" /><br />
76
	Full Name:
77
	<label for="full_name">Leave this field full_name blank:</label>
78
	<input id="full_name" name="full_name" size="60" value="" /><br />
79
	</p>
80
	<?php }
81
	?>
82
    </div>
83
<table cellpadding="5" cellspacing="0" border="0" width="90%">
84
<tr>
85
	<td width="180"><?php echo $TEXT['USERNAME']; ?>:</td>
86
	<td class="value_input">
87
		<input type="text" name="username" maxlength="30" style="width:300px;"/>
88
	</td>
89
</tr>
90
<tr>
91
	<td><?php echo $TEXT['DISPLAY_NAME']; ?> (<?php echo $TEXT['FULL_NAME']; ?>):</td>
92
	<td class="value_input">
93
		<input type="text" name="display_name" maxlength="255" style="width:300px;" />
94
	</td>
95
</tr>
96
<tr>
97
	<td><?php echo $TEXT['EMAIL']; ?>:</td>
98
	<td class="value_input">
99
		<input type="text" name="email" maxlength="255" style="width:300px;"/>
100
	</td>
101
</tr>
102
<?php
103
// Captcha
104
if(ENABLED_CAPTCHA) {
105
	?><tr>
106
		<td class="field_title"><?php echo $TEXT['VERIFICATION']; ?>:</td>
107
		<td><?php call_captcha(); ?></td>
108
		</tr>
109
	<?php
110
}
111
?>
112
<tr>
113
	<td>&nbsp;</td>
114
	<td>
115
		<input type="submit" name="submit" value="<?php echo $TEXT['SIGNUP']; ?>" />
116
		<input type="reset" name="reset" value="<?php echo $TEXT['RESET']; ?>" />
117
	</td>
118
</tr>
119
</table>
120

    
121
</form>
122

    
123
<br />
124
&nbsp; 
(14-14/14)