--- trunk/www/working/printable.php 2010/09/20 18:49:07 131
+++ trunk/www/working/printable.php 2010/10/07 09:19:52 145
@@ -1,9 +1,3 @@
-
-
-
-
-
-
";
-// Read the file into $file
-$file = file_get_contents ($thePage);
-// 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
+
+
+
+
+
.*#is";
+ $file = preg_replace($eReg,"",$file);
-// // // Remove [^] links
+
+ $eReg = "#[^<]*<#";
+ $tReg = '\0';
+ $file = preg_replace($eReg,$tReg,$file);
+
+ $file = str_replace('<">','">',$file);
+ $file = str_replace("","","=\"",$file);
+ $file = str_replace("","",$file);
+ $file = str_replace("
"," [^]",$file);
+
+ $file = str_replace("","Date: ",$file);
+ $file = str_replace("
","
",$file);
+ $file = str_replace("","",$file);
+ $file = str_replace("- ","",$file);
+ $file = str_replace("
","",$file);
+ //$file = str_replace("","",$file);
+ $file = str_replace("","",$file);
+ //$file = str_replace("","",$file);
+ $file = str_replace("","",$file);
+
+ $eReg = "#^" . ".*" . "<" . "/image" . ">#";
+ $file = preg_replace($eReg,"",$file);
+
+
+ $eReg = "#<" . "guid" . "[^<]*" . "<" . "/guid" . ">#";
+ $file = preg_replace($eReg,"",$file);
+
+
+ $eReg = "#<" . "link" . "[^<]*" . "<" . "/link" . ">#";
+
+
+// $file = preg_replace($eReg,"",$file);
+// $indexFile = file_get_contents ("./index.html");
+// $headerTokken = preg_match("#