> 16) & 0xFF; $g = ($rgb >> 8) & 0xFF; $b = $rgb & 0xFF; $lum = ($r+$r+$b+$g+$g+$g)/6; $total_lum += $lum; $sample_no++; } } $avg_lum = $total_lum / $sample_no; file_put_contents($_SERVER['DOCUMENT_ROOT'] . "/data/webcontent/cache/banner.mtd", ($avg_lum / 255) * 100); return ($avg_lum / 255) * 100; } } function asciiComp($a, $b) { $at = iconv('UTF-8', 'ASCII//TRANSLIT', $a); $bt = iconv('UTF-8', 'ASCII//TRANSLIT', $b); return strcmp($at, $bt); } ?> list; foreach ($widgets as $widget): ?> class) && is_string($data->class)) { require $_SERVER['DOCUMENT_ROOT'] . "/widgets/" . $widget . "/source.php"; } ?> ") ?> location.href = '/';"); } ?>
'); echo(''); echo(''); echo(''); } else { echo(''); } ?>