PDA

View Full Version : Need hel pwith an IF


MarkFoster
08-31-2010, 03:02 PM
I'm using this:
<if condition="$forumid == 176"><span style="color:red"><b>Note: Spamming in this forum is not permitted! Breaking this rule will result in a two day ban.</b></span></if>

But it gets shown on the "New Posts/Today's Posts" page as well. How can I create a code that would go something like:

<if condition="file == search.php"><then == Do not show something></then></if>

^ That's just an example, I know nothing about coding.

Lynne
08-31-2010, 04:11 PM
Most likely something like:
<if condition="THIS_SCRIPT != 'search'">stuff for when not on search page</if>