Frage zu <then> <if>

PBB-Owner
Hallo,

ich wollte mal fragen wie ich das machen kann das zum beispiel 2 Foren in der indexansicht rot sind ? Wie ich das mit einen machen habe ich schon rausgefunden. Nur wie mach ich das das gleichzeit 2 in rot sind ?
Das Zweite hat die boardid 44

php:
1:
<if($boards[boardid] == 2)><then><font color="FF0000"><b>$boards[title]</b></font></then><else><b>$boards[title]</b></else></if>



wäre über eure hilfe dankbar.
[kamui]
Ich weiß nicht, ob es so funktioniert, probier es einfach mal aus:
code:
1:
<if($boards[boardid] == 2 OR $boards[boardid] == 44)><then><font color="FF0000"><b>$boards[title]</b></font></then><else><b>$boards[title]</b></else></if>


Wenn das nicht geht, mach es so:
code:
1:
2:
3:
<if($boards[boardid] == 2)><then><font color="FF0000"><b>$boards[title]</b></font></then><else>
  <if($boards[boardid] == 44)><then><font color="FF0000"><b>$boards[title]</b></font></then><else><b>$boards[title]</b></else></if>
</else></if>
HE24
notfalls frag mal auf hackeinbau24.de wir hatten das thema schon
PBB-Owner
werds mal testen
Alexdo
Nimm das, funzt 100%:
code:
1:
<if($boards[boardid]==2 || $boards[boardid]==3)><then><font color="FF0000"><b>$boards[title]</b></font></then><else><b>$boards[title]</b></else></if>


Must also immer nur || $boards[boardid]==X dranhängen Augenzwinkern