".$s."
"; } $__content__ .= "

".MENU_ITEM_4."

"; $res = mysql_query("select * from pages where page_id=8"); while ($row = mysql_fetch_array ($res)) { $pdesc = stripslashes($row['description_'.$lang]); $_imgcontent_ = ""; for ($i=1;$i<=10;$i++) { if ($row['image'.$i] != "" and file_exists("tcache/tpages_".substr($row['image'.$i], 0, -4).".jpg")) $_imgsource_ = "tcache/tpages_".substr($row['image'.$i], 0, -4).".jpg"; else if ($row['image'.$i] != "") $_imgsource_ = "tpages.php?file=".$row['image'.$i].""; if ($row['image'.$i] != "") $_imgcontent_ .= "
\"\"
\n"; } $__content__ .= "
".$pdesc."
".$_imgcontent_."
"; } $ttemplate = $template; $ttemplate = str_replace("_____SITE_TITLE_____", MENU_ITEM_4.SITE_TITLE, $ttemplate); $ttemplate = str_replace("_____CONTENT_____", $__content__, $ttemplate); echo $ttemplate; ?>