if (! defined $session->param("name") ||
! userinfo_get($session->param("name"), "regdate")) {
if (! defined $session->param("name") ||
! userinfo_get($session->param("name"), "regdate")) {
cgi_signin($q, $session);
cgi_savesession($session);
exit;
cgi_signin($q, $session);
cgi_savesession($session);
exit;
print "Content-type: text/html\n\n";
print cgitemplate(undef, gettext("Error"),
"<p class=\"error\">".gettext("Error").": $message</p>");
print "Content-type: text/html\n\n";
print cgitemplate(undef, gettext("Error"),
"<p class=\"error\">".gettext("Error").": $message</p>");