![]() | Join Date: Aug 2007 | Posts: 21 | iTrader: (0) |
can someone help me figure out this conditional?
the idea here is to make it so that when there' a new post ... a background will show up on forumhome behind the statusicons. i have a different statusicon for each forum and i'm using the class="X" variable to make this work ... only i can't figure out what conditional i need to make it work.
here is what i'm talking about in my forumhome_forumbit_level2_post
notice how in the first forum the background behind the statusicon is simply alt2 .. but in the second and 3rd forum there's a background shown. that would signify the forum has new posts.
i have this in my additional css
.newpost
{
background: #ACAC00 url(images/gradients/gradient_newpost.gif) repeat-x top left;
color: #000000;
}
what am i missing???
here is what i'm talking about in my forumhome_forumbit_level2_post
PHP Code:
<if condition="$forum['forumid'] == 7"><td class="alt2"><img src="ftbfba/images/forumicons/5.gif" border="0" alt="" class="newpost" border="0"></td></if>
<if condition="$forum['forumid'] == 8"><td class="alt2"><img src="ftbfba/images/forumicons/6.gif" border="0" alt="" class="newpost" border="0"></td></if>
<if condition="$forum['forumid'] == 11"><td class="alt2"><img src="ftbfba/images/forumicons/9.gif" border="0" alt="" class="newpost" border="0"></td></if>
<if condition="$forum['forumid'] == 9"><td class="alt2"><img src="ftbfba/images/forumicons/7.gif" border="0" alt="" class="newpost" border="0"></td></if>
<if condition="$forum['forumid'] == 12"><td class="alt2"><img src="ftbfba/images/forumicons/10.gif" border="0" alt="" class="newpost" border="0"></td></if>
<if condition="$forum['forumid'] == 10"><td class="alt2"><img src="ftbfba/images/forumicons/8.gif" border="0" alt="" class="newpost" border="0"></td></if>
<if condition="$forum['forumid'] == 13"><td class="alt2"><img src="ftbfba/images/forumicons/11.gif" border="0" alt="" class="newpost" border="0"></td></if>
<if condition="$forum['forumid'] == 14"><td class="alt2"><img src="ftbfba/images/forumicons/12.gif" border="0" alt="" class="newpost" border="0"></td></if>
</else>
i have this in my additional css
.newpost
{
background: #ACAC00 url(images/gradients/gradient_newpost.gif) repeat-x top left;
color: #000000;
}
what am i missing???









Linear Mode

