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", 60)); } public function view_popular($images, $dte) { global $user, $page; $pop_images = ''; foreach($images as $image) { $thumb_html = $this->build_thumb_html($image); $pop_images .= ''. ''.$thumb_html.''. ''; } $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 = '

« '.$dte[1] .' »' .'


'.$pop_images; $nav_html = "Index"; $page->add_block(new Block("Navigation", $nav_html, "left", 10)); $page->add_block(new Block(null, $html, "main", 30)); } } ?>