";
$res=mysql_query("select content,script from page where id=$p");
$rf=mysql_fetch_array($res); $content=$rf[0]; $script=$rf[1];
if(isset($searchstr)){$content=ereg_replace ( $searchstr, "".$searchstr."", $content);}
print $content;
if($script!=""){if(file_exists($script.".php")){include($script.".php");}}
print" |