? Export headbody; $ opened $ QUERY_STRING; if ($ opened) {$ opened-1;} printtabletrtdclassc // Modify the following variables by yourself.
$ Newsnum = 7;
$ Space = 20;
$ Width = 400;
$ Headclass = "class5 ";
$ Lowerclass = "class6 ";
// Variable setting ends.
Print" ";
$ Opened = $ QUERY_STRING;
If ($ opened = "") {$ opened = "-1 ";}
Print"
$ File [$ a] = chop ($ file [$ a]);
If ($ file [$ a] =" "){
$ Where = $;
Break 1;
}
$ A ++;
}
$ File = file ('http: // www.php.net ');
$ A = $ where + 1;
$ B = 0;
While ($ B <$ newsnum ){
If (substr ($ file [$ a], 0, 4) = "" & substr ($ file [$ a],-6, 5) = "" | substr ($ file [$ a],) = "" & substr ($ file [$ a],-) = ""){
$ From = $;
$ To = $;
}
If ($ to = $ a & $ from! = ""){
$ C = $ from;
If ($ B ==$ opened ){
While ($ c <$ ){
If (substr ($ file [$ c], 0, 9) = "$ file [$ c] = "";
}
$ File [$ c] = eregi_replace ("src =" "," src = "http://www.php.net/", $ file [$ c]);
$ File [$ c] = eregi_replace ("href =" "," href = "http://www.php.net/", $ file [$ c]);
$ File [$ c] = eregi_replace ("","
Www.php.net |
";$ File = file ('http: // www.php.net ');$ Where = "";$ A = 0;While ($
", $ File [$ c]); $ File [$ c] = eregi_replace (""," |
", $ File [$ c]); Print $ file [$ c]; $ C ++; } } Else { If (substr ($ file [$ c], 0, 9) = "$ file [$ c] = ""; } $ File [$ c] = eregi_replace ("src =" "," src = "http://www.php.net/", $ file [$ c]); $ File [$ c] = eregi_replace ("href =" "," href = "http://www.php.net/", $ file [$ c]); $ File [$ c] = eregi_replace (""," |
", $ File [$ c]); $ File [$ c] = eregi_replace (""," |
", $ File [$ c]); Print $ file [$ c]; } $ B ++; } $ A ++; } Print" |
";
Print"";
?>