getreidemuehlen
-


Hinweise


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

hielfe bei farben


habe ihr ein php code.
Mein problem ist ich will eine Blaue Schrift hmm
Was muss ich ausstauschen das ich einen blauen Tex bekomme??
Habe schon probiert

$textcolor1 = "#FFFFFF";
$textcolor2 = "#4F4E4E";
auszutauschen ohne efekt.


<?php

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

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() */
/* */
/* Control look of your blocks. Just simple. */
/************************************************************/

function themesidebox($title, $content) {
$tmpl_file = "themes/LowTech/blocks.html";
$thefile = implode("", file($tmpl_file));
$thefile = addslashes($thefile);
$thefile = "\$r_file=\"".$thefile."\";";
eval($thefile);
print $r_file;
}

?>
BananaMoe ist offline   Mit Zitat antworten


Alt 03.01.2005, 01:42   #2
Guest
 
Registriert seit: Feb 2004
Dene bringt sich richtig einDene bringt sich richtig ein
Guck einfach was die "ursprüngliche" Farbe ist und ersetze diese.

Ansonst probier' alle im Code genannten Farbcodes aus, ändere die Codes und schau was sich ändert.

Oder es ist kein Code genannt; dann setzt einfach ein <font color="#deinefarbe"> davor.
Dene ist offline   Mit Zitat antworten
Alt 03.01.2005, 01:47   #3
TP-Veteran
 
Benutzerbild von the-architect
 
Registriert seit: Jun 2004
Ort: Stuttgart
the-architect bringt sich richtig einthe-architect bringt sich richtig ein
versuch mal so auf die globalen variablen zuzugreifen:

$lokaleVariable = $GLOBALS["variable"];

dieses "global" hab ich noch nie gesehen und die manual kennt es auch net.
__________________
mein blog | imedo.de | clubrating.de | deviantart


the-architect ist offline   Mit Zitat antworten
Alt 03.01.2005, 02:31   #4
TP-Member
 
Registriert seit: Oct 2004
BananaMoe macht alles soweit korrekt
prob gelost habe es hir umstellen mussen

FONT {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 12px}
TD {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
BODY {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
P {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
DIV {FONT-FAMILY: Verdana,Helvetica; FONT-SIZE: 10px}
INPUT {FONT-WEIGHT: bold; COLOR: #EEEEEE; BACKGROUND-COLOR: #4E4D4D; BORDER-TOP-COLOR: #000000; BORDER-LEFT-COLOR: #000000; BORDER-RIGHT-COLOR: #777777; BORDER-BOTTOM-COLOR: #777777; BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 10px; BORDER-BOTTOM-WIDTH: 1px; FONT-FAMILY: Verdana,Helvetica; BORDER-RIGHT-WIDTH: 1px}
TEXTAREA {FONT-WEIGHT: bold; COLOR: #EEEEEE; BACKGROUND-COLOR: #4E4D4D; BORDER-TOP-COLOR: #000000; BORDER-LEFT-COLOR: #000000; BORDER-RIGHT-COLOR: #777777; BORDER-BOTTOM-COLOR: #777777; BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 10px; BORDER-BOTTOM-WIDTH: 1px; FONT-FAMILY: Verdana,Helvetica; BORDER-RIGHT-WIDTH: 1px}
SELECT {FONT-WEIGHT: bold; COLOR: #EEEEEE; BACKGROUND-COLOR: #4E4D4D; BORDER-TOP-COLOR: #000000; BORDER-LEFT-COLOR: #000000; BORDER-RIGHT-COLOR: #777777; BORDER-BOTTOM-COLOR: #777777; BORDER-TOP-WIDTH: 1px; BORDER-LEFT-WIDTH: 1px; FONT-SIZE: 10px; BORDER-BOTTOM-WIDTH: 1px; FONT-FAMILY: Verdana,Helvetica; BORDER-RIGHT-WIDTH: 1px}
A:link {FONT-WEIGHT: bold; BACKGROUND: none; COLOR: #7679A2; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
A:active {FONT-WEIGHT: bold; BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
A:visited {FONT-WEIGHT: bold; BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
A:hover {FONT-WEIGHT: bold; BACKGROUND: none; COLOR: #000000; FONT-SIZE: 10px; font-weight : bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.title {BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 14px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.content {BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica}
.block-title {BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica}
.storytitle {BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 12px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.storycat {BACKGROUND: none; COLOR: #BBBBBB; FONT-SIZE: 10px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: underline}
.boxtitle {BACKGROUND: none; COLOR: #BBBBBB; FONT-SIZE: 10px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.boxcontent {BACKGROUND: none; COLOR: #BBBBBB; FONT-SIZE: 10px; FONT-FAMILY: Verdana, Helvetica}
.option {BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 10px; FONT-WEIGHT: bold; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
.tiny {BACKGROUND: none; COLOR: #FFFFFF; FONT-SIZE: 10px; FONT-WEIGHT: normal; FONT-FAMILY: Verdana, Helvetica; TEXT-DECORATION: none}
TD.header {
BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; FILTER: alpha(opacity="50"); BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid; BACKGROUND-COLOR: #000000
}
TD.tabler {
BORDER-RIGHT: #888888 1px solid; BORDER-TOP: #000000 1px solid; FILTER: alpha(opacity="100"); BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #888888 1px solid; BACKGROUND-COLOR: #333333
}
BODY {
SCROLLBAR-FACE-COLOR: #4E4D4D; SCROLLBAR-HIGHLIGHT-COLOR: #000000; SCROLLBAR-SHADOW-COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #000000; SCROLLBAR-ARROW-COLOR: #000000; SCROLLBAR-TRACK-COLOR: #4F4E4E; SCROLLBAR-DARKSHADOW-COLOR: #000000
}
H1 {
FONT-WEIGHT: normal; FONT-SIZE: 9px; COLOR: #EEEEEE; FONT-FAMILY: Arial, Helvetica, sans-serif
}
H2 {
FONT-WEIGHT: bold; FONT-SIZE: 9px; COLOR: #ffffff; FONT-FAMILY: Arial, Helvetica, sans-serif
}
H3 {
FONT-WEIGHT: normal; FONT-SIZE: 9px; COLOR: #cccccc; FONT-FAMILY: Arial, Helvetica, sans-serif
}
TD {
FONT-WEIGHT: normal; FONT-SIZE: 9px; COLOR: #EEEEEE; FONT-FAMILY: Arial, Helvetica, sans-serif
}
TD
{font-family: Verdana,Helvetica;font-size:10;color:#FFFFFF}
P
{font-family: Verdana,Helvetica;font-size:10;color:#FFFFFF}
BananaMoe ist offline   Mit Zitat antworten
Alt 03.01.2005, 02:32   #5
Guest
 
Registriert seit: Feb 2004
Dene bringt sich richtig einDene bringt sich richtig ein
Toll n externes CSS ^^

Super. Du bist der beste.
Dene ist offline   Mit Zitat antworten
Alt 03.01.2005, 08:37   #6
TP-Moderator
 
Benutzerbild von Stuck Mojo
 
Registriert seit: Feb 2001
Ort: Helmstedt/Wolfsburg
Stuck Mojo ist ein richtiges Arbeitstier - DANKEStuck Mojo ist ein richtiges Arbeitstier - DANKEStuck Mojo ist ein richtiges Arbeitstier - DANKEStuck Mojo ist ein richtiges Arbeitstier - DANKEStuck Mojo ist ein richtiges Arbeitstier - DANKE
Es gibt Formatierungsmöglichkeiten im Forum! Bitte wunder dich nicht, dass sich niemand die Mühe machen wird durch deinen Code zu schauen, da das so einfach nur ... ist.

Gruss
Jan
Stuck Mojo ist offline   Mit Zitat antworten
Alt 03.01.2005, 16:54   #7
TP-Veteran
 
Benutzerbild von the-architect
 
Registriert seit: Jun 2004
Ort: Stuttgart
the-architect bringt sich richtig einthe-architect bringt sich richtig ein
du bist ja mal ne pflaume!
__________________
mein blog | imedo.de | clubrating.de | deviantart


the-architect ist offline   Mit Zitat antworten
Alt 03.01.2005, 17:04   #8
TP-Supporter
 
Benutzerbild von urban-a
 
Registriert seit: May 2004
Ort: Wien
urban-a ist auf einem guten Weg
dd
__________________
Na endlich!
urban-a ist offline   Mit Zitat antworten
Antwort

  Aktuelles Thema
  TP Hilfe Forum > Web-Editoren & Coding > Traum-Dynamik
hielfe bei farben hielfe bei farben
« AUTO_INCREMENT zählte nicht hoch | Textdatei durchsuchen.... »

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Farben definieren PeterBrand Vektor 3 19.01.2004 17:38
Mehr Farben bei Image Ready??? Fate Photoshop 5 10.01.2004 14:34
script reduziert (?) farben der bilder Bernd das Brot Traum-Dynamik 15 11.11.2002 09:43
Wieso erscheint bei mir alles in Graustufen Toskka Photoshop 4 05.05.2002 15:02


Alle Zeitangaben in WEZ +2. Es ist jetzt 06:56 Uhr.

Powered by: vBulletin Version 3.7 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. / Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Traum-Projekt.com | Suchen | Archiv | Impressum | Kontakt | | | Nach oben |



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67