Hi,
I am very new to the php-nuke community. 1 full day now. I have tried to create a module that I want to be used as my front page instead of the "news" module. I want to only show one piece of news or article or whatever the right terminology is. So I have searched and found what I thought was the correct information to create this module. My problem is that I keep getting the error message.
Could someone please look and tell me what I have done wrong?
Thanks in advance.
Rick
Code:
<?php
if (!eregi("admin.php", $_SERVER['PHP_SELF'])) { die ("Access Denied"); }
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
include("header.php");
$index = 0;
OpenTable();
echo"<p class=\"subhead\">What is Discipleship Resource Center?</p>"
. "<p style=\"margin-top:-1em\">To put it simply, this Discipleship Resource Center exists to provide information and resources to those who are trying to live their lives as disciples of Jesus the Christ or who may be involved in discipleship or mentoring of another person. We will be providing what we believe to be the best materials available on discipleship.
"
. "As part of this mission we provide links to the sites of those whose material we have used. Even though the material on our site (Discipleship Resource Center) has been reviewed and approved in content, we do not necessarily endorse or advocate all the material that may be found on an authors personal site. You, as a Christian should evaluate and verify any information found in these sites against the truth of scripture.
"
. "Acts 17:11 - These were more fair-minded than those in Thessalonica, in that they received the word with all readiness, and searched the Scriptures daily to find out whether these things were so.</p>"
. "<p class=\"subhead\">Where does this material come from?</p>"
. "<p style=\"margin-top:-1em\">Our material has been gathered from a variety of sources. Through books, videos and personal experience our staff has written some of the articles and courses. We have used material from some of the leading disciplers of the past and present. We actively engage in the search for quality material from any source that would help in your discipleship mission. If you feel like you have what it takes to write an article, bible study or any other material that would aid in the gowth of disciples please feel free to view our submission guidelines <a href=\"http://www.discipleshipresourcecenter.com/artman/publish/article_15.shtml\">HERE.</a>"
. "
The staff of DRC carefully screens all material before placing it on this site so you can concentrate on using it rather than reviewing it.</p>"
. "<p style=\"margin-top:-1em\">A great majority of the material on this site is free, however, we are associated with several other ministries and groups who may charge for their materials.</p>"
. "<p class=\"subhead\">Why do you have so many topics?</p>"
. "<p style=\"margin-top:-1em\">Discipleship involves ALL areas of a persons life. Therefore, we provide material that will benefit each person in as many areas as possible. It is important to note that no amount of knowledge will benefit you or your disciple unless you take that knowledge and put it into action.</p>"
. "<p class=\"subhead\">Does this material cost anything?</p>";
CloseTable();
include("footer.php");
?>