]> andersk Git - sql-web.git/blob - tpl/signup.php
f01aa182432ea077252c3bb036bd057751e75213
[sql-web.git] / tpl / signup.php
1 <?php
2 include '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 (isset($Login2) && !$Login2->canLogin()): ?>
12 <h3>You are registering as: <?=$Username?></h3>
13 <p><?=$SSLName?></p>
14 <p><?=$SSLEmail?></p>
15 <?php endif; ?>
16
17 <?php if (isset($Login2) && $Login2->canSignup()): ?>
18
19 <form method=post>
20 <p>password: <input type="password" name="p1"></p>
21 <p>confirm: <input type="password" name="p2"></p>
22 <input type=submit value="Confirm Registration">
23 </form>
24
25 <?php elseif (isset($Login2) && $Login2->canLogin()): ?>
26
27 <h3><a href="login">Login</a>. This account is signed up.</h3>
28
29 <?php else: ?>
30
31 <?php endif; ?>
32
33 <?php
34 include 'foot.php';
35 ?>
This page took 0.029258 seconds and 3 git commands to generate.