Location: PHPKode > projects > TVEz - Media Library > tvez-0.2.1/html/themes/theme.css.php
<?php
	header("Content-Type: text/css");

	# Which theme
	if (!isset($_REQUEST["theme"]))
		return;
	$theme = $_REQUEST["theme"];

	# Which content
	if (isset($_REQUEST["content"]) && $_REQUEST["content"] != "") {
		$content = $_REQUEST["content"];
		$css = "$theme/$theme-$content.css";
		$default = "default/default-$content.css";
	}
	else {
		$css = "$theme/$theme.css";
		$default = "default/default.css";
	}

	if (! is_file($css)) $css = $default;

	$fp = fopen($css, 'rb');

	header("Content-Type: text/css");
	fpassthru($fp);
?>
Return current item: TVEz - Media Library