Revision 1262
Added by Dietmar over 14 years ago
signup_form.php | ||
---|---|---|
1 |
<?php +<?php |
|
1 |
/* |
|
2 |
* |
|
3 |
* About WebsiteBaker |
|
4 |
* |
|
5 |
* Website Baker is a PHP-based Content Management System (CMS) |
|
6 |
* designed with one goal in mind: to enable its users to produce websites |
|
7 |
* with ease. |
|
8 |
* |
|
9 |
* LICENSE INFORMATION |
|
10 |
* |
|
11 |
* WebsiteBaker is free software; you can redistribute it and/or |
|
12 |
* modify it under the terms of the GNU General Public License |
|
13 |
* as published by the Free Software Foundation; either version 2 |
|
14 |
* of the License, or (at your option) any later version. |
|
15 |
* |
|
16 |
* WebsiteBaker is distributed in the hope that it will be useful, |
|
17 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
18 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|
19 |
* See the GNU General Public License for more details. |
|
20 |
* |
|
21 |
* You should have received a copy of the GNU General Public License |
|
22 |
* along with this program; if not, write to the Free Software |
|
23 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
|
24 |
* |
|
25 |
* WebsiteBaker Extra Information |
|
26 |
* |
|
27 |
* |
|
28 |
*/ |
|
29 |
/** |
|
30 |
* |
|
31 |
* @category frontend |
|
32 |
* @package account |
|
33 |
* @author Ryan Djurovich |
|
34 |
* @copyright 2004-2009, Ryan Djurovich |
|
35 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
36 |
* @filesource $HeadURL$ |
|
37 |
* @author Ryan Djurovich |
|
38 |
* @copyright 2004-2009, Ryan Djurovich |
|
39 |
* |
|
40 |
* @author WebsiteBaker Project |
|
41 |
* @link http://www.websitebaker2.org/ |
|
42 |
* @copyright 2009-2010, Website Baker Org. e.V. |
|
43 |
* @link http://start.websitebaker2.org/impressum-datenschutz.php |
|
44 |
* @license http://www.gnu.org/licenses/gpl.html |
|
45 |
* @version $Id$ |
|
46 |
* @platform WebsiteBaker 2.8.x |
|
47 |
* @requirements PHP 4.3.4 and higher |
|
48 |
* @lastmodified $Date$ |
|
49 |
* |
|
50 |
*/ |
|
2 | 51 |
|
3 |
+if(!defined('WB_URL')) { |
|
52 |
header('Location: ../index.php'); |
|
53 |
exit(0); |
|
54 |
} |
|
55 |
require_once(WB_PATH.'/include/captcha/captcha.php'); |
|
4 | 56 |
|
5 |
// $Id$ +?> |
|
6 | 57 |
|
7 |
+<h1> <?php echo $TEXT['SIGNUP']; ?></h1> |
|
8 | 58 |
|
9 |
/* +<form name="user" action="<?php echo WB_URL.'/account/signup.php'; ?>" method="post"> |
|
10 | 59 |
|
11 |
+ <?php if(ENABLED_ASP) { // add some honeypot-fields |
|
60 |
?> |
|
61 |
<div style="display:none;"> |
|
62 |
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" /> |
|
63 |
<p class="nixhier"> |
|
64 |
email-address: |
|
65 |
<label for="email-address">Leave this field email-address blank:</label> |
|
66 |
<input id="email-address" name="email-address" size="60" value="" /><br /> |
|
67 |
username (id): |
|
68 |
<label for="name">Leave this field name blank:</label> |
|
69 |
<input id="name" name="name" size="60" value="" /><br /> |
|
70 |
Full Name: |
|
71 |
<label for="full_name">Leave this field full_name blank:</label> |
|
72 |
<input id="full_name" name="full_name" size="60" value="" /><br /> |
|
73 |
</p> |
|
74 |
<?php } |
|
75 |
?> |
|
76 |
</div> |
|
77 |
<table cellpadding="5" cellspacing="0" border="0" width="90%"> |
|
78 |
<tr> |
|
79 |
<td width="180"><?php echo $TEXT['USERNAME']; ?>:</td> |
|
80 |
<td class="value_input"> |
|
81 |
<input type="text" name="username" maxlength="30" style="width:300px;"/> |
|
82 |
</td> |
|
83 |
</tr> |
|
84 |
<tr> |
|
85 |
<td><?php echo $TEXT['DISPLAY_NAME']; ?> (<?php echo $TEXT['FULL_NAME']; ?>):</td> |
|
86 |
<td class="value_input"> |
|
87 |
<input type="text" name="display_name" maxlength="255" style="width:300px;" /> |
|
88 |
</td> |
|
89 |
</tr> |
|
90 |
<tr> |
|
91 |
<td><?php echo $TEXT['EMAIL']; ?>:</td> |
|
92 |
<td class="value_input"> |
|
93 |
<input type="text" name="email" maxlength="255" style="width:300px;"/> |
|
94 |
</td> |
|
95 |
</tr> |
|
96 |
<?php |
|
97 |
// Captcha |
|
98 |
if(ENABLED_CAPTCHA) { |
|
99 |
?><tr> |
|
100 |
<td class="field_title"><?php echo $TEXT['VERIFICATION']; ?>:</td> |
|
101 |
<td><?php call_captcha(); ?></td> |
|
102 |
</tr> |
|
103 |
<?php |
|
104 |
} |
|
105 |
?> |
|
106 |
<tr> |
|
107 |
<td> </td> |
|
108 |
<td> |
|
109 |
<input type="submit" name="submit" value="<?php echo $TEXT['SIGNUP']; ?>" /> |
|
110 |
<input type="reset" name="reset" value="<?php echo $TEXT['RESET']; ?>" /> |
|
111 |
</td> |
|
112 |
</tr> |
|
113 |
</table> |
|
12 | 114 |
|
13 |
Website Baker Project <http://www.websitebaker.org/> +</form> |
|
14 | 115 |
|
15 |
Copyright (C) 2004-2009, Ryan Djurovich - |
|
16 |
- |
|
17 |
Website Baker is free software; you can redistribute it and/or modify - |
|
18 |
it under the terms of the GNU General Public License as published by - |
|
19 |
the Free Software Foundation; either version 2 of the License, or - |
|
20 |
(at your option) any later version. - |
|
21 |
- |
|
22 |
Website Baker is distributed in the hope that it will be useful, - |
|
23 |
but WITHOUT ANY WARRANTY; without even the implied warranty of - |
|
24 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - |
|
25 |
GNU General Public License for more details. - |
|
26 |
- |
|
27 |
You should have received a copy of the GNU General Public License - |
|
28 |
along with Website Baker; if not, write to the Free Software - |
|
29 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - |
|
30 |
- |
|
31 |
*/ - |
|
32 |
- |
|
33 |
if(!defined('WB_URL')) { - |
|
34 |
header('Location: ../index.php'); - |
|
35 |
exit(0); - |
|
36 |
} - |
|
37 |
require_once(WB_PATH.'/include/captcha/captcha.php'); - |
|
38 |
- |
|
39 |
?> - |
|
40 |
- |
|
41 |
<h1> <?php echo $TEXT['SIGNUP']; ?></h1> - |
|
42 |
- |
|
43 |
<form name="user" action="<?php echo WB_URL.'/account/signup.php'; ?>" method="post"> - |
|
44 |
- |
|
45 |
<?php if(ENABLED_ASP) { // add some honeypot-fields - |
|
46 |
?> - |
|
47 |
<div style="display:none;"> - |
|
48 |
<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" /> - |
|
49 |
<p class="nixhier"> - |
|
50 |
email-address: - |
|
51 |
<label for="email-address">Leave this field email-address blank:</label> - |
|
52 |
<input id="email-address" name="email-address" size="60" value="" /><br /> - |
|
53 |
username (id): - |
|
54 |
<label for="name">Leave this field name blank:</label> - |
|
55 |
<input id="name" name="name" size="60" value="" /><br /> - |
|
56 |
Full Name: - |
|
57 |
<label for="full_name">Leave this field full_name blank:</label> - |
|
58 |
<input id="full_name" name="full_name" size="60" value="" /><br /> - |
|
59 |
</p> - |
|
60 |
<?php } - |
|
61 |
?> - |
|
62 |
</div> - |
|
63 |
<table cellpadding="5" cellspacing="0" border="0" width="90%"> - |
|
64 |
<tr> - |
|
65 |
<td width="180"><?php echo $TEXT['USERNAME']; ?>:</td> - |
|
66 |
<td class="value_input"> - |
|
67 |
<input type="text" name="username" maxlength="30" style="width:300px;"/> - |
|
68 |
</td> - |
|
69 |
</tr> - |
|
70 |
<tr> - |
|
71 |
<td><?php echo $TEXT['DISPLAY_NAME']; ?> (<?php echo $TEXT['FULL_NAME']; ?>):</td> - |
|
72 |
<td class="value_input"> - |
|
73 |
<input type="text" name="display_name" maxlength="255" style="width:300px;" /> - |
|
74 |
</td> - |
|
75 |
</tr> - |
|
76 |
<tr> - |
|
77 |
<td><?php echo $TEXT['EMAIL']; ?>:</td> - |
|
78 |
<td class="value_input"> - |
|
79 |
<input type="text" name="email" maxlength="255" style="width:300px;"/> - |
|
80 |
</td> - |
|
81 |
</tr> - |
|
82 |
<?php - |
|
83 |
// Captcha - |
|
84 |
if(ENABLED_CAPTCHA) { - |
|
85 |
?><tr> - |
|
86 |
<td class="field_title"><?php echo $TEXT['VERIFICATION']; ?>:</td> - |
|
87 |
<td><?php call_captcha(); ?></td> - |
|
88 |
</tr> - |
|
89 |
<?php - |
|
90 |
} - |
|
91 |
?> - |
|
92 |
<tr> - |
|
93 |
<td> </td> - |
|
94 |
<td> - |
|
95 |
<input type="submit" name="submit" value="<?php echo $TEXT['SIGNUP']; ?>" /> - |
|
96 |
<input type="reset" name="reset" value="<?php echo $TEXT['RESET']; ?>" /> - |
|
97 |
</td> - |
|
98 |
</tr> - |
|
99 |
</table> - |
|
100 |
- |
|
101 |
</form> - |
|
102 |
- |
|
103 |
<br /> - |
|
104 |
- |
|
116 |
<br /> |
|
117 |
|
|
105 | 118 |
Also available in: Unified diff
Beginning header information update