Watson
03-22-2006, 12:15 PM
I am trying to make my own style, so that I can have a nice looking banner at the top of my forums, however I have hit a problem.
I am wanting to have the images I created at the top be linked, so I was taking the URL's out of the nav template. However, I cant seem to get them to work when I am trying to make it display the USER CP button when a user is logged in, and the Regiester button when they are not.
Still pretty new at this sort of thing
Anyway, here is the error
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/fullhoose/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 60
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
And here is the part of the code I am using
<tr>
<td rowspan="6">
<img src="images/banner_13.gif" width="33" height="82" alt=""></td>
<td colspan="3" rowspan="2">
<if condition="$show['member']">
<a href="usercp.php$session[sessionurl_q]"><img src="images/user_cp.gif" width="135" height="34" alt=""></a></td> </if>
<if condition="$show['registerbutton']">
<a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="images/register.gif" width="135" height="34" alt=""></a>
</td>
<td rowspan="3">
<img src="images/banner_15.gif" width="19" height="38" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="1" alt=""></td>
</tr>
<tr>
Thanks
Watson
anyone able to help me out on this?
I am wanting to have the images I created at the top be linked, so I was taking the URL's out of the nav template. However, I cant seem to get them to work when I am trying to make it display the USER CP button when a user is logged in, and the Regiester button when they are not.
Still pretty new at this sort of thing
Anyway, here is the error
The following error occurred when attempting to evaluate this template:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/fullhoose/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 60
This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.
And here is the part of the code I am using
<tr>
<td rowspan="6">
<img src="images/banner_13.gif" width="33" height="82" alt=""></td>
<td colspan="3" rowspan="2">
<if condition="$show['member']">
<a href="usercp.php$session[sessionurl_q]"><img src="images/user_cp.gif" width="135" height="34" alt=""></a></td> </if>
<if condition="$show['registerbutton']">
<a href="register.php$session[sessionurl_q]" rel="nofollow"><img src="images/register.gif" width="135" height="34" alt=""></a>
</td>
<td rowspan="3">
<img src="images/banner_15.gif" width="19" height="38" alt=""></td>
<td>
<img src="images/spacer.gif" width="1" height="1" alt=""></td>
</tr>
<tr>
Thanks
Watson
anyone able to help me out on this?