OOPS!...
Here you go:
<?php
if (!eregi("modules.php", $_SERVER['PHP_SELF'])) {
die ("You can't access this file directly...");
}
$module_name = basename(dirname(FILE));
/**************************************************************************************************/
/ Change the index number to 0 if you wish to hide the right blocks and 1 if you wish to show them. /
/**************************************************************************************************/
$index = 1;
/**************************************************************************************************/
/ Always leave the inlcude("header.php"); in because it gets all the content around the module. /
/**************************************************************************************************/
include("header.php");
/***************************************************************************************************************************************/
/ This is the html file that contains your content for the module. It is located under the module's main directory. /
/ This also can include a remote file or site simply by changing the sample.html to the address like http://www.yoursite.com/index.html. /
/***************************************************************************************************************************************/
include("index.html") /html/modules/Sample/sample.html/;
/**************************************************************************************************/
/ Always leave the inlcude("footer.php"); in because it gets all the content around the module. /
/**************************************************************************************************/
include("footer.php");
?>