 |
| Hinweise |
Willkommen im TP-Hilfe-Forum!Dies ist ein Forum zu den Themen Photoshop, Dreamweaver, Flash, Selbständigkeit und mehr, in dem Du Hilfe, Anleitung oder eine Lösung zu Deinen Problemen erhältst. Aktuell bist Du in unseren Foren als Gast mit reinen Leserechten unterwegs. Wenn Du Dich registrierst, kannst Du eigene Themen verfassen, Deine Frage stellen und privat mit anderen TPlern kommunizieren. Weitere Foren werden zugänglich, und Du wirst – falls gewünscht – per Mail über neue Beiträge informiert. Die Registrierung ist schnell und kostenlos. Sollten bei der Registrierung Fragen auftauchen, reicht ein Klick in unsere Hilfe - Häufig gestellte Fragen oder eine kurze Mitteilung an das Support-Team. Viel Spaß bei Traum-Projekt.com |
03.01.2005, 01:36
|
#1
|
|
TP-Member
Registriert seit: Oct 2004
|
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 = " Guest | <a href=\"modules.php?name=Your_Account&op=new_user\">Register</a>\n";
} else {
$User1 = "Welcome $username | <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&op=userinfo&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&op=userinfo&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;
}
?>
|
|
|
03.01.2005, 01:42
|
#2
|
|
Guest
Registriert seit: Feb 2004
|
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.
|
|
|
03.01.2005, 01:47
|
#3
|
|
TP-Veteran
Registriert seit: Jun 2004
Ort: Stuttgart
|
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.
|
|
|
03.01.2005, 02:31
|
#4
|
|
TP-Member
Registriert seit: Oct 2004
|
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}
|
|
|
03.01.2005, 02:32
|
#5
|
|
Guest
Registriert seit: Feb 2004
|
Toll n externes CSS ^^
Super. Du bist der beste.
|
|
|
03.01.2005, 08:37
|
#6
|
|
TP-Moderator
Registriert seit: Feb 2001
Ort: Helmstedt/Wolfsburg
|
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
|
|
|
03.01.2005, 16:54
|
#7
|
|
TP-Veteran
Registriert seit: Jun 2004
Ort: Stuttgart
|
du bist ja mal ne pflaume! 
|
|
|
03.01.2005, 17:04
|
#8
|
|
TP-Supporter
Registriert seit: May 2004
Ort: Wien
|
dd
|
|
|
|
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
|
|
|
| Themen-Optionen |
Thema durchsuchen |
|
|
|
| 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.
HTML-Code ist aus.
|
|
|
Alle Zeitangaben in WEZ +2. Es ist jetzt 06:56 Uhr.
|
 |