Ahh, I stumbled across the module creator, and followed all the steps, however, I get the following error when accessing it:
|
Code:
|
Parse error: parse error, unexpected T_STRING, expecting ',' or ';' in /home/rsrlnet/public_html/community/modules/cargarage/index.php on line 27 |
Here is the code im using:
|
Code:
|
<?php
#### Generated by Module Creator - By Disipal site (www.disipal.net) ####
if (!eregi("modules.php", $PHP_SELF)) {
die ("You can't access this file directly...");
}
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
include("header.php");
$index = 0;
OpenTable();
echo"<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse\" width=\"723\" id=\"AutoNumber14\">"
. " <tr> "
. " <td background=\"images/main_mdlbackg.gif\" class=\"fs1pt\"><font face=\"Verdana, Arial, Helvetica\">&</font><font face=\"Verdana, Arial, Helvetica\"> "
. " <p align=\"center\" style=\"margin-top: 0\"> <font color=\"#FCD096\" size=\"1\">& "
. " <iframe name=\"I1\" src=\"http://www.rsrl.us/garage.htm\" width=\"480\" height=\"381\">Your "
. " browser does not support inline frames or is currently configured not "
. " to display inline frames.</iframe>"
. " </font></p>"
. " <p align=\"center\" style=\"margin-top: 0\">&</p>"
. " </font></td>"
. " </tr>"
. "</table>"
. ";
CloseTable();
include("footer.php");
?> |
Line 27 is the include("footer.php")
Any thoughts?