]> andersk Git - sql-web.git/blobdiff - tpl/signup.php
mitsql 0,21
[sql-web.git] / tpl / signup.php
diff --git a/tpl/signup.php b/tpl/signup.php
new file mode 100644 (file)
index 0000000..c2fed42
--- /dev/null
@@ -0,0 +1,35 @@
+<?php
+include 'head.php';
+
+$thisTxt = isSSL()?' with this Certificate':' via SQL';
+?>
+
+<h2>Signup</h2>
+
+<?php printErrors($err); ?>
+
+<h3>You are registering as: <?=$Username?></h3>
+<p><?=$SSLName?></p>
+<p><?=$SSLEmail?></p>
+
+<?php if ($Login2->canSignup()): ?>
+
+<form method=post>
+<p>password: <input type="password" name="p1"></p>
+<p>confirm: <input type="password" name="p2"></p>
+<input type=submit value="Confirm Registration">
+</form>
+
+<?php elseif ($Login2->canLogin()): ?>
+
+<h3><a href="login">Login</a>. This account is already signed up.</h3>
+
+<?php else: ?>
+
+Hi
+
+<?php endif; ?>
+
+<?php
+include 'foot.php';
+?>
This page took 0.061247 seconds and 4 git commands to generate.