id); $i_score = int_escape($image->numeric_score); $html = " Current Score: $i_score

".$user->get_auth_html()."
".$user->get_auth_html()."
".$user->get_auth_html()."
"; if($user->can("edit_other_vote")) { $html .= "
".$user->get_auth_html()."

See All Votes
"; } $page->add_block(new Block("Image Score", $html, "left", 20)); } public function get_nuller(User $duser) { global $user, $page; $html = "
".$user->get_auth_html()."
"; $page->add_block(new Block("Votes", $html, "main", 80)); } public function view_popular($images, $dte) { global $page, $config; $pop_images = ""; foreach($images as $image) { $pop_images .= $this->build_thumb_html($image)."\n"; } $b_dte = make_link("popular_by_".$dte[3]."?".date($dte[2], (strtotime('-1 '.$dte[3], strtotime($dte[0]))))); $f_dte = make_link("popular_by_".$dte[3]."?".date($dte[2], (strtotime('+1 '.$dte[3], strtotime($dte[0]))))); $html = "\n". "
\n". "

\n". " « {$dte[1]} »\n". "

\n". "
\n". "
\n".$pop_images; $nav_html = "Index"; $page->set_heading($config->get_string('title')); $page->add_block(new Block("Navigation", $nav_html, "left", 10)); $page->add_block(new Block(null, $html, "main", 30)); } }