put a webpage into a module window I am in the process of changing my site from a phpnuke site to MOS. In phpnuke if i wanted to add a module to show a website I would do this.
<?
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}
if(!IsSet($mainfile)) { include ("mainfile.php"); }
$index=0;
$theme="DeepBlue"; ///<------SET A THEME HERE OR PLACE TWO BACKSLASHES IN FRON OF THIS LINE
$go_to_address1="site would go here";
$go_to_address=rawurldecode($go_to_address1);
include("header.php");
OpenTable();
echo "<iframe SRC=\"".$go_to_address."\" width=\"100%\" height=\"1200\" framespacing=0 frameborder=no border=0 scrolling=auto></iframe>";
CloseTable();
include("footer.php");
die;
?>
then save it as a php file. put it in the module dir and activate it.
obviously that wouldnt work here.
how would I acompplish this in MOS
Thanks
Brian |