Exemplo n.º 1
0
        }
        if ($i < count($head) - 1) {
            $result .= ", ";
        }
    }
    echo $result;
}
if (!isset($inclusion)) {
    $base_url_local = "../";
    $base_url_extra = "../../../gd-star-rating/";
    header('Content-Type: text/css');
    $q = urldecode($_GET["s"]);
}
$raw = explode("#", $q);
$raw_blocks = split_by_length($raw[0], 3);
$sizes = split_by_length($raw[1], 2);
unset($raw[0]);
unset($raw[1]);
$sets = array();
$blocks = array();
$head = array();
foreach ($raw as $r) {
    $set = array();
    $set["location"] = substr($r, 0, 1);
    $set["type"] = substr($r, 1, 1);
    switch ($set["type"]) {
        case "p":
            $set["type"] = "png";
            break;
        case "g":
            $set["type"] = "gif";
Exemplo n.º 2
0
                    Header("Status: 304 Not Modified");
                } else {
                    Header("HTTP/1.0 304 Not Modified");
                }
                exit;
            }
        }
    }
}
$raw = explode("#", $q);
if (!is_array($raw) || count($raw) < 3) {
    exit;
}
$raw_blocks = split_by_length($raw[0], 3);
$sizes = split_by_length($raw[1], 2);
$thumb_sizes = split_by_length($raw[2], 2);
unset($raw[0]);
unset($raw[1]);
unset($raw[2]);
$thumb_sets = $thumb_folders = $loaders_folders = $sets = $blocks = $head = $folders = $loaders = array();
foreach ($raw as $r) {
    $set = array();
    $type = substr($r, 0, 1);
    $set["location"] = substr($r, 1, 1);
    $set["type"] = substr($r, 2, 1);
    switch ($set["type"]) {
        case "p":
            $set["type"] = "png";
            break;
        case "g":
            $set["type"] = "gif";