Welcome\n"; $html .= "\t\t\t\t

Before csgen can be used, an administrator user must be created.

\n"; $html .= "\t\t\t\t
\n"; $html .= "\t\t\t\t\t\n"; $html .= "\t\t\t\t\t\n"; $html .= "\t\t\t\t\t\n"; $html .= "\t\t\t\t\t\n"; $html .= "\t\t\t\t\t\n"; $html .= "\t\t\t\t\t\n"; $html .= "\t\t\t\t
\n"; // handle errors if ($Error == "password" || $Error == "username") { $html .= "\t\t\t\t

Invalid username or password.

\n"; } else if ($Error == "type") { $html .= "\t\t\t\t

Invalid type.

\n"; } else if ($Error == "denied") { $html .= "\t\t\t\t

You don't have permission to create a user of this type.

\n"; } else if ($Error == "exists") { // i mean, how the fuck would this happen anyway? $html .= "\t\t\t\t

This user already exists.

\n"; } $html = printFooter($html); print "$html"; ?>