".$reportedimage['reason']."";
				$reason .= $this->make_thumbnail_html($reportedimage['reason']);
			} else {
				$reason = $reportedimage['reason'];
			}
			
			$image_link = "".$reportedimage['image_id']."";
			$image_link .= $this->make_thumbnail_html($reportedimage['image_id']);
			$userlink = "{$reportedimage['reporter_name']}";
			
				$h_reportedimages .= "
					
						| {$image_link} | 
						{$userlink} | 
						{$reportedimage['reason_type']} | 
						{$reason} | 
						
							
						 | 
					
				";
		}
		$html = "
			
				| Image | Reporter | Reason Type | Reason / Image ID | Action | 
				$h_reportedimages
			
		";
		
		$page->set_title("Reported Images");
		$page->set_heading("Reported Images");
		$page->add_block(new NavBlock());
		$page->add_block(new Block("Reported Images", $html));
		
	}
	
		protected function make_thumbnail_html($image_id) {
			global $config;
			global $database;
			
			if($config->get_bool('report_image_show_thumbs')) {
				$image_obj_reported = $database->get_image($image_id);
				return "
" . build_thumb_html($image_obj_reported);
			}
		}
	public function display_image_banner($page, $image) {
	
	global $config;
		$page->add_header("");
	
		$i_image = int_escape($image);
		$html = "
			
		";
		$page->add_block(new Block("Report Image", $html, "left"));
	}
}
?>