Fahrtenbuch genial!
-


Hinweise


Antwort
 
LinkBack Themen-Optionen Thema durchsuchen Thema bewerten
Alt 15.01.2005, 19:02   #1
TP-Member
 
Registriert seit: Oct 2004
BananaMoe macht alles soweit korrekt

Brauche hilfe bei HTML


das mal anschauen!!
So soll es mal anschauen
So schaut es aus

Der Text dazu.
------------------------------------------------------------------------
<table border=\"0\" align=\"center\" cellpadding=\"0\" width=\"900\" cellspacing=\"0\" bgcolor=\"4F4E4E\">
<tr>
<td>
<TABLE WIDTH=\"900\" BORDER=0 CELLPADDING=0 CELLSPACING=0 align=\"center\" >
<TR>
<td rowspan=4>
<IMG SRC=\"themes/LowTech/images/head12_01.gif\" WIDTH=247 HEIGHT=250 ALT=\"\"></TD>
<td colspan=5>
<IMG SRC=\"themes/LowTech/images/head12_02.gif\" WIDTH=653 HEIGHT=172 ALT=\"\"></TD>

</TR>

<TR>
<td colspan=4>
<IMG SRC=\"themes/LowTech/images/head12_03.gif\" WIDTH=500 HEIGHT=41 ALT=\"\"></TD>
<td rowspan=3>
<IMG SRC=\"themes/LowTech/images/head12_04.gif\" WIDTH=153 HEIGHT=78 ALT=\"\"></TD>


</TR>
<TR>

<TD>
<a href=\"index.php\"><IMG SRC=\"themes/LowTech/images/head12_05.gif\" WIDTH=107 HEIGHT=35 BORDER=0 ALT=\"\"></a></TD>
<TD>
<a href=\"http://www.sp-clan-forum.de.ki\" target=\"_blank\"><IMG SRC=\"themes/LowTech/images/head12_06.gif\" WIDTH=120 HEIGHT=35 BORDER=0 ALT=\"\"></a></TD>
<TD>
<a href=\"modules.php?name=Links\"><IMG SRC=\"themes/LowTech/images/head12_07.gif\" WIDTH=107 HEIGHT=35 BORDER=0 ALT=\"\"></a></TD>
<TD>
<a href=\"modules.php?name=Your_Account\"><IMG SRC=\"themes/LowTech/images/head12_08.gif\" WIDTH=166 HEIGHT=35 BORDER=0 ALT=\"\"></a></TD>
</TR>


</TABLE>

<table width=\"900\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr>
<td width=\"150\" valign=\"top\">
---------------------------------------------------------
was muss ich machen das ich es so hinbekomme wie oben.

Geändert von BananaMoe (16.01.2005 um 12:51 Uhr).
BananaMoe ist offline   Mit Zitat antworten


Alt 15.01.2005, 19:06   #2
TP-Moderator
 
Benutzerbild von hero-master
 
Registriert seit: Mar 2003
Ort: Hamburg
hero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKE
\" benutzt man doch normalerweise für PHP, warum nimmst du das fü HTML und wo ist der <body> und <html>-Tag?
__________________
Grüße Nico

Meine kleinen CSS-Tutorials
hero-master ist offline   Mit Zitat antworten
Alt 15.01.2005, 19:14   #3
TP-Member
 
Registriert seit: Jan 2005
Chris263 macht alles soweit korrekt
Zitat:
Zitat von hero-master
\" benutzt man doch normalerweise für PHP, warum nimmst du das fü HTML und wo ist der <body> und <html>-Tag?

*zustimmÜ

de Backslash's müssen raus. Und die seite sollte dann in den html code geschlossen werden

<html>
<head><title>T I T E L </title></head>
<body>

deine tabellenkonstruktion


</body>
</html>
Chris263 ist offline   Mit Zitat antworten
Alt 15.01.2005, 19:15   #4
TP-Member
 
Registriert seit: Oct 2004
BananaMoe macht alles soweit korrekt
das soll ein banner skin sein für phpnuke
mir geht es nur um die anordnung
BananaMoe ist offline   Mit Zitat antworten
Alt 15.01.2005, 19:30   #5
TP-Moderator
 
Benutzerbild von hero-master
 
Registriert seit: Mar 2003
Ort: Hamburg
hero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKE
Zitat:
Zitat von BananaMoe
das soll ein banner skin sein für phpnuke
mir geht es nur um die anordnung
Sag das doch in deinem recht kurzem Anfangspost
Den einzigen Unterschied, den ich erkennen kann ist die Hintergrundfarbe, die mit bgcolor definiert wird
__________________
Grüße Nico

Meine kleinen CSS-Tutorials
hero-master ist offline   Mit Zitat antworten
Alt 15.01.2005, 20:07   #6
TP-Member
 
Registriert seit: Oct 2004
BananaMoe macht alles soweit korrekt
nein beim ersten sind die kleinsen fenster in der "mitte"
und beim zweiten sind sie unten.
Ich will die fenster in die mitte bekommen.
BananaMoe ist offline   Mit Zitat antworten
Alt 15.01.2005, 20:27   #7
TP-Moderator
 
Benutzerbild von hero-master
 
Registriert seit: Mar 2003
Ort: Hamburg
hero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKE
HTML-Code:
<table border=\"0\" align=\"center\" cellpadding=\"0\" width=\"900\" cellspacing=\"0\" bgcolor=\"4F4E4E\">
  <tr>
    <td>
<TABLE WIDTH=\"900\" BORDER=0 CELLPADDING=0 CELLSPACING=0 align=\"center\" >
	<TR>
		<td rowspan=4>
			<IMG SRC=\"themes/LowTech/images/head12_01.gif\" WIDTH=247 HEIGHT=250 ALT=\"\"></TD>
            <td colspan=5>
			<IMG SRC=\"themes/LowTech/images/head12_02.gif\" WIDTH=653 HEIGHT=172 ALT=\"\"></TD>

	</TR>
	<TR>

		
		<TD>
			<a href=\"index.php\"><IMG SRC=\"themes/LowTech/images/head12_05.gif\" WIDTH=107 HEIGHT=35 BORDER=0 ALT=\"\"></a></TD>
		<TD>
			<a href=\"http://www.sp-clan-forum.de.ki\" target=\"_blank\"><IMG SRC=\"themes/LowTech/images/head12_06.gif\" WIDTH=120 HEIGHT=35 BORDER=0 ALT=\"\"></a></TD>
		<TD>
			<a href=\"modules.php?name=Links\"><IMG SRC=\"themes/LowTech/images/head12_07.gif\" WIDTH=107 HEIGHT=35 BORDER=0 ALT=\"\"></a></TD>
		<TD>
			<a href=\"modules.php?name=Your_Account\"><IMG SRC=\"themes/LowTech/images/head12_08.gif\" WIDTH=166 HEIGHT=35 BORDER=0 ALT=\"\"></a></TD>
	</TR>
	<TR>
		<td colspan=4>
			<IMG SRC=\"themes/LowTech/images/head12_03.gif\" WIDTH=500 HEIGHT=41 ALT=\"\"></TD>
		<td rowspan=3>
			<IMG SRC=\"themes/LowTech/images/head12_04.gif\" WIDTH=153 HEIGHT=78 ALT=\"\"></TD>


	</TR>
</TABLE>

<table width=\"900\" cellpadding=\"0\" cellspacing=\"0\" border=\"0\" align=\"center\"><tr>
<td width=\"150\" valign=\"top\">
So?
Einfach die beiden Zeeilen (TRs) vertauschen
__________________
Grüße Nico

Meine kleinen CSS-Tutorials
hero-master ist offline   Mit Zitat antworten
Alt 15.01.2005, 21:08   #8
TP-Member
 
Registriert seit: Oct 2004
BananaMoe macht alles soweit korrekt
ja aber jetzt sind die bilder auf ihrgend einer stelle.
BananaMoe ist offline   Mit Zitat antworten
Alt 15.01.2005, 23:29   #9
TP-Member
 
Registriert seit: Oct 2004
BananaMoe macht alles soweit korrekt
Ah ich bin ein Bimbo habe ein *.gif vergessen.
Aber kann mir jetzt jemand sage wieso das jetzt blau ist??
???BLAU???
BananaMoe ist offline   Mit Zitat antworten
Alt 16.01.2005, 09:58   #10
TP-Moderator
 
Benutzerbild von hero-master
 
Registriert seit: Mar 2003
Ort: Hamburg
hero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKE
Zitat:
Zitat von BananaMoe
Aber kann mir jetzt jemand sage wieso das jetzt blau ist??
???BLAU???
Da die Bilder verlinkt wurden, werden sie auch als Link angesehen und mit disen Eigenschaften ausgestattet (von a:link).
Setz mal ein border=\"0\" in den IMG-Tag:
<img src..... border\"0\"></a> beispielsweise
__________________
Grüße Nico

Meine kleinen CSS-Tutorials
hero-master ist offline   Mit Zitat antworten
Alt 16.01.2005, 12:44   #11
TP-Member
 
Registriert seit: Oct 2004
BananaMoe macht alles soweit korrekt
danke danke danke
BananaMoe ist offline   Mit Zitat antworten
Alt 16.01.2005, 12:55   #12
TP-Member
 
Registriert seit: Oct 2004
BananaMoe macht alles soweit korrekt
hmmm habe jetzt es raufgeladen aber jetzt kommt kein banner es steht nur.
Parse error: parse error, unexpected T_STRING in /usr/export/www/vhosts/funnetwork/hosting/aaospclanhp/sp-hp/themes/LowTech/theme.php(92) : eval()'d code on line 7

hir ein bild von der fehler meldung

Ich glaub ich muss die mase im theme.php umschreiben oder ??
BananaMoe ist offline   Mit Zitat antworten
Alt 16.01.2005, 15:25   #13
TP-Moderator
 
Benutzerbild von hero-master
 
Registriert seit: Mar 2003
Ort: Hamburg
hero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKEhero-master ist ein richtiges Arbeitstier - DANKE
Nach dem Fehler zu urteilen, ist es ein Fehler in dem PHP-Script. Wie sieht denn das Script aus, speziell Zeile 92?
__________________
Grüße Nico

Meine kleinen CSS-Tutorials
hero-master ist offline   Mit Zitat antworten
Alt 16.01.2005, 15:54   #14
TP-Member
 
Registriert seit: Oct 2004
BananaMoe macht alles soweit korrekt
zeile 92
eval($thefile);

PHP-Code:
<?php

$bgcolor1 
"#000000";
$bgcolor2 "#111111";
$bgcolor3 "#222222";
$bgcolor4 "#333333";
$textcolor1 "#FFFFFF";
$textcolor2 "#4E4D4D";

function 
OpenTable() {
    global 
$tableStatus;
if (
$tableStatus != "open"){
    
?>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR><TD><IMG SRC="themes/LowTech/images/table_01.gif" WIDTH=51 HEIGHT=63 ALT=""></TD>
<TD width="100%" background="themes/LowTech/images/table_02.gif"></TD>
<TD><IMG SRC="themes/LowTech/images/table_03.gif" WIDTH=46 HEIGHT=63 ALT=""></TD>
</TR><TR><TD height="100%" background="themes/LowTech/images/table_04.gif"></TD>
<TD background="themes/LowTech/images/table_05.gif">
<?

$tableStatus 
"open";

}
else {}
}

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

function 
CloseTable() {
    global 
$tableStatus;
if (
$tableStatus == "open"){
    
?>
    </TD>
    <TD height="100%" background="themes/LowTech/images/table_06.gif"></TD>
    </TR><TR><TD><IMG SRC="themes/LowTech/images/table_07.gif" WIDTH=51 HEIGHT=51 ALT=""></TD>
    <TD width="100%" background="themes/LowTech/images/table_08.gif"></TD>
    <TD><IMG SRC="themes/LowTech/images/table_09.gif" WIDTH=46 HEIGHT=51 ALT=""></TD>
    </TR></TABLE>
<?

$tableStatus 
"closed";
}
else {}
}

function 
CloseTable2() {
    echo 
"</td></tr></table></td></tr></table>\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$dbi;
    
cookiedecode($user);
    
$username $cookie[1];
    if (
$username == "") {
        
$username "Anonymous";
    }
    echo 
"<body onmouseover=\"window.status=' $sitename - $slogan - Make by !!!IKE!!! and !!!STARVIN_MARVIN!!! ';return true\" bgcolor=\"4F4E4E\"  text=\"#FFFFFF\" link=\"#FFFFFF\" vlink=\"#FFFFFF\" alink=\"#FFFFFF\">";
    if (
$banners == 1) {
        include(
"banners.php");
    }
    
$topics_list "<select style=\"width: 100px; height: 15px; border-width: 0px;\" name=\"new_topic\" onChange='submit()'>\n";
    
$topics_list .= "<option value=\"\">All Topics</option>\n";
    
$toplist sql_query("select topicid, topictext from ".$prefix."_topics order by topictext"$dbi);
    while(list(
$topicid$topics) = sql_fetch_row($toplist$dbi)) {
    if (
$topicid==$topic) { $sel "selected "; }
        
$topics_list .= "<option $sel value=\"$topicid\">$topics</option>\n";
        
$sel "";
    }
    if (
$username == "Anonymous") {
        
$User1 "&nbsp;Guest&nbsp;&nbsp;|&nbsp;&nbsp;<a href=\"modules.php?name=Your_Account&op=new_user\">Register</a>\n";
    
    } else {
        
$User1 "Welcome &nbsp;$username&nbsp;&nbsp;|&nbsp;&nbsp;<a href=\"modules.php?name=Your_Account&op=logout\">Logout</a>\n";
    }
    
$public_msg public_message();
    
$tmpl_file "themes/LowTech/header.html";
    
$thefile implode(""file($tmpl_file));
    
$thefile "\$r_file=\"".$thefile."\";";
    eval(
$thefile);
    print 
$r_file;
    
blocks(left); 
    
$tmpl_file "themes/LowTech/left_center.html";
    
$thefile implode(""file($tmpl_file));
    
$thefile addslashes($thefile);
    
$thefile "\$r_file=\"".$thefile."\";";
    eval(
$thefile);
    print 
$r_file;
}

/************************************************************/
/* 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$foot1$foot2$foot3$copyright$totaltime;
    if (
$index == 1) {
        
$tmpl_file "themes/LowTech/center_right.html";
        
$thefile implode(""file($tmpl_file));
        
$thefile addslashes($thefile);
        
$thefile "\$r_file=\"".$thefile."\";";
        eval(
$thefile);
        print 
$r_file;
        
blocks(right);
    }
    
$footer_message "$foot1<br>$foot2<br>$foot3<br>$copyright<br>$totaltime";
    
$tmpl_file "themes/LowTech/footer.html";
    
$thefile implode(""file($tmpl_file));
    
$thefile "\$r_file=\"".$thefile."\";";
    eval(
$thefile);
    print 
$r_file;
}

/************************************************************/
/* 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;
    
$ThemeSel get_theme();
    if (
file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
        
$t_image "themes/$ThemeSel/images/topics/$topicimage";
    } else {
        
$t_image "$tipath$topicimage";
    }
    if (
$notes != "") {
        
$notes "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
        
$notes "";
    }
    if (
"$aid" == "$informant") {
        
$content "$thetext$notes\n";
    } else {
        if(
$informant != "") {
            
$content "<a class=\"nav\" href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$informant</a> ";
        } else {
            
$content "$anonymous ";
        }
        
$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
    }
    
$posted ""._POSTEDBY." ";
    
$posted .= get_author($aid);
    
$posted .= " "._ON." $time";
    
$tmpl_file "themes/LowTech/story_home.html";
    
$thefile implode(""file($tmpl_file));
    
$thefile addslashes($thefile);
    
$thefile "\$r_file=\"".$thefile."\";";
    eval(
$thefile);
    print 
$r_file;
}

/************************************************************/
/* Function themearticle()                                  */
/*                                                          */
/* 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;
    
$ThemeSel get_theme();
    if (
file_exists("themes/$ThemeSel/images/topics/$topicimage")) {
        
$t_image "themes/$ThemeSel/images/topics/$topicimage";
    } else {
        
$t_image "$tipath$topicimage";
    }
    
$posted ""._POSTEDON." $datetime "._BY." ";
    
$posted .= get_author($aid);
    if (
$notes != "") {
        
$notes "<br><br><b>"._NOTE."</b> <i>$notes</i>\n";
    } else {
        
$notes "";
    }
    if (
"$aid" == "$informant") {
        
$content "$thetext$notes\n";
    } else {
        if(
$informant != "") {
            
$content "<a class=\"nav\" href=\"modules.php?name=Your_Account&amp;op=userinfo&amp;uname=$informant\">$informant</a> ";
        } else {
            
$content "$anonymous ";
        }
        
$content .= ""._WRITES." <i>\"$thetext\"</i>$notes\n";
    }
    
$tmpl_file "themes/LowTech/story_page.html";
    
$thefile implode(""file($tmpl_file));
    
$thefile addslashes($thefile);
    
$thefile "\$r_file=\"".$thefile."\";";
    eval(
$thefile);
    print 
$r_file;
}

/************************************************************/
/* Function themesidebox()                                  */
/*                      &nbs