Jump to content

FF|Skyrider

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Everything posted by FF|Skyrider

  1. I still have a problem though. Even with the <?php code and the ending code on the end of the whole code stuff, it works as it should.. But it only displays under our website, not where I placed the code (it should be on the news area). So, what should I do now? How do I make this to work at the location where you see at the text on the site?
  2. 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 | jalist@e107.org | | 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 = "jalist@e107.org"; $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
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.