2004-12-12 03:51:51 +00:00
|
|
|
<?php
|
2006-06-17 06:10:10 +00:00
|
|
|
require_once(BASE."include/util.php");
|
|
|
|
|
|
|
|
|
|
$aClean = array(); //array of filtered user input
|
|
|
|
|
|
2006-07-06 04:46:13 +00:00
|
|
|
$aClean['sUserEmail'] = makeSafe($_POST['sUserEmail']);
|
|
|
|
|
$aClean['sUserRealname'] = makeSafe($_POST['realname']);
|
2006-06-17 06:10:10 +00:00
|
|
|
|
|
|
|
|
|
2004-12-12 03:51:51 +00:00
|
|
|
/********************/
|
|
|
|
|
/* New Account Form */
|
|
|
|
|
/********************/
|
2004-03-15 16:22:00 +00:00
|
|
|
|
|
|
|
|
echo '<form method="post" action="account.php">',"\n";
|
|
|
|
|
echo html_frame_start("Create New Application DB Account","400","",0)
|
|
|
|
|
?>
|
|
|
|
|
|
|
|
|
|
<!-- start of new account form -->
|
2004-12-12 03:51:51 +00:00
|
|
|
<table border=0 width="100%" cellspacing=0 cellpadding=20>
|
|
|
|
|
<tr>
|
2005-01-10 22:54:04 +00:00
|
|
|
<td class=color1> E-mail </td>
|
2006-07-06 04:46:13 +00:00
|
|
|
<td class=color0> <input type="text" name="sUserEmail" value='<?php if(!empty($aClean['sUserEmail'])) echo $aClean['sUserEmail']?>'> </td>
|
2004-12-12 03:51:51 +00:00
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class=color1> Password </td>
|
2006-07-06 04:46:13 +00:00
|
|
|
<td class=color0> <input type="password" name="sUserPassword"> </td>
|
2004-12-12 03:51:51 +00:00
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class=color1> Password (again) </td>
|
2006-07-06 04:46:13 +00:00
|
|
|
<td class=color0> <input type="password" name="sUserPassword2"> </td>
|
2004-12-12 03:51:51 +00:00
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class=color1> Real Name </td>
|
2006-07-06 04:46:13 +00:00
|
|
|
<td class=color0> <input type="text" name="sUserRealname" value='<?php if(!empty($aClean['sUserRealname'])) echo $aClean['sUserRealname']?>'> </td>
|
2004-12-12 03:51:51 +00:00
|
|
|
</tr>
|
2005-01-05 19:08:06 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
echo "<tr><td class=color1> Wine version </td><td class=color0>";
|
2006-07-06 04:46:13 +00:00
|
|
|
make_bugzilla_version_list("sWineRelease", $aClean['sWineRelease']);
|
2005-01-05 19:08:06 +00:00
|
|
|
echo "</td></tr>";
|
|
|
|
|
|
|
|
|
|
?>
|
2004-03-15 16:22:00 +00:00
|
|
|
|
2004-12-12 03:51:51 +00:00
|
|
|
<tr>
|
|
|
|
|
<td colspan=2 align=center class=color3>
|
2006-07-07 18:03:42 +00:00
|
|
|
<input type="submit" name="sCreate" value=" Create Account " class=button>
|
2004-12-12 03:51:51 +00:00
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
2004-03-15 16:22:00 +00:00
|
|
|
<!-- end of new account form -->
|
|
|
|
|
|
2004-12-12 03:51:51 +00:00
|
|
|
<?php
|
2004-03-15 16:22:00 +00:00
|
|
|
|
|
|
|
|
echo html_frame_end(" ");
|
2006-07-07 15:45:48 +00:00
|
|
|
echo '<input type="hidden" name="sCmd" value="do_new">',"\n";
|
2004-03-15 16:22:00 +00:00
|
|
|
echo '</form>',"\n";
|
|
|
|
|
|
|
|
|
|
echo p(),p(),p();
|
|
|
|
|
|
|
|
|
|
?>
|