>", $contents); // Print error if content is not active } else { $contents = eregi_replace ("images", "$theme_url/$user_theme/images", $contents); $contents = eregi_replace ("---SUBJECT---", LANG_UNACTIVECONTENT, $contents); $contents = eregi_replace ("---CONTENT---", LANG_UNACTIVECONTENTERR, $contents); $contents = eregi_replace ("---DATE---", "", $contents); $contents = eregi_replace ("---BACKTOCAT---", SelectTopContentCat($cat_id)." >>", $contents); } echo $contents; echo PrintTheme("footer"); ?>