Tutorials

Eine immer größer werdende Tutorialdatenbank.

PHP-Fusion Core

Aktuelle PHP-Fusion Vollversionen und Updates

Addon Downloads

Alle Downloads garantiert Kostenlos

Support 24/7

24 Stunden, 7 Tage die Woche, das ganze Jahr.

Thema ansehen
PHP-Fusion.at - Offizielle Supportseite für PHP-Fusion » Support für die Versionen v7.00 und v7.01 » Themes und Design
Fehlermeldung wegen '<' Thema drucken
Benutzeravatar

Mitglied


bvbfanessen Geschrieben am 03.06.2012 um 16:03
 #1 Beitrag drucken Top
Hallo Leute ich bekomme folgende Fehlermeldung allerdings finde ich den Fehler nicht im Script ( theme.php )

Kann von euch jemand mal nen Blick drauf werfen ?
Irgendwie sehe ich gar nichts :-(

Fehlermeldung : Parse error: syntax error, unexpected '<' in /mnt/webg/c0/73/52935673/htdocs/Dorfleben/themes/BVBtheme/theme.php on line 60

Script :


<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

define("THEME_WIDTH", "1000");
define("THEME_BULLET", "<strong>&middot;</strong>");

function render_page($license=false) {

global $aidlink, $locale, $settings, $main_style;

   //Header Start
echo "<table cellspacing='0' cellpadding='0' width='".THEME_WIDTH."' class='outer-border center'>\n<tr>\n";
   echo "<td>\n";
   
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<tr><td class='header' width='100%'>";
   
   echo "<tr><td height='275' background='".THEME."images/banner.png' align='center' valign='middle'>
   <table width='1000' border='0' cellspacing='0' cellpadding='0'>
  <tr>
    <td>&nbsp;</td>
    <td width='220' align='center'>";
   echo "</tr>\n</table>\n";
   echo "</td>\n</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";

echo "<table cellspacing='0' cellpadding='0' border='0' style='padding-top: 3px;' width='auto' align='center'>\n<tr>\n
<td align='left'>\n";
include INFUSIONS."deluxe_dropdown_menu/menu.php";
echo "</td>\n</tr>\n
</table>\n";

   // Menu Ends



echo "<table align='center' cellspacing='0' cellpadding='0' width='1000' >
<tr>
<td>\n";
   
   // Content
   echo "<br /><table cellpadding='0' cellspacing='0' width='1000' class='$main_style' align='center'>\n<tr>\n";
   echo "<td class='side-border-left' valign='top' width='19%'>".LEFT."</td>";
   echo "<td class='main-bg' align='center' valign='top' width='80%' style='margin:5px'>".U_CENTER.CONTENT.L_CENTER."</td>";
   echo "<td class='side-border-right' valign='top' width='1%'>".RIGHT."</td>";
   echo "</tr>\n</table>\n";

      echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'></td>
   <td align='center' class='sideb' width='100%'></td>
   <td align='right'></td>
   </tr></table>\n";


   
   //Footer
   echo "</td></tr></table>";
   echo "<center><table cellpadding='0' cellspacing='0' width='1000'height='300' background='".THEME."images/footer_bg.png'>\n<tr>\n";
   echo "<td align='center' class='main-footer' style='color:#fff;'>".stripslashes($settings['footer']);
   <br \><br \>Deze site is mogelijk gemaakt door Magic Media | Tommy Hermans & Joost Antonis<br /><br />Design created by: <a href='http://www.themoviehouse.nl/' target='_blank'>Tommy Hermans</a><br /></a>";
       echo showcounter()."<br /><br />\n"; if (!$license) { echo showcopyright()."<br /><br /></font>\n"; }
   echo "</td>\n";
   echo "</tr>\n</table>\n</center>";

      echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'></td>
   <td align='center' class='sideb' width='100%'></td>
   <td align='right'></td>
   </tr></table>\n";


}

function render_news($subject, $news, $info) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='scapmain-left'></td>\n";
   echo "<td class='scapmain'>".$subject."</td>\n";
   echo "<td class='scapmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
   echo "<td class='main-body middle-border'>".$news."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer middle-border'>\n";
   echo newsposter($info," &middot;").newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
   echo "</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png' class='spacer'></td>
   <td align='center' class='sideb' width='100%'></td>
   <td align='right'><img src='".THEME."/images/sideb-right.png' class='spacer'></td>
   </tr></table>\n";
}

function render_article($subject, $article, $info) {
   
   echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
   echo "<td class='scapmain-left'></td>\n";
   echo "<td class='scapmain'>".$subject."</td>\n";
   echo "<td class='scapmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='100%' cellpadding='0' cellspacing='0'>\n<tr>\n";
   echo "<td class='main-body middle-border'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer'>\n";
   echo articleposter($info," &middot;").articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
   echo "</td>\n</tr>\n</table>\n";
   echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png' class='spacer'></td>
   <td align='center' class='sideb' width='100%'></td>
   <td align='right'><img src='".THEME."/images/sideb-right.png' class='spacer'></td>
   </tr></table>\n";

}

function opentable($title) {

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='scapmain-left'></td>\n";
   echo "<td class='scapmain'>".$title."</td>\n";
   echo "<td class='scapmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='main-body'>\n";

}

function closetable() {

   echo "</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png' class='spacer'></td>
   <td align='center' class='sideb' width='100%'></td>
   <td align='right'><img src='".THEME."/images/sideb-right.png' class='spacer'></td>
   </tr></table>\n";

}

function openside($title, $collapse = false, $state = "on") {

   global $panel_collapse; $panel_collapse = $collapse;
   
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='scapmain-left'></td>\n";
   echo "<td class='scapmain'>$title</td>\n";
   if ($collapse == true) {
      $boxname = str_replace(" ", "", $title);
      echo "<td class='sscapmain' align='right'>".panelbutton($state, $boxname)."</td>\n";
   }
   echo "<td class='scapmain-right'></td>\n";
   echo "</tr>\n</table>\n";
   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='side-body'>\n";   
   if ($collapse == true) { echo panelstate($state, $boxname); }

}

function closeside() {
   
   global $panel_collapse;

   if ($panel_collapse == true) { echo "</div>\n"; }   
   echo "</td>\n</tr>\n</table>\n";
   echo "<table cellspacing='0' cellpadding='0'><tr><td align='left'><img src='".THEME."/images/sideb-left.png' class='spacer'></td>
   <td align='center' class='sideb' width='100%'></td>
   <td align='right'><img src='".THEME."/images/sideb-right.png' class='spacer'></td>
   </tr></table>\n";

}
?>
Beiträge: 191 
http://www.svunionfrintrop.de 
Benutzeravatar

Veteran Mitglied


Paramedic Geschrieben am 03.06.2012 um 16:17
 #2 Beitrag drucken Top
Also ich sehe auf dem ersten Blick keinen Fehler im Übrigen ist es in der Zeile 60 also bei meinem Editor diese Zeile:


echo "<td align='center' class='main-footer' style='color:#fff;'>".stripslashes($settings['footer']);
   <br \><br \>Deze site is mogelijk gemaakt door Magic Media | Tommy Hermans & Joost Antonis<br /><br />Design created by: <a href='http://www.themoviehouse.nl/' target='_blank'>Tommy Hermans</a><br />";
Beiträge: 577 
http://4friends.mod-rescue.de 
Benutzeravatar

Mitglied


bvbfanessen Geschrieben am 03.06.2012 um 16:21
 #3 Beitrag drucken Top
Ich bekomme den Fehler immer dann wenn ich den Code vom Deluxe Dropdownmenü einfüge !!

Hier mal der Code :


echo "<table cellspacing='0' cellpadding='0' border='0' style='padding-top: 3px;' width='auto' align='center'>\n<tr>\n
<td align='left'>\n";
include INFUSIONS."deluxe_dropdown_menu/menu.php";
echo "</td>\n</tr>\n
</table>\n";
Beiträge: 191 
http://www.svunionfrintrop.de 
Benutzeravatar

Veteran Mitglied


Paramedic Geschrieben am 03.06.2012 um 16:34
 #4 Beitrag drucken Top
Hier mal der von meinem CSS Dropdown Menu vllt. anpassen oder so wobei ich bei deinem irgendwie keinen Fehler sehen kann :/


         echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>\n";
         echo "<td class='sub-header-left' align='left'>";
         include INFUSIONS."css_dropdown_menu/menu.php";
         echo "</td>";
         echo "</tr></table>\n";
Beiträge: 577 
http://4friends.mod-rescue.de 
Benutzeravatar

Mitglied


bvbfanessen Geschrieben am 03.06.2012 um 16:42
 #5 Beitrag drucken Top
Hat sich erledigt mit dem Fehler habe das komplett nochmal neu gemacht und siehe da es funktioniert !!
Beiträge: 191 
http://www.svunionfrintrop.de 
Benutzeravatar

Veteran Mitglied


Paramedic Geschrieben am 03.06.2012 um 16:45
 #6 Beitrag drucken Top
Auch nicht schlecht
Beiträge: 577 
http://4friends.mod-rescue.de 
Springe ins Forum:
Anzeige


Anmelden


Registrieren Passwort vergessen

RSS Feeds

Feeds abonieren

Letzte News
Letzte Threads
Anzeige

© Copyright 2024 PHP-Fusion.at | Alle Rechte vorbehalten.

© 2016 Real Space. All rights reserved | Design by W3layouts | 19,330,197 eindeutige Besuche
Powered by PHP-Fusion copyright © 2002 - 2024 by Nick Jones. Released as free software without warranties under GNU Affero GPL v3.