<?php
header("Content-type: text/css");
$background = $HTTP_GET_VARS["background"];
if($background != ""){
	echo "body { background: $background}";
}

$background_color = $HTTP_GET_VARS["background_color"];
if($background_color != ""){
	echo "body { background:url(about:blank) #$background_color; background-color: #$background_color}";
}

$skin_title_color = $HTTP_GET_VARS["skin_title_color"];
if($skin_title_color != ""){
	echo ".skin_title {color:#$skin_title_color}";
}

$skin_title_font = $HTTP_GET_VARS["skin_title_font"];
if($skin_title_font != ""){
	echo ".skin_title {font-family:'$skin_title_font'}";
}

$skin_subtitle_color = $HTTP_GET_VARS["skin_subtitle_color"];
if($skin_subtitle_color != ""){
	echo ".skin_subtitle {color:#$skin_subtitle_color}";
}

$skin_subtitle_font = $HTTP_GET_VARS["skin_subtitle_font"];
if($skin_subtitle_font != ""){
	echo ".skin_subtitle {font-family:'$skin_subtitle_font'}";
}

$skin_backColor = $HTTP_GET_VARS["skin_backColor"];
if($skin_backColor != ""){
	echo ".skin_backColor { background:#$skin_backColor; }";
}

$title_align = $HTTP_GET_VARS["title_align"];
if($title_align != ""){
	echo ".title_align { z-index:20;text-align:$title_align;width:732px;}";
}
    $filemtime = date("D, j M Y G:i:s T",filemtime("/data1/apache_1.3.27/htdocs/blogcss/printCss.php"));
    header("Cache-Control: max-age=86400");
    header("Expires: ".date("D, j M Y G:i:s T", time() + 86400));
    header("Last-Modified: $filemtime");
   # header("Accept-Ranges: bytes");
?>
