Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Very new at PHP
Sama34 Offline
Senior Member
****
Posts: 490
Joined: May 2011
Post: #20
RE: Very new at PHP
Now I want to show '[Closed]' to any closed thread, but the problem is that is the thread is sticky then it shows both. I tried this and it worked:

PHP Code:
<if $thread['closed'] then>
<span style="color:red;">[Cerrado]</span>
<else>
{$prefix}
</if>


The problem is if the thread is also 'sticky' it is replaced by [Closed], I want the thread to show 'sticky' if the thread is sticky and closed, and '[Closed]' if the thread is close.

Tanks in advance Smile


Support PM's will be ignored. Yipi
Plugins: Announcement Bars - Custom Reputation - Mark PM As Unread
(This post was last modified: 06-19-2011 09:16 PM by Sama34.)
06-19-2011 08:51 PM
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
Very new at PHP - Sama34 - 05-13-2011, 09:34 PM
RE: Very new at PHP - ZiNgA BuRgA - 05-13-2011, 10:08 PM
RE: Very new at PHP - Sama34 - 05-13-2011, 10:58 PM
RE: Very new at PHP - RateU - 05-14-2011, 03:16 AM
RE: Very new at PHP - Sama34 - 05-14-2011, 05:24 AM
RE: Very new at PHP - ZiNgA BuRgA - 05-14-2011, 09:20 AM
RE: Very new at PHP - Gypaete - 05-16-2011, 12:41 AM
RE: Very new at PHP - Sama34 - 05-16-2011, 06:30 PM
RE: Very new at PHP - Gypaete - 05-17-2011, 01:57 AM
RE: Very new at PHP - ZiNgA BuRgA - 05-17-2011, 07:49 AM
RE: Very new at PHP - Sama34 - 05-17-2011, 06:19 PM
RE: Very new at PHP - ZiNgA BuRgA - 05-17-2011, 07:08 PM
RE: Very new at PHP - Sama34 - 05-17-2011, 07:24 PM
RE: Very new at PHP - RateU - 05-18-2011, 04:45 AM
RE: Very new at PHP - Sama34 - 05-18-2011, 09:14 PM
RE: Very new at PHP - Gypaete - 05-18-2011, 09:19 PM
RE: Very new at PHP - Sama34 - 05-25-2011, 11:36 PM
RE: Very new at PHP - RateU - 05-26-2011, 01:56 AM
RE: Very new at PHP - Sama34 - 05-26-2011, 03:26 AM
RE: Very new at PHP - Sama34 - 06-19-2011 08:51 PM
RE: Very new at PHP - ZiNgA BuRgA - 06-19-2011, 10:34 PM
RE: Very new at PHP - Sama34 - 06-19-2011, 11:07 PM
RE: Very new at PHP - leefish - 06-19-2011, 11:49 PM
RE: Very new at PHP - Sama34 - 06-20-2011, 02:51 PM
RE: Very new at PHP - leefish - 06-21-2011, 12:18 AM
RE: Very new at PHP - brad-t - 03-08-2012, 02:33 AM
RE: Very new at PHP - leefish - 03-08-2012, 04:59 AM
RE: Very new at PHP - brad-t - 03-13-2012, 05:18 AM
RE: Very new at PHP - leefish - 03-18-2012, 10:33 PM
RE: Very new at PHP - ZiNgA BuRgA - 03-19-2012, 09:07 AM
RE: Very new at PHP - leefish - 03-19-2012, 07:52 PM
RE: Very new at PHP - Sama34 - 03-20-2012, 10:12 AM
RE: Very new at PHP - leefish - 03-27-2012, 11:43 AM
RE: Very new at PHP - ZiNgA BuRgA - 03-27-2012, 12:31 PM
RE: Very new at PHP - leefish - 03-28-2012, 12:21 AM
RE: Very new at PHP - RateU - 03-28-2012, 01:51 AM
RE: Very new at PHP - leefish - 03-28-2012, 02:25 AM
RE: Very new at PHP - RateU - 03-28-2012, 05:45 AM
RE: Very new at PHP - leefish - 03-28-2012, 06:31 AM
RE: Very new at PHP - RateU - 03-28-2012, 06:41 AM
RE: Very new at PHP - leefish - 03-28-2012, 08:00 AM
RE: Very new at PHP - ZiNgA BuRgA - 03-28-2012, 08:59 AM
RE: Very new at PHP - leefish - 03-28-2012, 09:43 AM
RE: Very new at PHP - brad-t - 05-16-2012, 08:07 AM
RE: Very new at PHP - ZiNgA BuRgA - 05-16-2012, 12:12 PM
RE: Very new at PHP - brad-t - 05-17-2012, 12:54 AM
RE: Very new at PHP - brad-t - 06-09-2012, 12:46 AM
RE: Very new at PHP - RateU - 06-09-2012, 05:56 AM
RE: Very new at PHP - brad-t - 06-13-2012, 08:23 AM
RE: Very new at PHP - brad-t - 06-15-2012, 11:29 PM
RE: Very new at PHP - ZiNgA BuRgA - 06-16-2012, 12:00 PM
RE: Very new at PHP - brad-t - 06-16-2012, 02:00 PM
RE: Very new at PHP - brad-t - 06-21-2012, 02:36 AM
RE: Very new at PHP - ZiNgA BuRgA - 06-21-2012, 09:20 AM
RE: Very new at PHP - brad-t - 06-21-2012, 10:25 AM
RE: Very new at PHP - brad-t - 07-16-2012, 03:06 AM
RE: Very new at PHP - Sama34 - 07-16-2012, 04:17 AM
RE: Very new at PHP - brad-t - 07-17-2012, 01:37 AM

 Standard Tools
Forum Jump: