set_title("Login");
$page->set_heading("Login");
$page->add_block(new NavBlock());
$page->add_block(new Block("Login There",
"There should be a login box to the left"));
}
public function display_user_links($page, $user, $parts) {
// $page->add_block(new Block("User Links", join("
", $parts), "left", 10));
}
public function display_user_block($page, $user, $parts) {
$h_name = html_escape($user->name);
$html = "";
foreach($parts as $part) {
$html .= "
$tac
";} $html .= " "; $page->set_title("Create Account"); $page->set_heading("Create Account"); $page->add_block(new NavBlock()); $page->add_block(new Block("Signup", $html)); } public function display_ip_list($page, $uploads, $comments) { $html = "Uploaded from: ";
foreach($uploads as $ip => $count) {
$html .= " $ip ($count)"; } $html .= " | Commented from:";
foreach($comments as $ip => $count) {
$html .= " $ip ($count)"; } $html .= " |
(Most recent at top) |