The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
If ...Else...help please!!
Hi there all.
Im new to PHP but having some troube in getting some simple bit of code to work.And I am trying... I know that the syntax for a PhP if..Else test is basically: < if(condition) dothis.... else dothat.... > But inside VBulletin when I go to edit my navbar template I see this: HTML Code:
<if condition="$bbuserinfo['pmunread']"> <a href="http://www.pakistancricketzone.com/private.php?"><img border="0" src="http://www.pakistancricketzone.com/images/xbox/nonewpm.gif" width="220" height="13"></a> HTML Code:
<if condition="$bbuserinfo['pmunread']"> <a href="http://www.pakistancricketzone.com/private.php?"><img border="0" src="http://www.pakistancricketzone.com/images/xbox/nonewpm.gif" width="220" height="13"></a> <else> <a href="http://www.pakistancricketzone.com/private.php?"><img border="0" src="http://www.pakistancricketzone.com/images/xbox/newpm.gif" width="220" height="13"></a> </if> Many thanks, Naeem anyone??? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|