From: Tomislav G. <gr...@un...> - 2002-08-26 19:08:45
|
Hi everybody, I=B4d like to know if there=B4s a way how html pages which are includ= ed into a postnuke structure (code I use is below) can be added without = a right column? Some of the original pages are too wide, some aren=B4t.= So I=B4d like to choose if the included pages appear with or without a r= ight column. Another problem is that the implemented pages are not searche= d by postnuke... is there a workaround? <?PHP # April 2002 # by Chris Hayes (on IRC: Chrisy / Arakrys) $index=3D0; chdir('/usr/local/mydomain/subfolder/'); include ('includes/pnAPI.php'); pnInit(); $contenu=3D''; ob_start(); ?> (html) <?PHP $contenu=3Dob_get_contents (); ob_end_clean(); $output =3D new pnHTML(); $output->StartPage();$output->SetInputMode(_PNH_VERBATIMINPUT); $output->Text($contenu);$output->SetInputMode(_PNH_PARSEINPUT);$outpu= t- >EndPage();$output->PrintPage(); exit; ?> best regards, Tomi |