This is HTML surrounding the phpicalendar display

This page gets its calendar content from $targetfile


"; $targetfile = str_replace(" ","%20",$targetfile); $file = file($targetfile); $calendarfile = implode('',$file); $calendar_array = explode("", $calendarfile); $calendar_array = explode("", $calendar_array[1]); $calendarfile = $calendar_array[0]; $calendarfile = str_replace('day.php?','?view=day&',$calendarfile); $calendarfile = str_replace('week.php?','?view=week&',$calendarfile); $calendarfile = str_replace('month.php?','?view=month&',$calendarfile); $calendarfile = str_replace('year.php?','?view=year&',$calendarfile); $calendarfile = str_replace('print.php?','?view=print&',$calendarfile); $calendarfile = str_replace('preferences.php?','?view=preferences&',$calendarfile); $calendarfile = str_replace('"includes/event.php"','"'.$phpical_url.'/includes/event.php"',$calendarfile); $calendarfile = str_replace('./rss',"$phpical_url/rss",$calendarfile); $calendarfile = str_replace('"images',""$phpical_url".'templates/default/images',$calendarfile); $calendarfile = str_replace('"templates/default/images',""$phpical_url".'templates/default/images',$calendarfile); $calendarfile = str_replace('{PRINTVIEW}.php','',$calendarfile); $calendarfile = str_replace('action="search.php"','',$calendarfile); #fix Pick multiple $calendarfile = str_replace('
','',$calendarfile); $calendarfile = str_replace('','',$calendarfile); $calendarfile = str_replace('','',$calendarfile); $calendarfile = str_replace('','',$calendarfile); echo $calendarfile; ?>

This is HTML surrounding the phpicalendar display