corz.org uses cookies to remember that you've seen this notice explaining that corz.org uses cookies, okay!
<?php
if (isset($GLOBALS['site_scheme']['bg_img_front']) and !empty($GLOBALS['site_scheme']['bg_img_front'])) {
echo <<<CSS
body {
background-image: url("%%bg_img_front%%"), url("%%bg_img%%");
background-position: %%bg_img_front_pos%%, %%bg_img_pos%%;
background-repeat: %%bg_img_front_repeat%%, %%bg_img_repeat%%;
background-attachment: %%bg_img_front_attch%%, %%bg_img_attch%%;
}
CSS;
} else {
echo <<<CSS
body {
background-image: url("%%bg_img%%");
background-position: %%bg_img_pos%%;
background-repeat: %%bg_img_repeat%%;
background-attachment: %%bg_img_attch%%;
}
CSS;
}
if (isset($GLOBALS['site_scheme']['bg_img_mobile']) and !empty($GLOBALS['site_scheme']['bg_img_mobile'])) {
echo <<<CSS
@media screen and (max-width: 920px) {
body {
background-image: url(%%bg_img_mobile%%);
background-position: %%bg_img_mobile_pos%%;
background-repeat: %%bg_img_mobile_repeat%%;
background-attachment: %%bg_img_mobile_attch%%;
}
}
CSS;
}?>