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 1599 2012-02-06 15:59:24Z Luisehahne $
14
 * @filesource		$HeadURL: svn://isteam.dynxs.de/wb-archiv/branches/2.8.x/wb/account/signup_form.php $
15
 * @lastmodified    $Date: 2012-02-06 16:59:24 +0100 (Mon, 06 Feb 2012) $
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
<div style="margin: 1em auto;">
26
	<button type="button" value="cancel" onClick="javascript: window.location = '<?php print $_SESSION['HTTP_REFERER'] ?>';"><?php print $TEXT['CANCEL'] ?></button>
27
</div>
28
<h1>&nbsp;<?php echo $TEXT['SIGNUP']; ?></h1>
29

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

    
88
</form>
89

    
90
<br />
91
&nbsp; 
(15-15/16)