1 |
4
|
ryan
|
<?php
|
2 |
|
|
|
3 |
253
|
ryan
|
// $Id$
|
4 |
4
|
ryan
|
|
5 |
|
|
/*
|
6 |
|
|
|
7 |
|
|
Website Baker Project <http://www.websitebaker.org/>
|
8 |
519
|
Ruebenwurz
|
Copyright (C) 2004-2008, Ryan Djurovich
|
9 |
4
|
ryan
|
|
10 |
|
|
Website Baker is free software; you can redistribute it and/or modify
|
11 |
|
|
it under the terms of the GNU General Public License as published by
|
12 |
|
|
the Free Software Foundation; either version 2 of the License, or
|
13 |
|
|
(at your option) any later version.
|
14 |
|
|
|
15 |
|
|
Website Baker is distributed in the hope that it will be useful,
|
16 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
18 |
|
|
GNU General Public License for more details.
|
19 |
|
|
|
20 |
|
|
You should have received a copy of the GNU General Public License
|
21 |
|
|
along with Website Baker; if not, write to the Free Software
|
22 |
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
23 |
|
|
|
24 |
|
|
*/
|
25 |
|
|
|
26 |
|
|
if(!defined('WB_URL')) {
|
27 |
|
|
header('Location: ../index.php');
|
28 |
286
|
stefan
|
exit(0);
|
29 |
4
|
ryan
|
}
|
30 |
596
|
thorn
|
require_once(WB_PATH.'/include/captcha/captcha.php');
|
31 |
739
|
thorn
|
require_once(WB_PATH.'/include/captcha/asp.php');
|
32 |
4
|
ryan
|
?>
|
33 |
|
|
|
34 |
|
|
<style>
|
35 |
|
|
.value_input input, .value_input text, .value_input select {
|
36 |
|
|
width: 300px;
|
37 |
|
|
}
|
38 |
|
|
</style>
|
39 |
|
|
|
40 |
|
|
<h1> <?php echo $TEXT['SIGNUP']; ?></h1>
|
41 |
|
|
|
42 |
540
|
Ruebenwurz
|
<form name="user" action="<?php echo WB_URL.'/account/signup.php'; ?>" method="post">
|
43 |
4
|
ryan
|
|
44 |
|
|
<table cellpadding="5" cellspacing="0" border="0" width="90%">
|
45 |
|
|
<tr>
|
46 |
596
|
thorn
|
<?php if(ENABLED_ASP) { // add some honeypot-fields
|
47 |
|
|
?>
|
48 |
|
|
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" />
|
49 |
739
|
thorn
|
<p class="nixhier">
|
50 |
596
|
thorn
|
email-address:
|
51 |
|
|
<label for="email-address">Leave this field empty, dont enter your e-mail address:</label>
|
52 |
|
|
<input id="email-address" name="email-address" size="60" value="" /><br />
|
53 |
|
|
username (id):
|
54 |
|
|
<label for="name">Enter your user name or id not here:</label>
|
55 |
|
|
<input id="name" name="name" size="60" value="" /><br />
|
56 |
|
|
Full Name:
|
57 |
|
|
<label for="full_name">This is to leave blank, dont enter your full name here:</label>
|
58 |
|
|
<input id="full_name" name="full_name" size="60" value="" /><br />
|
59 |
|
|
</p>
|
60 |
|
|
<?php }
|
61 |
|
|
?>
|
62 |
4
|
ryan
|
<td width="180"><?php echo $TEXT['USERNAME']; ?>:</td>
|
63 |
|
|
<td class="value_input">
|
64 |
|
|
<input type="text" name="username" maxlength="30" />
|
65 |
|
|
</td>
|
66 |
|
|
</tr>
|
67 |
|
|
<tr>
|
68 |
|
|
<td><?php echo $TEXT['DISPLAY_NAME']; ?> (<?php echo $TEXT['FULL_NAME']; ?>):</td>
|
69 |
|
|
<td class="value_input">
|
70 |
|
|
<input type="text" name="display_name" maxlength="255" />
|
71 |
|
|
</td>
|
72 |
|
|
</tr>
|
73 |
|
|
<tr>
|
74 |
|
|
<td><?php echo $TEXT['EMAIL']; ?>:</td>
|
75 |
|
|
<td class="value_input">
|
76 |
|
|
<input type="text" name="email" maxlength="255" />
|
77 |
|
|
</td>
|
78 |
|
|
</tr>
|
79 |
253
|
ryan
|
<?php
|
80 |
|
|
// Captcha
|
81 |
596
|
thorn
|
if(ENABLED_CAPTCHA) {
|
82 |
|
|
?><tr>
|
83 |
|
|
<td class="field_title"><?php echo $TEXT['VERIFICATION']; ?>:</td>
|
84 |
|
|
<td><?php call_captcha(); ?></td>
|
85 |
|
|
</tr>
|
86 |
|
|
<?php
|
87 |
253
|
ryan
|
}
|
88 |
|
|
?>
|
89 |
4
|
ryan
|
<tr>
|
90 |
|
|
<td> </td>
|
91 |
|
|
<td>
|
92 |
|
|
<input type="submit" name="submit" value="<?php echo $TEXT['SIGNUP']; ?>" />
|
93 |
|
|
<input type="reset" name="reset" value="<?php echo $TEXT['RESET']; ?>" />
|
94 |
|
|
</td>
|
95 |
|
|
</tr>
|
96 |
|
|
</table>
|
97 |
|
|
|
98 |
|
|
</form>
|
99 |
|
|
|
100 |
|
|
<br />
|
101 |
739
|
thorn
|
|