3 * @file view/theme/duepuntozero/style.php
7 if (file_exists("$THEMEPATH/style.css")) {
8 echo file_get_contents("$THEMEPATH/style.css");
11 $uid = $_REQUEST['puid'] ?? 0;
13 $s_colorset = DI::config()->get('duepuntozero', 'colorset');
14 $colorset = DI::pConfig()->get($uid, 'duepuntozero', 'colorset');
16 if (empty($colorset)) {
17 $colorset = $s_colorset;
23 if ($colorset == 'greenzero') {
24 $setcss = file_get_contents('view/theme/duepuntozero/deriv/greenzero.css');
27 if ($colorset == 'purplezero') {
28 $setcss = file_get_contents('view/theme/duepuntozero/deriv/purplezero.css');
31 if ($colorset == 'easterbunny') {
32 $setcss = file_get_contents('view/theme/duepuntozero/deriv/easterbunny.css');
35 if ($colorset == 'darkzero') {
36 $setcss = file_get_contents('view/theme/duepuntozero/deriv/darkzero.css');
39 if ($colorset == 'comix') {
40 $setcss = file_get_contents('view/theme/duepuntozero/deriv/comix.css');
43 if ($colorset == 'slackr') {
44 $setcss = file_get_contents('view/theme/duepuntozero/deriv/slackr.css');