if (!isset($_GET['name'])) {
if (!isset($Err)) {
error(404);
}
} else {
$Name = false;
foreach ($Stylesheets as $Stylesheet) {
if ($Stylesheet["Name"] === $_GET['name'])
$Name = $_GET['name'];
}
if (!$Name) {
error(404);
}
if (isset($_GET['format']) && $_GET['format'] === "data"){
global $Cache;
$ImageData = $Cache->get_value("cssgallery_".$Name);
if(!empty($ImageData)){
echo json_encode(array('data' => $ImageData, 'status' => "0"));
die();
} else {
echo json_encode(array('status' => "-1"));
die();
}
} else {
?>
Stylesheet Gallery
if (isset($_GET['save']) && $_GET['save']==="true" && check_perms('admin_clear_cache')) { ?>
} ?>