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->is_admin()) { $html .= "
".$user->get_auth_html()."

See All Votes "; } return $html; } public function get_nuller_html(User $duser) { global $user; $html = "

".$user->get_auth_html()."
"; return $html; } 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)); } } ?>