pragmaMx Support Forum

Archive => veraltete bzw. unsupportete Systeme und Module => Alt Archive => PHPNuke 5.2-6.0 & VKP 5.5 => Thema gestartet von: RobzCop am 05 Mai 2002, 12:22:18

Titel: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: RobzCop am 05 Mai 2002, 12:22:18
Hi Leude!

Ich hab da mal ein Problem, ich weiß nicht was ich falsch gemacht hb, aber selbst in den Änderungen, die ich gemacht hab, habe ich nicht zu meinem Problem gefunden. Ich hab seit neuestem ein \">\" oben auf meiner Homepage! Dies ist aber auch nur auf der Startseite und nicht bei den Unterseiten. Hattet ihr das Problem vielleicht auch schon mal? Die URL ist //www.technav.de.

Gruß

RobzCop[Bearbeitet am: 5/5/2002 von RobzCop]
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: Micro am 05 Mai 2002, 12:28:19
Das ist Dein Quelltext dazu.

<body bgcolor="#ffffff" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<table cellpadding="0" cellspacing="0" width="100%" border="0" bgcolor="#6487dc">

Und nun sieh mal genau hin, ><!doctype .... etc.

Dort liegt das Problem. Sollte sich irgendwo in der header.php befinden das Problem.

Mirko


[Bearbeitet am: 5/5/2002 von Micro]
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: RobzCop am 05 Mai 2002, 12:37:18
Da ist aber nichts:

<?php

/************************************************************************/
/* PHP-NUKE: Advanced Content Management System                         */
/* ============================================                         */
/*                                                                      */
/* Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com)         */
/* http://phpnuke.org                                                   */
/*                                                                      */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License.       */
/************************************************************************/

if (eregi("header.php",$PHP_SELF)) {
    Header("Location: index.php");
    die();
}

require_once("mainfile.php");

##################################################
# Include some common header for HTML generation #
##################################################

$header = 1;

function head() {
    global $slogan, $sitename, $banners, $bannersfsz, $Default_Theme, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle;
    if(is_user($user)) {
   $user2 = base64_decode($user);
   $cookie = explode(":", $user2);
   if($cookie[9]=="") $cookie[9]=$Default_Theme;
   if(isset($theme)) $cookie[9]=$theme;
   if(!$file=@opendir("themes/$cookie[9]")) {
       $ThemeSel = $Default_Theme;
   } else {
       $ThemeSel = $cookie[9];
   }
    } else {
   $ThemeSel = $Default_Theme;
    }
    include("themes/$ThemeSel/theme.php");
    echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
    echo "<html>\n";
    echo "<head>\n";
    echo "<title>$sitename $pagetitle</title>\n";

    include("includes/meta.php");
    include("includes/javascript.php");
   
    echo "<LINK REL=\"StyleSheet\" HREF=\"themes/$ThemeSel/style/style.css\" TYPE=\"text/css\">\n\n\n";
    include("includes/my_header.php");
    echo "\n\n\n</head>\n\n";
    themeheader();
}

head();
include("includes/counter.php");
global $home;
if ($home == 1) {
    message_box();
    blocks(Center);
}
online();

?>

Gruß

RobzCop
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: Micro am 05 Mai 2002, 12:41:12
Doch, da ist schon eine kleine Anzeige.

include("themes/$ThemeSel/theme.php");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
echo "<html>\n";
echo "<head>\n";
echo "<title>$sitename $pagetitle</title>\n";

Da ist nen include Themes ,o)

Wird wohl ein fehler im Thema sein wie es aussieht.
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: RobzCop am 05 Mai 2002, 12:59:11
Aber dann wär das ganze doch auf allen Seiten und nicht nur in der index.php?!?
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: RobzCop am 05 Mai 2002, 13:43:29
In der Themes datei finde ich auch keine Fehler?

<?php

/************************************************************/
/* Theme Name: Somara-XP (v1.1)                             */
/* Theme Developer: Somara Sem (http://www.pixelmayhem.com) */
/* 09/06/2001                                               */
/*                                                          */
/************************************************************/

/************************************************************/
/* Changes                                                  */
/*                                                          */
/* 11/06/2001 - Fixed the Story and Sidebox tables so it    */
/*              displays properly in Netscape.              */
/*              Added "styleNN.css" to make it compatible   */
/*              with PostNuke 0.6.x and Netscape.           */
/*              Added extra space for date.                 */
/************************************************************/

/************************************************************/
/* Theme Colors Definition                                  */
/*                                                          */
/* Define colors for your web site. $bgcolor2 is generaly   */
/* used for the tables border as you can see on OpenTable() */
/* function, $bgcolor1 is for the table background and the  */
/* other two bgcolor variables follows the same criteria.   */
/* $texcolor1 and 2 are for tables internal texts           */
/************************************************************/

$bgcolor1 = "#D6DFF7";
$bgcolor2 = "#6487dc";
$bgcolor3 = "#D6DFF7";
$bgcolor4 = "#6487dc";
$textcolor1 = "#000000";
$textcolor2 = "#000000";

/************************************************************/
/* OpenTable Functions                                      */
/*                                                          */
/* Define the tables look&feel for you whole site. For this */
/* we have two options: OpenTable and OpenTable2 functions. */
/* Then we have CloseTable and CloseTable2 function to      */
/* properly close our tables. The difference is that        */
/* OpenTable has a 100% width and OpenTable2 has a width    */
/* according with the table content                         */
/************************************************************/

function OpenTable() {
    global $bgcolor1, $bgcolor2;
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\"><tr><td>\n";
    echo "<table width=\"100%\" border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTable() {
    echo "</td></tr></table></td></tr></table>\n";
}

function OpenTable2() {
    global $bgcolor1, $bgcolor2;
    echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"0\" bgcolor=\"$bgcolor2\" align=\"center\"><tr><td>\n";
    echo "<table border=\"0\" cellspacing=\"1\" cellpadding=\"8\" bgcolor=\"$bgcolor1\"><tr><td>\n";
}

function CloseTable2() {
    echo "</td></tr></table></td></tr></table>\n";
}

/************************************************************/
/* FormatStory                                              */
/*                                                          */
/* Here we'll format the look of the stories in our site.   */
/* If you dig a little on the function you will notice that */
/* we set different stuff for anonymous, admin and users    */
/* when displaying the story.                               */
/************************************************************/

function FormatStory($thetext, $notes, $aid, $informant) {
    global $anonymous;
    if ($notes != "") {
   $notes = "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
   $notes = "";
    }
    if ("$aid" == "$informant") {
   echo "<font class=\"content\" color=\"#505050\">$thetext$notes</font>\n";
    } else {
   if($informant != "") {
       $boxstuff = "<a href=\"user.php?op=userinfo&uname=$informant\">$informant</a> ";
   } else {
       $boxstuff = "$anonymous ";
   }
   $boxstuff .= "".translate("writes")." <i>\"$thetext\"</i>$notes\n";
   echo "<font class=\"content\" color=\"#505050\">$boxstuff</font>\n";
    }
}

/************************************************************/
/* Function themeheader()                                   */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

function themeheader() {
    global $user, $banners, $sitename, $slogan, $cookie, $prefix;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#ffffff\" topmargin=\"0\" leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\">\n\n";
    if ($banners) {
   include("banners.php");
    }
    echo "<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" bgcolor=\"#6487dc\">\n"
   ."<tr>\n"
   ."<td bgcolor=\"#6487dc\" align=\"left\" valign=\"top\" width=\"65%\"><a href=\"index.php\"><img src=\"themes/Somara-XP/images/logo.jpg\" align=\"left\" alt=\""._WELCOMETO." $sitename\" border=\"0\"></a></td>\n"
   ."<form action=\"search.php\" method=\"post\">\n"
   ."<td bgcolor=\"#6487dc\" align=\"right\" valign=\"top\">\n"
   ."<font class=\"content\" color=\"#000000\"><b>".translate("Suchen")." </b>\n"
   ."<input type=\"text\" name=\"query\" size=\"14\"></font></td></form>\n"
   ."<form action=\"search.php\" method=\"get\"><font class=\"content\">\n"
   ."<td bgcolor=\"#6487dc\" align=\"right\" valign=\"top\">\n"
   ."<b>".translate("Themen")." </b>\n";
    $toplist = mysql_query("select topicid, topictext from $prefix"._topics." order by topictext");
    echo "<select name=\"topic\"onChange='submit()'>\n"
   ."<option value=\"\">".translate("Alle Themen")."</option>\n";
    while(list($topicid, $topics) = mysql_fetch_row($toplist)) {
    if ($topicid==$topic) { $sel = "selected "; }
   echo "<option $sel value=\"$topicid\">$topics</option>\n";
   $sel = "";
    }
    echo "</select></font></td></form>\n"
   ."</tr></table>\n"
   ."<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" align=\"center\" bgcolor=\"#F3F4F7\">\n"
        ."<tr>\n"
        ."<td bgcolor=\"#ffffff\" colspan=\"4\"><IMG src=\"themes/Somara-XP/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
        ."</tr>\n"
   ."<tr valign=\"middle\" bgcolor=\"#EAE7D1\">\n"
    ."<td align=\"left\" valign=\"top\" width=\"8\" height=\"22\"><img src=\"themes/Somara-XP/images/topnav-left.gif\"></td>\n"
   ."<td width=\"15%\" background=\"themes/Somara-XP/images/topnav-bg.gif\" nowrap><font class=\"content\" color=\"#363636\">\n";
    if ($username == "Anonymous") {
   echo "  <font color=\"#ffffff\"><a href=\"modules.php?name=Your_Account&op=new_user\">Registriere</a></font> dich jetzt\n";
    } else {
   echo "  Willkommen $username! <a href=\"modules.php?name=Your_Account&op=logout\">{logout}</a>";
    }
    echo "</font></td>\n"
   ."<td align=\"center\" height=\"20\" width=\"65%\" background=\"themes/Somara-XP/images/topnav-bg.gif\"><font class=\"content\">\n"
   ."<A href=\"/\">Home</a>\n"
   ." · \n"
        ."<A href=\"modules.php?name=Topics\">Themen</a>\n"
        ." · \n"
        ."<A href=\"modules.php?name=Downloads\">Downloads</a>\n"
        ." · \n"
        ."<A href=\"modules.php?name=Your_Account\">Dein Account</a>\n"
        ." · \n"
        ."<A href=\"modules.php?name=Top\">Top 10</a>\n"
        ."</font>\n"
        ."</td>\n"
        ."<td align=\"left\" valign=\"top\" width=\"8\" height=\"22\"><img src=\"themes/Somara-XP/images/topnav-left.gif\"></td>\n"
        ."<td align=\"right\" width=\"150\" background=\"themes/Somara-XP/images/topnav-bg.gif\"><font class=\"content\">\n"
        ."<script type=\"text/javascript\">\n\n"
        ."<!--   // Array ofmonth Names\n"
        ."var monthNames = new Array( \"Januar\",\"Februar\",\"März\",\"April\",\"Mai\",\"Juni\",\"Juli\",\"August\",\"September\",\"Oktober\",\"November\",\"Dezember\");\n"
        ."var now = new Date();\n"
        ."thisYear = now.getYear();\n"
        ."if(thisYear < 1900) {thisYear += 1900}; // corrections if Y2K display problem\n"
        ."document.write(now.getDate()+ \". \" + monthNames[now.getMonth()] + \" \" + thisYear);\n"
        ."// -->\n\n"
        ."</script></font> </td>\n"
        ."</tr>\n"
        ."<tr>\n"
        ."<td bgcolor=\"#EAE7D1\" colspan=\"5\"><IMG src=\"themes/Somara-XP/images/pixel.gif\" width=\"1\" height=\"3\" alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
        ."</tr>\n"
        ."<tr>\n"
        ."<td bgcolor=\"#ACA899\" colspan=\"5\"><IMG src=\"themes/Somara-XP/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
        ."</tr>\n"
        ."<tr>\n"
        ."<td bgcolor=\"#716F64\" colspan=\"5\"><IMG src=\"themes/Somara-XP/images/pixel.gif\" width=\"1\" height=\"1\" alt=\"\" border=\"0\" hspace=\"0\"></td>\n"
        ."</tr>\n"
        ."</table>\n"
   ."<!----- Begin Main Content Table ----->\n"
   ."<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#ffffff\" align=\"center\"><tr valign=\"top\">\n"
   ."<td bgcolor=\"#6487dc\"><img src=\"themes/Somara-XP/images/pixel.gif\" width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
   ."<td bgcolor=\"#6487dc\" width=\"175\" valign=\"top\">\n";
    blocks(left);
    echo "</td><td bgcolor=\"#6487dc\"><img src=\"themes/Somara-XP/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
        ."<td bgcolor=\"#ffffff\"><img src=\"themes/Somara-XP/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td>\n"
        ."<td width=\"100%\">\n";
}

/************************************************************/
/* Function themefooter()                                   */
/*                                                          */
/* Control the footer for your site. You don't need to      */
/* close BODY and HTML tags at the end. In some part call   */
/* the function for right blocks with: blocks(right);       */
/* Also, $index variable need to be global and is used to   */
/* determine if the page your're viewing is the Homepage or */
/* and internal one.                                        */
/************************************************************/

function themefooter() {
    global $index;
    if ($index == 1) {
   echo "</td><td><img src=\"themes/Somara-XP/images/pixel.gif\" width=\"15\" height=\"1\" border=\"0\" alt=\"\"></td><td valign=\"top\" width=\"150\">\n";
   blocks(right);
    }
    echo "</td><td bgcolor=\"#ffffff\"><img src=\"themes/Somara-XP/images/pixel.gif\" width=10 height=1 border=0 alt=\"\">\n"
   ."</td></tr></table>\n"
        ."<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" bgcolor=\"#ffffff\" align=\"center\">\n"
        ."<tr align=\"center\">\n"
        ."<td width=\"100%\" colspan=\"3\">\n";
    footmsg();
    echo "</td>\n"
        ."</tr></table>\n";
}

/************************************************************/
/* Function themeindex()                                    */
/*                                                          */
/* This function format the stories on the Homepage         */
/************************************************************/

function themeindex ($aid, $informant, $time, $title, $counter, $topic, $thetext, $notes, $morelink, $topicname, $topicimage, $topictext) {
    global $anonymous, $tipath;
    echo "<br><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#ffffff\" width=\"100%\">\n"
    ."<tr>\n"
    ."<td>\n"

   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n"
   ."<tr>\n"
   ."<td align=\"left\" valign=\"top\" width=\"26\" height=\"30\"><img src=\"themes/Somara-XP/images/sidebox-title-left.gif\"></td>\n"
   ."<td align=\"left\" valign=\"middle\" background=\"themes/Somara-XP/images/sidebox-title-bg.gif\" width=\"100%\" height=\"30\">\n"
   ."<font class=\"option\" color=\"#363636\">  <b>$title</b></font>\n"
   ."</td>\n"
   ."<td align=\"left\" valign=\"top\" width=\"6\" height=\"30\"><img src=\"themes/Somara-XP/images/sidebox-title-right.gif\"></td>\n"
   ."</tr>\n"
   ."</table>\n"

   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n"
   ."<tr>\n"
   ."<td>\n"

   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n"
   ."<tr>\n"
   ."<td align=\"left\" valign=\"top\" width=\"15\" height=\"46\"><img src=\"themes/Somara-XP/images/storybox-left.gif\"></td>\n"
   ."<td align=\"left\" valign=\"middle\" background=\"themes/Somara-XP/images/storybox-bg.gif\" width=\"100%\" height=\"46\">\n"
   ."<font color=\"#999999\" size=\"1\">"._POSTEDBY." ";
    formatAidHeader($aid);
    echo " "._ON." $time $timezone ($counter "._READS.")</font>\n"
   ."<font color=\"#999999\">$morelink</font>\n"
   ."</td>\n"
    ."<td width=\"12\" align=\"left\" valign=\"top\"><img src=\"themes/Somara-XP/images/storybox-right.gif\"></td>\n"
   ."</tr>\n"
   ."</table>\n"

   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n"
   ."<tr>\n"
   ."<td width=\"4\" align=\"left\" valign=\"top\" background=\"themes/Somara-XP/images/sidebox-bar-left.gif\"><img src=\"themes/Somara-XP/images/sidebox-bar-px.gif\"></td>\n"
   ."<td>\n"

   ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"100%\">\n"
   ."<tr valign=\"top\">\n"
   ."<td width=\"800\">\n"
   ."<font color=\"#999999\"><b><a href=\"search.php?query=&topic=$topic\"><img src=\"$tipath$topicimage\" border=\"0\" Alt=\"$topictext\" align=\"right\" hspace=\"10\" vspace=\"10\"></a></B></font>\n";
    FormatStory($thetext, $notes, $aid, $informant);
    echo "</td></tr></table>\n"
    ."</td>\n"
    ."<td width=\"13\" align=\"left\" valign=\"top\" background=\"themes/Somara-XP/images/storybox-content-right.gif\"><img src=\"themes/Somara-XP/images/storybox-content-right-px.gif\"></td>\n"
    ."</tr></table>\n"

   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n"
   ."<tr valign=\"top\">\n"
   ."<td width=\"9\" height=\"29\" align=\"left\" valign=\"top\"><img src=\"themes/Somara-XP/images/storybox-bottom-left.gif\"></td>\n"
   ."<td width=\"100%\" height=\"29\" background=\"themes/Somara-XP/images/storybox-bottom-bg.gif\"> </td>\n"
   ."<td width=\"18\" height=\"29\" align=\"left\" valign=\"top\"><img src=\"themes/Somara-XP/images/storybox-bottom-right.gif\"></td>\n"
    ."</table>\n"

    ."</td></tr></table>\n"

    ."</td></tr></table>\n";
}

/************************************************************/
/* Function themeindex()                                    */
/*                                                          */
/* This function format the stories on the story page, when */
/* you click on that "Read More..." link in the home        */
/************************************************************/

function themearticle ($aid, $informant, $datetime, $title, $thetext, $topic, $topicname, $topicimage, $topictext) {
    global $admin, $sid, $tipath;
    echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#ffffff\" width=\"100%\"><tr><td>\n"
        ."<table border=\"0\" cellpadding=\"1\" cellspacing=\"0\" bgcolor=\"#000000\" width=\"100%\"><tr><td>\n"
        ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" bgcolor=\"#6487dc\" width=\"100%\"><tr><td align=\"left\">\n"
        ."<font class=\"option\" color=\"#363636\"><b>$title</b></font><br>\n"
        ."<font class=\"content\">"._POSTEDON." $datetime "._BY." ";
    formatAidHeader($aid);
    if (is_admin($admin)) {
   echo "<br>[ <a href=\"admin.php?op=EditStory&sid=$sid\">"._EDIT."</a> | <a href=\"admin.php?op=RemoveStory&sid=$sid\">"._DELETE."</a> ]\n";
    }
    echo "</td></tr></table></td></tr></table><br>";
    echo "<a href=\"search.php?query=&topic=$topic\"><img src=\"$tipath$topicimage\" border=\"0\" Alt=\"$topictext\" align=\"right\" hspace=\"10\" vspace=\"10\"></a>\n";
    FormatStory($thetext, $notes="", $aid, $informant);
    echo "</td></tr></table><br>\n\n\n";
}

/************************************************************/
/* Function themesidebox()                                  */
/*                                                          */
/* Control look of your blocks. Just simple.                */
/************************************************************/

function themesidebox($title, $content) {
    echo "<br><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"175\"><tr><td>\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"100%\">\n"
   ."<tr>\n"
   ."<td align=\"left\" valign=\"top\" width=\"26\" height=\"30\"><img src=\"themes/Somara-XP/images/sidebox-title-left.gif\"></td>\n"
   ."<td align=\"left\" valign=\"middle\" background=\"themes/Somara-XP/images/sidebox-title-bg.gif\" width=\"143\" height=\"30\">\n"
   ."<font class=\"option\" color=\"#ffffff\">  <b>$title</b></font></td>\n"
   ."<td align=\"left\" valign=\"top\" width=\"6\" height=\"30\"><img src=\"themes/Somara-XP/images/sidebox-title-right.gif\"></td>\n"
   ."</tr>\n"
   ."</table>\n"
   ."</td>\n"
   ."</tr>\n"
   ."</table>\n\n"
   ."<!----- Side Box Content ----->\n"
   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"175\">\n"
   ."<tr valign=\"top\">\n"
   ."<td width=\"4\" align=\"left\" valign=\"top\" background=\"themes/Somara-XP/images/sidebox-bar-left.gif\"><img src=\"themes/Somara-XP/images/sidebox-bar-px.gif\"></td>\n"

   ."<td bgcolor=\"#D6DFF7\" width=\"166\" align=\"left\" valign=\"top\">\n"
   ."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"167\">\n"
   ."<tr>\n"
   ."<td>\n"
   ."$content\n"
   ."</td>\n"
   ."</tr>\n"
   ."</table>\n"
   ."</td>\n"
    ."<td width=\"4\" align=\"left\" valign=\"top\" background=\"themes/Somara-XP/images/sidebox-bar-right.gif\"><img src=\"themes/Somara-XP/images/sidebox-bar-px.gif\"></td>\n"
   ."</tr></table>\n"

   ."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"175\">\n"
   ."<tr>\n"
   ."<td align=\"left\" valign=\"top\" width=\"175\" height=\"29\">\n"
   ."<img src=\"themes/Somara-XP/images/sidebox-bottom.gif\">\n"
   ."</td>\n"
   ."</tr>\n"
   ."</table>\n\n\n";
}

?>

Kann mir keiner helfen?
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: Maxx am 05 Mai 2002, 13:55:17
Hiho RobzCop

steht bei Dir in der html/include/my_header.php

irgendwas drin?
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: am 05 Mai 2002, 13:59:32
ne da steht nichts drin
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: Robert1968 am 05 Mai 2002, 14:03:23
hmm...
 hast Du mal mit denn Banners im Adminmenü rumgespielt vielleicht hast Du dort nen Codeschnipsel vergessen! Sieht nämlich ziemlich nach der Stelle vom Standardbanner (Nuke)aus!
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: am 05 Mai 2002, 14:09:37
Nein hab ich nicht! Und find ich auch nichts! Gibt es nicht die Möglichkeit irgendwie das Ding zu öffnen, was steht denn vor dem header.php in  phpnuke?
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: Maxx am 05 Mai 2002, 14:16:09
Hast Du in der Counter Box bei den Einstellungen (Config.php)noch ein > stehengelassen?
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: jogi24 am 05 Mai 2002, 14:25:57
ZitatDas ist Dein Quelltext dazu.

<body bgcolor="#ffffff" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<table cellpadding="0" cellspacing="0" width="100%" border="0" bgcolor="#6487dc">

Und nun sieh mal genau hin, ><!doctype .... etc.

Dort liegt das Problem. Sollte sich irgendwo in der header.php befinden das Problem.

Mirko


[Bearbeitet am: 5/5/2002 von Micro]

<body bgcolor="#ffffff" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<table cellpadding="0" cellspacing="0" width="100%" border="0" bgcolor="#6487dc">


augen auf im nuke-system

vergleiche doch mal diese beiden ausschnitte.

wenn du jetzt nicht den fehler findest, ist der weg zum augenarzt angesagt ;)
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: Maxx am 05 Mai 2002, 14:29:56
HÄ?
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: am 05 Mai 2002, 14:30:03
Ach ne!

Erstens zeigt bei mir der Browser diese Zeile im Quelltext-Fenster garnet an:
<body bgcolor="#ffffff" topmargin="0" leftmargin="0" marginheight="0" marginwidth="0">

und Zweitens ist das die Ausgabe des Browsers und nun seh dir noch mal meine header.php an und sag mir wo da der fehler ist?!?

Gruß

RObzCop
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: jogi24 am 05 Mai 2002, 15:07:14
hi
meine antwort bezog sich auf die antwort von micro in diesem thread.

welche themes benutzt du genau.

wenn du nicht weiter kommst, schicke mir doch einfach mal deine themes, welche  diesen fehler aufweist,
werde sie dann einmal testen
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: jogi24 am 05 Mai 2002, 15:35:12
hi
habe deine seite besucht.

die themes die du verwendest, ist geändert worden.
das obere banner ist deaktiviert,
deine hier gepostete themes.php ist nicht die welche auf deiner webspace liegt.

um den banner zu aktivieren sind eingriffe in diesem bereich notwendig.

/************************************************************/
/* Function themeheader()                                   */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

function themeheader() {
    global $user, $banners, $sitename, $slogan, $cookie, $prefix;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#ffffff\" topmargin=\"0\" leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\">\n\n";
    if ($banners) {
   include("banners.php");
    }
    echo "<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" bgcolor=\"#6487dc\">\n"

die änderung ohne banner


/************************************************************/
/* Function themeheader()                                   */
/*                                                          */
/* Control the header for your site. You need to define the */
/* BODY tag and in some part of the code call the blocks    */
/* function for left side with: blocks(left);               */
/************************************************************/

function themeheader() {
    global $user, $banners, $sitename, $slogan, $cookie, $prefix;
    cookiedecode($user);
    $username = $cookie[1];
    if ($username == "") {
        $username = "Anonymous";
    }
    echo "<body bgcolor=\"#ffffff\" topmargin=\"0\" leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\">\n\n";
    #if ($banners) {
   #include("banners.php");
   # }
    echo "<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" border=\"0\" bgcolor=\"#6487dc\">\n"

vergleiche doch nochmals deine php.
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: am 05 Mai 2002, 16:15:59
Ich hab meine theme.php jetzt durch deine ersetzt aber wie du vielleicht siehst hat sich noch immer nichts verändert!
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: Andi am 05 Mai 2002, 16:22:51
Hi,
2 Sachen die mir auffallen:

1. Hört sich vielleicht doof an, aber in Deinem Sitenamen kommt <?> und <!> vor :o
<? ist normalerweise ein einleitender Tag für einen Script. Vielleicht kommt da irgendwas durcheinander  :puzz

2. Der Fehler kommt auf allen Seiten in denen das Modul "News" aufgerufen wird. Versuche mal dieses Modul neu zu installieren. ;)
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: Micro am 05 Mai 2002, 17:04:45
So, beim genauen Hinsehen entdecke ich einen kleinen Fehler in der themes.php





Und nochmals gaaanz genau hingesehen .. ups .. da hab ich mich nun in die Irre leiten lassen. Das stimmte vorher ;o)
*autsch*



[Bearbeitet am: 5/5/2002 von Micro]

[Bearbeitet am: 5/5/2002 von Micro]
Titel: Re: Hab ein > auf der Page und bekomm es nicht weg?!?
Beitrag von: RobzCop am 05 Mai 2002, 17:12:33
Danke an euch alle, jetzt ist wieder alles beim alten, Andi hatte recht bei der Überstzung einer Zeilen in der lang-german.dph vom Modul News ist mir wohl ein Fehler unterlaufen, naja, was solls, vielen Dank ihr habt einen super Support!

Bis bal

RobzCop