6 use vars qw(%GET %POST $title $headextra @errors @warnings);
8 my $u = LJ::load_user($GET{user});
9 $u = LJ::get_remote() unless $u;
11 return "<?needlogin?>" unless $u;
13 my @questions = LJ::QotD->get_questions( user => $u, skip => 0 );
15 # redirect to the update page with the most recent QotD filled in
17 my $url = LJ::Widget::QotD->answer_url($questions[0]);
18 return BML::redirect($url);
21 return BML::redirect("$LJ::SITEROOT/");
25 title=><?_code return $title; _code?>
27 <?_code return $headextra; _code?>