Hey everyone,
I'm new and had a question about PHP.
I downloaded a CMS named Joomla yesterday, and I'm trying to merge some of the code within our site. The problem is that the whole code (that I took from a default template to test it out) is completely in a special PHP code.
Example (and the first <php may be wrong, but it was something like that):
<php.
/* + ----------------------------------------------------------------------------+ | e107 website system | | Steve Dunstan 2001-2002 | http://e107.org |
[email protected] | | Released under the terms and conditions of the | GNU General Public License (http://gnu.org). | | $Source: /cvsroot/e107/e107_0.7/e107_themes/interfectus/theme.php,v $ | $Revision: 1.11 $ | $Date: 2007/03/18 11:20:30 $ | $Author: e107steved $ +----------------------------------------------------------------------------+ */ if (!defined('e107_INIT')) { exit; } // [multilanguage] @include_once(e_THEME."esfv1.0/languages/".e_LANGUAGE.".php"); @include_once(e_THEME."esfv1.0/languages/English.php"); // [theme] $themename = "ESF v1.0 Theme"; $themeversion = "1.0"; $themeauthor = "DJ Raven [jalist]"; $themeemail = "
[email protected]"; $themewebsite = "http://www.esforces.com"; $themedate = "16/03/2005"; $themeinfo = "Dark theme suitable for gaming / clan sites."; define("STANDARDS_MODE", TRUE); $xhtmlcompliant = TRUE; $csscompliant = TRUE; define("THEME_DISCLAIMER", "
".LAN_THEME_1.""); define("IMODE", "dark"); // [layout] $layout = "_default"; $HEADER = "
[ {SITENAME} ]
{CUSTOM=search+".THEME_ABS."images/search.png}
{CUSTOM=clock}
{SETSTYLE=main} "; $FOOTER = "
{SETSTYLE=menu1} {SITELINKS} {MENU=1}
{SITEDISCLAIMER}
{THEME_DISCLAIMER}
"; /*
{PLUGIN=other_news_menu/other_news2_menu}
*/ $CUSTOMHEADER = ""
; ?>
I have no idea, but is this a special PHP code or something? If I leave the <php instact in the beginning and place it on where the code should be, it will work.. But it'll only display below our site. If I remove the php code in the beginning, it'll show as this:
http://esf.filefront.com/cms/news.php
Possible someone can help me with this how to add this code on our site correctly?
If I made this thread in the wrong section, please do move it .
Regards,
Skyrider