id); $i_score = int_escape($image->numeric_score); $html = " Current Score: $i_score
"; if($user->is_admin()) { $html .= "See All Votes "; } return $html; } public function get_nuller_html(User $duser) { global $user; $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 = '