".$reportedimage['reason']."";
} else {
$reason = $reportedimage['reason'];
}
$image_link = "".$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->add_block(new Block("Reported Images", $html));
}
public function display_page($page) {
$page->set_title("Reported Images");
$page->set_heading("Reported Images");
$page->add_block(new NavBlock());
}
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"));
}
}
?>