]> andersk Git - sql-web.git/blob - tpl/signup.php
5fa7f9f186ba226b5965c8bc8dc9dfe7c42d2445
[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 ($LoginSSL->canSignup()): ?>
12 <h3>You are registering as: <?=$LoginSSL->getUsername()?></h3>
13 <p><?=$LoginSSL->getName()?></p>
14 <p><?=$LoginSSL->getEmail()?></p>
15
16 <form method=post>
17 <p><span style="width: 150px;"><label for="p1">password:</label></span> <input type="password" name="p1"></p>
18 <p><span style="width: 150px;"><label for="p2">confirm:</label></span> <input type="password" name="p2"></p>
19 <input type=submit value="Confirm Registration">
20 </form>
21
22 <?php elseif ($LoginSSL->canLogin()): ?>
23
24 <h3>This account is signed up. <a href="login">Login</a>.</h3>
25
26 <?php else: ?>
27
28 <?php endif; ?>
29
30 <?php
31 include 'foot.php';
32 ?>
This page took 0.030753 seconds and 3 git commands to generate.