Location: PHPKode > projects > Article Manager > pm30/cgi/templates/admin/ta_rating.htm
%%TEMPLATE:adminheader%%
%%TEMPLATE:adminheader_setup%%

<center>
<b><Font face="Verdana,Arial" size=2 color=#333333>Setup Rating and Reviews</font></b>
<p>

 a. Adding a link for comment:
        <table border=1 bordercolor=gray cellpadding=10 cellspacing=0 bgcolor=#efefef><tr><td>
                <font size=2 face=arial><font color=#333333>

    &lt;A href="pm.cgi?action=review&profile=&amp;&amp;login&amp;&amp;"&gt;Comment&lt;/a&gt;

	</font></td></tr></table>
<p>

 b. Adding a link for comment and rate:
        <table border=1 bordercolor=gray cellpadding=10 cellspacing=0 bgcolor=#efefef><tr><td>
                <font size=2 face=arial><font color=#333333>

    &lt;A href="pm.cgi?action=rate&profile=&amp;&amp;login&amp;&amp;"&gt;Comment and Rate&lt;/a&gt;
	</font></td></tr></table>
<p>

 c. Adding links for rating directly:
        <table border=1 bordercolor=gray cellpadding=10 cellspacing=0 bgcolor=#efefef><tr><td>
                <font size=2 face=arial><font color=#333333>

    Rate this
        &lt;a href=pm.cgi?action=rated&profile=&amp;&amp;login&amp;&amp;&rating=1&gt;1&lt;/a&gt; |
        &lt;a href=pm.cgi?action=rated&profile=&amp;&amp;login&amp;&amp;&rating=2&gt;2&lt;/a&gt; |
        &lt;a href=pm.cgi?action=rated&profile=&amp;&amp;login&amp;&amp;&rating=3&gt;3&lt;/a&gt; |
        &lt;a href=pm.cgi?action=rated&profile=&amp;&amp;login&amp;&amp;&rating=4&gt;4&lt;/a&gt; |
        &lt;a href=pm.cgi?action=rated&profile=&amp;&amp;login&amp;&amp;&rating=5&gt;5&lt;/a&gt; |
        &lt;a href=pm.cgi?action=rated&profile=&amp;&amp;login&amp;&amp;&rating=6&gt;6&lt;/a&gt; |
        &lt;a href=pm.cgi?action=rated&profile=&amp;&amp;login&amp;&amp;&rating=7&gt;7&lt;/a&gt; |
        &lt;a href=pm.cgi?action=rated&profile=&amp;&amp;login&amp;&amp;&rating=8&gt;8&lt;/a&gt; |
        &lt;a href=pm.cgi?action=rated&profile=&amp;&amp;login&amp;&amp;&rating=9&gt;9&lt;/a&gt; |
        &lt;a href=pm.cgi?action=rated&profile=&amp;&amp;login&amp;&amp;&rating=10&gt;10&lt;/a&gt;

	</font></td></tr></table>
<p>
d. Printing user's rating on any template:
        <table border=1 bordercolor=gray cellpadding=10 cellspacing=0 bgcolor=#efefef><tr><td>
                <font size=2 face=arial><font color=#333333>

    &amp;&amp;RATING&amp;&amp;

	</font></td></tr></table>
<p>
 e. Printing user's number of votes on any profile:
        <table border=1 bordercolor=gray cellpadding=10 cellspacing=0 bgcolor=#efefef><tr><td>
                <font size=2 face=arial><font color=#333333>

    &amp;&amp;VOTES&amp;&amp;

	</font></td></tr></table>
<p>
 f. To print out reviews, put this tag on the profile template:
        <table border=1 bordercolor=gray cellpadding=10 cellspacing=0 bgcolor=#efefef><tr><td>
                <font size=2 face=arial><font color=#333333>

    &amp;&amp;REVIEWS&amp;&amp;

	</font></td></tr></table>

<p>

%%TEMPLATE:adminfooter%%
Return current item: Article Manager