| 1 | 1289 | kweitzel | <?php
 | 
      
        | 2 |  |  | /**
 | 
      
        | 3 |  |  |  *
 | 
      
        | 4 |  |  |  * @category        frontend
 | 
      
        | 5 |  |  |  * @package         account
 | 
      
        | 6 |  |  |  * @author          WebsiteBaker Project
 | 
      
        | 7 |  |  |  * @copyright       2004-2009, Ryan Djurovich
 | 
      
        | 8 |  |  |  * @copyright       2009-2010, 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 4.3.4 and higher
 | 
      
        | 13 |  |  |  * @version         $Id$
 | 
      
        | 14 |  |  |  * @filesource		$HeadURL$
 | 
      
        | 15 |  |  |  * @lastmodified    $Date$
 | 
      
        | 16 |  |  |  *
 | 
      
        | 17 |  |  |  */
 | 
      
        | 18 |  |  | 
 | 
      
        | 19 |  |  | if(!defined('WB_URL')) {
 | 
      
        | 20 |  |  | 	header('Location: ../index.php');
 | 
      
        | 21 |  |  | 	exit(0);
 | 
      
        | 22 |  |  | }
 | 
      
        | 23 |  |  | require_once(WB_PATH.'/include/captcha/captcha.php');
 | 
      
        | 24 |  |  | 
 | 
      
        | 25 |  |  | ?>
 | 
      
        | 26 |  |  | 
 | 
      
        | 27 |  |  | <h1> <?php echo $TEXT['SIGNUP']; ?></h1>
 | 
      
        | 28 |  |  | 
 | 
      
        | 29 |  |  | <form name="user" action="<?php echo WB_URL.'/account/signup.php'; ?>" method="post">
 | 
      
        | 30 |  |  | 
 | 
      
        | 31 |  |  | 	<?php if(ENABLED_ASP) { // add some honeypot-fields
 | 
      
        | 32 |  |  | 	?>
 | 
      
        | 33 |  |  |     <div style="display:none;">
 | 
      
        | 34 |  |  | 	<input type="hidden" name="submitted_when" value="<?php $t=time(); echo $t; $_SESSION['submitted_when']=$t; ?>" />
 | 
      
        | 35 |  |  | 	<p class="nixhier">
 | 
      
        | 36 |  |  | 	email-address:
 | 
      
        | 37 |  |  | 	<label for="email-address">Leave this field email-address blank:</label>
 | 
      
        | 38 |  |  | 	<input id="email-address" name="email-address" size="60" value="" /><br />
 | 
      
        | 39 |  |  | 	username (id):
 | 
      
        | 40 |  |  | 	<label for="name">Leave this field name blank:</label>
 | 
      
        | 41 |  |  | 	<input id="name" name="name" size="60" value="" /><br />
 | 
      
        | 42 |  |  | 	Full Name:
 | 
      
        | 43 |  |  | 	<label for="full_name">Leave this field full_name blank:</label>
 | 
      
        | 44 |  |  | 	<input id="full_name" name="full_name" size="60" value="" /><br />
 | 
      
        | 45 |  |  | 	</p>
 | 
      
        | 46 |  |  | 	<?php }
 | 
      
        | 47 |  |  | 	?>
 | 
      
        | 48 |  |  |     </div>
 | 
      
        | 49 |  |  | <table cellpadding="5" cellspacing="0" border="0" width="90%">
 | 
      
        | 50 |  |  | <tr>
 | 
      
        | 51 |  |  | 	<td width="180"><?php echo $TEXT['USERNAME']; ?>:</td>
 | 
      
        | 52 |  |  | 	<td class="value_input">
 | 
      
        | 53 |  |  | 		<input type="text" name="username" maxlength="30" style="width:300px;"/>
 | 
      
        | 54 |  |  | 	</td>
 | 
      
        | 55 |  |  | </tr>
 | 
      
        | 56 |  |  | <tr>
 | 
      
        | 57 |  |  | 	<td><?php echo $TEXT['DISPLAY_NAME']; ?> (<?php echo $TEXT['FULL_NAME']; ?>):</td>
 | 
      
        | 58 |  |  | 	<td class="value_input">
 | 
      
        | 59 |  |  | 		<input type="text" name="display_name" maxlength="255" style="width:300px;" />
 | 
      
        | 60 |  |  | 	</td>
 | 
      
        | 61 |  |  | </tr>
 | 
      
        | 62 |  |  | <tr>
 | 
      
        | 63 |  |  | 	<td><?php echo $TEXT['EMAIL']; ?>:</td>
 | 
      
        | 64 |  |  | 	<td class="value_input">
 | 
      
        | 65 |  |  | 		<input type="text" name="email" maxlength="255" style="width:300px;"/>
 | 
      
        | 66 |  |  | 	</td>
 | 
      
        | 67 |  |  | </tr>
 | 
      
        | 68 |  |  | <?php
 | 
      
        | 69 |  |  | // Captcha
 | 
      
        | 70 |  |  | if(ENABLED_CAPTCHA) {
 | 
      
        | 71 |  |  | 	?><tr>
 | 
      
        | 72 |  |  | 		<td class="field_title"><?php echo $TEXT['VERIFICATION']; ?>:</td>
 | 
      
        | 73 |  |  | 		<td><?php call_captcha(); ?></td>
 | 
      
        | 74 |  |  | 		</tr>
 | 
      
        | 75 |  |  | 	<?php
 | 
      
        | 76 |  |  | }
 | 
      
        | 77 |  |  | ?>
 | 
      
        | 78 |  |  | <tr>
 | 
      
        | 79 |  |  | 	<td> </td>
 | 
      
        | 80 |  |  | 	<td>
 | 
      
        | 81 |  |  | 		<input type="submit" name="submit" value="<?php echo $TEXT['SIGNUP']; ?>" />
 | 
      
        | 82 |  |  | 		<input type="reset" name="reset" value="<?php echo $TEXT['RESET']; ?>" />
 | 
      
        | 83 |  |  | 	</td>
 | 
      
        | 84 |  |  | </tr>
 | 
      
        | 85 |  |  | </table>
 | 
      
        | 86 |  |  | 
 | 
      
        | 87 |  |  | </form>
 | 
      
        | 88 |  |  | 
 | 
      
        | 89 |  |  | <br />
 | 
      
        | 90 |  |  |  
 |