1 |
1190
|
Luisehahne
|
<?php
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
// $Id$
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
/*
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
Website Baker Project <http://www.websitebaker.org/>
|
14 |
|
|
|
15 |
|
|
Copyright (C) 2004-2009, Ryan Djurovich
|
16 |
|
|
|
17 |
|
|
|
18 |
|
|
|
19 |
|
|
Website Baker is free software; you can redistribute it and/or modify
|
20 |
|
|
|
21 |
|
|
it under the terms of the GNU General Public License as published by
|
22 |
|
|
|
23 |
|
|
the Free Software Foundation; either version 2 of the License, or
|
24 |
|
|
|
25 |
|
|
(at your option) any later version.
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
Website Baker is distributed in the hope that it will be useful,
|
30 |
|
|
|
31 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
32 |
|
|
|
33 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
34 |
|
|
|
35 |
|
|
GNU General Public License for more details.
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
You should have received a copy of the GNU General Public License
|
40 |
|
|
|
41 |
|
|
along with Website Baker; if not, write to the Free Software
|
42 |
|
|
|
43 |
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
*/
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|
|
if(!defined('WB_URL')) {
|
52 |
|
|
|
53 |
|
|
header('Location: ../index.php');
|
54 |
|
|
|
55 |
|
|
exit(0);
|
56 |
|
|
|
57 |
|
|
}
|
58 |
|
|
|
59 |
|
|
require_once(WB_PATH.'/include/captcha/captcha.php');
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
?>
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
<h1> <?php echo $TEXT['SIGNUP']; ?></h1>
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
<form name="user" action="<?php echo WB_URL.'/account/signup.php'; ?>" method="post">
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
<?php if(ENABLED_ASP) { // add some honeypot-fields
|
76 |
|
|
|
77 |
|
|
?>
|
78 |
|
|
|
79 |
|
|
<div style="display:none;">
|
80 |
|
|
|
81 |
|
|
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" />
|
82 |
|
|
|
83 |
|
|
<p class="nixhier">
|
84 |
|
|
|
85 |
|
|
email-address:
|
86 |
|
|
|
87 |
|
|
<label for="email-address">Leave this field email-address blank:</label>
|
88 |
|
|
|
89 |
|
|
<input id="email-address" name="email-address" size="60" value="" /><br />
|
90 |
|
|
|
91 |
|
|
username (id):
|
92 |
|
|
|
93 |
|
|
<label for="name">Leave this field name blank:</label>
|
94 |
|
|
|
95 |
|
|
<input id="name" name="name" size="60" value="" /><br />
|
96 |
|
|
|
97 |
|
|
Full Name:
|
98 |
|
|
|
99 |
|
|
<label for="full_name">Leave this field full_name blank:</label>
|
100 |
|
|
|
101 |
|
|
<input id="full_name" name="full_name" size="60" value="" /><br />
|
102 |
|
|
|
103 |
|
|
</p>
|
104 |
|
|
|
105 |
|
|
<?php }
|
106 |
|
|
|
107 |
|
|
?>
|
108 |
|
|
|
109 |
|
|
</div>
|
110 |
|
|
|
111 |
|
|
<table cellpadding="5" cellspacing="0" border="0" width="90%">
|
112 |
|
|
|
113 |
|
|
<tr>
|
114 |
|
|
|
115 |
|
|
<td width="180"><?php echo $TEXT['USERNAME']; ?>:</td>
|
116 |
|
|
|
117 |
|
|
<td class="value_input">
|
118 |
|
|
|
119 |
|
|
<input type="text" name="username" maxlength="30" style="width:300px;"/>
|
120 |
|
|
|
121 |
|
|
</td>
|
122 |
|
|
|
123 |
|
|
</tr>
|
124 |
|
|
|
125 |
|
|
<tr>
|
126 |
|
|
|
127 |
|
|
<td><?php echo $TEXT['DISPLAY_NAME']; ?> (<?php echo $TEXT['FULL_NAME']; ?>):</td>
|
128 |
|
|
|
129 |
|
|
<td class="value_input">
|
130 |
|
|
|
131 |
|
|
<input type="text" name="display_name" maxlength="255" style="width:300px;" />
|
132 |
|
|
|
133 |
|
|
</td>
|
134 |
|
|
|
135 |
|
|
</tr>
|
136 |
|
|
|
137 |
|
|
<tr>
|
138 |
|
|
|
139 |
|
|
<td><?php echo $TEXT['EMAIL']; ?>:</td>
|
140 |
|
|
|
141 |
|
|
<td class="value_input">
|
142 |
|
|
|
143 |
|
|
<input type="text" name="email" maxlength="255" style="width:300px;"/>
|
144 |
|
|
|
145 |
|
|
</td>
|
146 |
|
|
|
147 |
|
|
</tr>
|
148 |
|
|
|
149 |
|
|
<?php
|
150 |
|
|
|
151 |
|
|
// Captcha
|
152 |
|
|
|
153 |
|
|
if(ENABLED_CAPTCHA) {
|
154 |
|
|
|
155 |
|
|
?><tr>
|
156 |
|
|
|
157 |
|
|
<td class="field_title"><?php echo $TEXT['VERIFICATION']; ?>:</td>
|
158 |
|
|
|
159 |
|
|
<td><?php call_captcha(); ?></td>
|
160 |
|
|
|
161 |
|
|
</tr>
|
162 |
|
|
|
163 |
|
|
<?php
|
164 |
|
|
|
165 |
|
|
}
|
166 |
|
|
|
167 |
|
|
?>
|
168 |
|
|
|
169 |
|
|
<tr>
|
170 |
|
|
|
171 |
|
|
<td> </td>
|
172 |
|
|
|
173 |
|
|
<td>
|
174 |
|
|
|
175 |
|
|
<input type="submit" name="submit" value="<?php echo $TEXT['SIGNUP']; ?>" />
|
176 |
|
|
|
177 |
|
|
<input type="reset" name="reset" value="<?php echo $TEXT['RESET']; ?>" />
|
178 |
|
|
|
179 |
|
|
</td>
|
180 |
|
|
|
181 |
|
|
</tr>
|
182 |
|
|
|
183 |
|
|
</table>
|
184 |
|
|
|
185 |
|
|
|
186 |
|
|
|
187 |
|
|
</form>
|
188 |
|
|
|
189 |
|
|
|
190 |
|
|
|
191 |
|
|
<br />
|
192 |
|
|
|
193 |
|
|
|