]> andersk Git - sql-web.git/blame_incremental - tpl/signup.php
form submit bug preventing signups
[sql-web.git] / tpl / signup.php
... / ...
CommitLineData
1<?php
2include 'head.php';
3
4$thisTxt = isSSL()?' with this Certificate':' via SQL';
5?>
6
7<h2>Signup</h2>
8
9<?php printErrors($err); ?>
10
11<?php if ($LoginSSL->canSignup()): ?>
12<h3>You are registering as: <?=$LoginSSL->getUsername()?></h3>
13<p><?=$LoginSSL->getName()?></p>
14<p><?=$LoginSSL->getEmail()?></p>
15
16Your MySQL password should be different from your Athena account password.
17
18<form method=post action="<?=$URI?>">
19<p><span style="width: 150px;"><label for="p1">password:</label></span> <input type="password" name="p1"></p>
20<p><span style="width: 150px;"><label for="p2">repeat password:</label></span> <input type="password" name="p2"></p>
21<input type=submit value="Confirm Registration">
22</form>
23
24<?php elseif ($LoginSSL->canLogin()): ?>
25
26<h3>This account is already signed up.</h3>
27
28<?php else: ?>
29
30<?php endif; ?>
31
32<?php
33include 'foot.php';
34?>
This page took 0.030206 seconds and 5 git commands to generate.