<?php $layout = new afExtjsDesktopLayout(); ?> <style> body { <?php if ($layout->getBackgroundImage() != 'none') { ?> background:<?php echo $layout->getBackgroundColor(); ?> url(<?php echo $layout->getBackgroundImage(); ?> ) repeat bottom right; <?php } else { ?> background-color:<?php echo $layout->getBackgroundColor(); ?> ; <?php } ?> } </style>