open($sql); if(!$rs->eof) { $boxcontent=str_replace("{TITLE}",$rs->row["title"],$boxcontent); $boxcontent=str_replace("{CONTENT}",translate_text($rs->row["content"]),$boxcontent); } echo($boxcontent); ?>