0) $path="../"; else $path=""; switch($action) { case"topic"; if($num){ mysql_db_query($infoboard["dbname"], "update ".$infoboard["dbquestion"]." set info_view=info_view+1 where info_id='".$num."'"); mysql_close(); } $html=""; break ; case"name1"; $html = formname("infoName1", $idcat, $total, $path); break ; case"name2"; $html = formname("infoName2", $idcat, $total, $path); break ; case"site"; echo "document.write(\"
".$infoboard["website"]."
\");"; $html=""; break ; case"color"; $html = formcolor(); break ; case"bottom"; $html = showbottom($idcat, $name); break ; default ; } if($html){ $html = eregi_replace(Chr(34),"",eregi_replace("\n","",eregi_replace("\r","",$html))); echo "document.write(\"".$html."\");"; } ?>