das ----> }else if ($ref['einstellungsstart'] <= time() {echo"<font color=orange>";}

geht ja nur, wenn Du die $ref['einstellungsstart'] auch in der Rallye definiert hast

Du musst also in der Rallye auch sagen, wenn ich das eingestellt habe, dann zeige das bitte auch oder sehe ich das nu falsch?

ich würde das vielleicht mal so probieren / ACHTUNG, ungetestet!!!


<a href="?content=/ralleys/ref">
<? if ($ref[ende]>= time() and $ref[start]== time()){echo"<font color=green>";} }else{echo"<font color=red>";}
}else if ($ref['start'] <= time() {echo"<font color=orange>";}
}else if $ref['ende'] >= time(){echo"<font color=red>";}
?>
&nbsp;Ref Rally</font></a><br>