Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Sticky icon ( if else )
Jay99 Offline
Junior Member
**
Posts: 11
Joined: May 2011
Post: #5
RE: Sticky icon ( if else )
(07-10-2011 08:29 AM)Juventiner Wrote:  Hi
If i use this Code, my board show me the following error:

HTML Code
<if $thread['sticky'] then>
<img src="sticky.gif" alt="Too bad you can't see this awesome sticky icon!" />
<else>
{$icon}
</if>


Code:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /users/rose4you/www/beta/forumdisplay.php(1129) : eval()'d code on line 2


Make sure you install "phptpl-1.9.7z" before using the code,
you can find it Here , top right.
07-10-2011 08:47 AM
Visit this user's website Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Sticky icon ( if else ) - Jay99 - 06-16-2011, 09:49 AM
RE: Sticky icon ( if else ) - ZiNgA BuRgA - 06-16-2011, 12:14 PM
RE: Sticky icon ( if else ) - Jay99 - 06-16-2011, 12:54 PM
RE: Sticky icon ( if else ) - Juventiner - 07-10-2011, 08:29 AM
RE: Sticky icon ( if else ) - Jay99 - 07-10-2011 08:47 AM
RE: Sticky icon ( if else ) - Juventiner - 07-10-2011, 09:04 AM
RE: Sticky icon ( if else ) - Jay99 - 07-10-2011, 09:06 AM
RE: Sticky icon ( if else ) - Juventiner - 07-10-2011, 09:31 AM
RE: Sticky icon ( if else ) - Jay99 - 07-10-2011, 09:33 AM

 Standard Tools
Forum Jump: