$page = TRUE_PHP_SELF;
$img_folder = BASEDIR."images/backgrounds";
$img_ext = ".jpg";
$img_link = $img_folder.str_replace(".php", $img_ext, $page);
if (file_exists($img_link)) {
add_to_head(" <style type='text/css'>
body {
background: url('".$img_link."') no-repeat center top;
}
</style>");
}
Category Forum
Content Administration - 8Labels
None yet
Statistics
4 participants
Notifications
You are not receiving notifications from this thread.
Related Questions