PDA

View Full Version : Field Display In Header


Retell
05-31-2007, 03:50 PM
Hi, I am trying to setup a sort of cheat code system on my board. The user would type in a code in a specified field under other options. Then if that code is correct it will change something on the board. The one I am working on now is having a different logo.

My fields will not even display on my header, can someone help me with that please.


This is the code I will be using:


<if condition="$post['field5'] == '4534534'">
<td width="351" height="132" border=0><div align="right"><a href="index.php"><img src="$stylevar[imgdir_misc]/special_header_right.jpg" width="351" height="132" border="0"></a></div></td>
<else />
<td width="351" height="132" border=0><div align="right"><a href="index.php"><img src="$stylevar[imgdir_misc]/header_right.jpg" width="351" height="132" border="0"></a></div></td>
</if>


Got it :D

$bbuserinfo[fieldX]