gaim/www
Clone
Summary
Browse
Changes
Graph
Removing this directory from CVS to free some space on our web
2006-01-11, Mark Doliner
8db89aaf3634
Removing this directory from CVS to free some space on our web
file share thingy
<?php
require
"base.inc.php"
;
setup_site
(
"Register"
);
$missinginfo
=
false
;
if
(
$action
==
"join"
)
:
$ok
=
$users
->
register
();
if
(
$ok
)
:
start_section
(
"You are a winner!"
);
?>
<p>
<p>
Congratulations!
You
can
now
enjoy
all
the
happy
and
wonderful
things
that
only
priviledged
members
can
participate
in,
such
as
fame,
fortune,
and
the
ability
to
post
plugins
to
the
Plugins
page.
Now
please
<a
href=
"
<?php
print
$session
->
localUrl
(
'login.php'
);
?>
"
>
login
</a>
with
your
new
user
and
password
to
get
started.
</p>
<?php
end_section
();
site_shutdown
();
else
:
$missinginfo
=
true
;
endif
;
endif
;
start_section
(
"Register an Account"
);
if
(
$missinginfo
)
:
if
(
$user
==
"-2"
)
:
?>
<p>
<b>
Note:
</b>
You
have
entered
a
username
that
somebody
has
already
taken.
Please
choose
a
new
one.
</p>
<?php
endif
;
?>
<p>
You
must
enter
in
all
the
required
information.
Please
fill
in
the
information
in
<font
color=
"#FF0000"
>
red
</font>
,
as
well
as
your
password
again,
to
register.
</p>
<?php
endif
;
?>
<p>
Please
note
that
all
fields
marked
with
a
red
asterisk
(
<font
color=
"#FF0000"
>
*
</font>
)
must
be
filled
in!
</p>
<br
/>
<?php
end_section
();
?>
<form
method=
"post"
action=
"register.php"
>
<input
type=
"hidden"
name=
"action"
value=
"join"
/>
<?php
start_section
(
"Required Account Information"
);
?>
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
width=
"100%"
>
<?php
form_item
(
"Username"
,
"user"
,
$user
,
true
,
15
,
15
);
form_item
(
"Password"
,
"password"
,
""
,
true
,
15
,
15
);
form_item
(
"Password (again)"
,
"password2"
,
""
,
true
,
15
,
15
);
form_item
(
"E-mail"
,
"email"
,
$email
,
true
,
""
,
85
);
?>
</table>
<br
/>
<?php
end_section
();
start_section
(
"Optional Account Information"
);
?>
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
width=
"100%"
>
<?php
form_item
(
"First Name"
,
"firstname"
,
$firstname
,
false
,
""
,
20
);
form_item
(
"Last Name"
,
"lastname"
,
$lastname
,
false
,
""
,
20
);
form_item
(
"ICQ UIN"
,
"icquin"
,
$icquin
,
false
,
""
,
20
);
form_item
(
"AIM Screen Name"
,
"aimname"
,
$aimname
,
false
,
""
,
40
);
form_item
(
"Yahoo! Screen Name"
,
"yahooname"
,
$yahooname
,
false
,
""
,
40
);
form_item
(
"Jabber ID"
,
"jabbername"
,
$jabbername
,
false
,
""
,
40
);
form_item
(
"MSN Name"
,
"msnname"
,
$msnname
,
false
,
""
,
40
);
form_item
(
"Gadu-Gadu ID"
,
"ggname"
,
$ggname
,
false
,
""
,
20
);
?>
</table>
<br
/>
<div
align=
"center"
>
<input
type=
"reset"
value=
"Clear Fields"
/>
<input
type=
"submit"
value=
"Register"
/>
</div>
<?php
end_section
();
?>
</form>
<?php
site_shutdown
();
?>