Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Tarpas prieš headerį

Parašė betmenas· 2009 Rugp. 14 16:08:21
#1

Sveiki. Taig tokia bėda, kad atsirado tarpas prieš headerį. Atrodo taip:

theame.php kodo pradžia čia:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System   |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk            |
| email: nick@php-fusion.co.uk                |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/
/*--------------------------------------------+
|     Revision Theme for PHP-Fusion v6        |
|---------------------------------------------|
| author: UworldIRC - Riadi © 2006            |
| web: http://www.uworldirc.com/              |
| email: riadi@gcinet.org                     |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/
define('IN_REVISION', true);
require_once(INCLUDES.'theme_functions_include.php');
require_once(THEME.'includes/navigationbar.class.php');
require_once(THEME.'theme_config.php');

function render_header() {
   global $theme_width, $rtNavbar, $rtHeader, $settings;
   if ((isset($rtHeader['logo_url'])) && (!empty($rtHeader['logo_url'])))
      $url = $rtHeader['logo_url'];
   else
      $url = false;

   if ((isset($rtHeader['logo_url_title'])) && (!empty($rtHeader['logo_url_title'])))
      $title = $rtHeader['logo_url_title'];
   else
      $title = false;
     
   echo "<script language='javascript' src='".THEME."includes/revision.js' type='text/javascript'></script>\n"
   ."<table align='center' border='0' cellpadding='0' cellspacing='0' width='920'>\n"
   ."<tr><td class='pageLeft'></td><td width='100%' class='pageCenter' valign='top'>\n"
   ."<table border='0' cellpadding='0' cellspacing='0' id='header' width='100%'><tr>\n"
   ."".($title ? " alt='".$title."'" : " ")."
   <object width=\"920\" height=\"280\">
<param name=\"movie\" value=\"http://www.saulessmiltys.lt/themes/Dominus/headeris.swf\">
<embed src=\"http://www.saulessmiltys.lt/themes/Dominus/headeris.swf\" width=\"920\" height=\"280\">
</embed>
</object>
</a>".($title ? " title='".$title."'" : "").""
   .($url ? "</a>" : "")
   .((isset($rtHeader['slogan']) && !empty($rtHeader['slogan'])) ? "<br><span class='slogan'>".$rtHeader['slogan']."</span>" : "")."</td>\n";
   
   echo "</tr></table>\n";
   $rtNavbar->generate();
   echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>\n";
}





Kame čia bėda? Dėkui.

Redagavo Karolis· 2009 Rugp. 14 16:08:44