--- trunk/www/working/printable.php 2010/09/21 13:14:15 132 +++ trunk/www/working/printable.php 2010/09/22 14:44:59 133 @@ -27,33 +27,58 @@ $thePage = getcwd() . '/' . $pageUrlName; // echo "thePage = $thePage


"; -// Read the file into $file -$file = file_get_contents ($thePage); -// Get top navigation div -$eReg = "#
.*#"; -$numMatch = preg_match($eReg,$file,$matches); -if($numMatch > 0) - $topNav = $matches[0]; -// echo $topNav; - -// Get bottom navigation div -$eReg = "#
.*#"; -$numMatch = preg_match($eReg,$file,$matches); -if($numMatch > 0) - $bottomNav = $matches[0]; -// echo $bottomNav; - -// Remove text starting from line 1 to -// line containing tag -$eReg="##is"; -$file = preg_replace($eReg,"",$file); -$eReg = "#\n +\n +\n +\n +\n +Clonezilla-SysRescCD - What's New\n +