Location: PHPKode > projects > top serious project > bco/style.php
<?php

header("Content-type: text/css");

require('include.php');

if ($user_data['show_stylesheet']) {
    if (isset($userinfo)) {
        $stylesheet = $userinfo['stylesheet'];
    } else {
        // Get the default colors from the config table.
        $query = "select default_stylesheet, default_colors from bco_config_new limit 1";
        if (!$row = pg_fetch_row(pg_query($query))) {
            bco_error("MySQL said: " . pg_last_error());
        }
        $stylesheet = $row[0];
    }
//    $stylesheet = bco_generate_stylesheet($colors);
} else {
    $stylesheet = '';
}

print $stylesheet;

?>
Return current item: top serious project