Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Rating as grafic

Quote Reply
Rating as grafic
Hello,

I want include a rating as grafic in my links templates,
How I must do ???

Thanks you to your reponses.


Quote Reply
Re: Rating as grafic In reply to
You could use similar codes posted in the following Thread:

http://gossamer-threads.com/...=1&Number=106866

Like the following in the link.html file:

Code:

<%if Rating = 0>
<img src="/images/0.gif">
<%endif%>
<%if Rating = 1>
<img src="/images/1.gif">
<%endif%>
<%if Rating = 2>
<img src="/images/2.gif">
<%endif%>


Of course, you could keep adding more if conditional statements for the rest of the Rating values.

Also, you could use the Rating subroutine provided in Jerry Su's Review 2.0 Modification that is linked in a few Threads in this forum and also in the Links SQL Questions Forum.

Regards,

Eliot Lee

Quote Reply
Re: Rating as grafic In reply to
Yes, ok, but I don't find this review.cgi and the forum.cgi
on this forum or faq.