tag with all its advantages and disadvantages # # Usage: framebrowser.php?nav=anyurl # Autosieger-Usage: fb.php?nav=anyurl # # No Special requirements. # # Thanks to Attila Seres (lophas@yahoo.com) NUKE-BROWSER # # This program is free software. You can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License. ###################################################################### include 'includes/pnAPI.php'; pnInit(); if(!IsSet($mainfile)) { include ("mainfile.php"); } include("config.php"); // empty url if($nav==''){ include("header.php"); // OpenTable(); echo ("
No URL selected. Correct and try the Frame Browser again !!!
"); echo "

Frame Browser
"; // CloseTable(); include("footer.php"); die; } // set url $urladdress=$nav; if(substr($urladdress,0,1)=="/") $urladdress=substr($urladdress,1,strlen($urladdress)-1); //if(substr($urladdress,0,7)!="http://") $urladdress='http://'.$urladdress; if(substr($urladdress,0,7)!="https://") $urladdress=''.$urladdress; if(substr($urladdress,strlen($urladdress)-1,1)=="&") $urladdress=substr($urladdress,0,strlen($urladdress)-1); // url not correct $urladdress1=$urladdress.'/'; if(!@fopen($urladdress1,"r")){ if(!$header) include("header.php"); // OpenTable(); echo ("
URL address ".$urladdress." not found. Correct and try the Frame Browser again !!!
"); echo "

Frame Browser
"; // CloseTable(); include("footer.php"); die; } // url opened $urladdress=rawurldecode($urladdress); include("header.php"); //OpenTable(); // url in new window $urladdressstring=$urladdress; if(strlen($urladdressstring)>50)$urladdressstring=substr($urladdressstring,0,50).'...'; //echo '
//'.' //
Seite in neuem Fenster öffnen: '.$urladdressstring.'

'; // Orig.: echo ""; echo ""; //CloseTable(); include("footer.php"); die; ?>