File: registerform.ihtml

package info (click to toggle)
phplib 1%3A7.3dev-3.1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,752 kB
  • ctags: 247
  • sloc: php: 6,659; perl: 323; pascal: 157; makefile: 102; sh: 7
file content (73 lines) | stat: -rw-r--r-- 1,670 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<html>
 <head>
  <title>Online Registration</title>
  <style type="text/css">
  <!--
    body { font-family: Arial, Helvetica, sans-serif }
    td   { font-family: Arial, Helvetica, sans-serif }
  -->
  </style>
 </head>
 
<body bgcolor="#ffffff">
<h1>Online Registration</h1>

Welcome!

Please choose a username and a password or use our <a href="<?php
print $PHP_SELF ?>?mode=log">login form</a>,
if you believe that we already know you:<br>

<form action="<?php $this->purl() ?>" method=post>
<table border=0 bgcolor="#eeeeee" align="center" cellspacing=0 cellpadding=4>
 <tr valign=top align=left>
  <td>Username:</td>
  <td><input type="text" name="username" value="<?php print $auth->auth["uname"] ?>" size=32 maxlength=32></td>
 </tr>
 <tr valign=top align=left>
  <td>Password:</td>
  <td><input type="password" name="pass1" size=32 maxlength=32></td>
 </tr>
 <tr valign=top align=left>
  <td>Again:</td>
  <td><input type="password" name="pass2" size=32 maxlength=32></td>
 </tr>
 
 <tr>
  <td>&nbsp;</td>
  <td align=right><input type="submit" name="submit" value="Register now"></td>
 </tr>
</table>

 <?php if ($auth->auth["error"]): ?>
 <!-- failed registration code code -->

 <p>
 <table>
  <tr>
   <td colspan=2><font color=red><b><?php print $auth->auth["error"] ?></b></font></td>
  </tr>
 </table>

 <?php
  $this->auth["error"] = "";
  endif;
  ?>

</table>
</form>
</body>
<script language="JavaScript">
<!--
  if (document.forms[0][0].value != '') {
      document.forms[0][1].focus();
  } else {
      document.forms[0][0].focus();
  }
// -->
</script>
</html>
<!-- $Id: registerform.ihtml,v 1.2 1999/10/29 11:18:40 kk Exp $ -->

 </body>
</html>