Project

General

Profile

1
<?php
2
/**
3
 *
4
 * @category        frontend
5
 * @package         account
6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
8
 * @copyright       2009-2011, Website Baker Org. e.V.
9
 * @link			http://www.websitebaker2.org/
10
 * @license         http://www.gnu.org/licenses/gpl.html
11
 * @platform        WebsiteBaker 2.8.x
12
 * @requirements    PHP 5.2.2 and higher
13
 * @version         $Id: signup_form.php 1420 2011-01-26 17:43:56Z Luisehahne $
14
 * @filesource		$HeadURL: svn://isteam.dynxs.de/wb-archiv/branches/2.8.x/wb/account/signup_form.php $
15
 * @lastmodified    $Date: 2011-01-26 18:43:56 +0100 (Wed, 26 Jan 2011) $
16
 *
17
 */
18

    
19
// Must include code to stop this file being access directly
20
if(defined('WB_PATH') == false) { die("Cannot access this file directly"); }
21

    
22
require_once(WB_PATH.'/include/captcha/captcha.php');
23

    
24
?>
25

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

    
28
<form name="user" action="<?php echo WB_URL.'/account/signup.php'; ?>" method="post">
29
	<?php echo $admin->getFTAN(); ?>
30
	<?php if(ENABLED_ASP) { // add some honeypot-fields
31
	?>
32
    <div style="display:none;">
33
	<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" />
34
	<p class="nixhier">
35
	email-address:
36
	<label for="email-address">Leave this field email-address blank:</label>
37
	<input id="email-address" name="email-address" size="60" value="" /><br />
38
	username (id):
39
	<label for="name">Leave this field name blank:</label>
40
	<input id="name" name="name" size="60" value="" /><br />
41
	Full Name:
42
	<label for="full_name">Leave this field full_name blank:</label>
43
	<input id="full_name" name="full_name" size="60" value="" /><br />
44
	</p>
45
	<?php }
46
	?>
47
    </div>
48
<table cellpadding="5" cellspacing="0" border="0" width="90%">
49
<tr>
50
	<td width="180"><?php echo $TEXT['USERNAME']; ?>:</td>
51
	<td class="value_input">
52
		<input type="text" name="username" maxlength="30" style="width:300px;"/>
53
	</td>
54
</tr>
55
<tr>
56
	<td><?php echo $TEXT['DISPLAY_NAME']; ?> (<?php echo $TEXT['FULL_NAME']; ?>):</td>
57
	<td class="value_input">
58
		<input type="text" name="display_name" maxlength="255" style="width:300px;" />
59
	</td>
60
</tr>
61
<tr>
62
	<td><?php echo $TEXT['EMAIL']; ?>:</td>
63
	<td class="value_input">
64
		<input type="text" name="email" maxlength="255" style="width:300px;"/>
65
	</td>
66
</tr>
67
<?php
68
// Captcha
69
if(ENABLED_CAPTCHA) {
70
	?><tr>
71
		<td class="field_title"><?php echo $TEXT['VERIFICATION']; ?>:</td>
72
		<td><?php call_captcha(); ?></td>
73
		</tr>
74
	<?php
75
}
76
?>
77
<tr>
78
	<td>&nbsp;</td>
79
	<td>
80
		<input type="submit" name="submit" value="<?php echo $TEXT['SIGNUP']; ?>" />
81
		<input type="reset" name="reset" value="<?php echo $TEXT['RESET']; ?>" />
82
	</td>
83
</tr>
84
</table>
85

    
86
</form>
87

    
88
<br />
89
&nbsp; 
(14-14/14)