PHP Classes

File: files/ratingfiles/templates/modulebuilder_rate.tpl

Recommend this page to a friend!
  Classes of Goffy G   XOOPS Modules Builder   files/ratingfiles/templates/modulebuilder_rate.tpl   Download  
File: files/ratingfiles/templates/modulebuilder_rate.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: XOOPS Modules Builder
Generate new modules for the XOOPS CMS
Author: By
Last change:
Date: 3 years ago
Size: 8,700 bytes
 

Contents

Class file image Download
<small> <{if $rating_5stars}> <div class="modulebuilder_ratingblock"> <div id="unit_long<{$item.id}>"> <div id="unit_ul<{$item.id}>" class="modulebuilder_unit-rating"> <div class="modulebuilder_current-rating" style="width:<{$item.rating.size}>;"><{$item.rating.text}></div> <div> <a class="modulebuilder_r1-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=1&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING1}>" rel="nofollow">1</a> </div> <div> <a class="modulebuilder_r2-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=2&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING2}>" rel="nofollow">2</a> </div> <div> <a class="modulebuilder_r3-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=3&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING3}>" rel="nofollow">3</a> </div> <div> <a class="modulebuilder_r4-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=4&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING4}>" rel="nofollow">4</a> </div> <div> <a class="modulebuilder_r5-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=5&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING5}>" rel="nofollow">5</a> </div> </div> <div> <{$item.rating.text}> </div> </div> </div> <{/if}> <{if $rating_10stars}> <div class="modulebuilder_ratingblock"> <div id="unit_long<{$item.id}>"> <div id="unit_ul<{$item.id}>" class="modulebuilder_unit-rating-10"> <div class="modulebuilder_current-rating" style="width:<{$item.rating.size}>;"><{$item.rating.text}></div> <div> <a class="modulebuilder_r1-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=1&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING_10_1}>" rel="nofollow">1</a> </div> <div> <a class="modulebuilder_r2-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=2&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING_10_2}>" rel="nofollow">2</a> </div> <div> <a class="modulebuilder_r3-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=3&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING_10_3}>" rel="nofollow">3</a> </div> <div> <a class="modulebuilder_r4-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=4&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING_10_4}>" rel="nofollow">4</a> </div> <div> <a class="modulebuilder_r5-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=5&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING_10_5}>" rel="nofollow">5</a> </div> <div> <a class="modulebuilder_r6-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=6&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING_10_6}>" rel="nofollow">6</a> </div> <div> <a class="modulebuilder_r7-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=7&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING_10_7}>" rel="nofollow">7</a> </div> <div> <a class="modulebuilder_r8-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=8&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING_10_8}>" rel="nofollow">8</a> </div> <div> <a class="modulebuilder_r9-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=9&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING_10_9}>" rel="nofollow">9</a> </div> <div> <a class="modulebuilder_r10-unit rater" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=10&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING_10_10}>" rel="nofollow">10</a> </div> </div> <div> <{$item.rating.text}> </div> </div> </div> <{/if}> <{if $rating_10num}> <div class="modulebuilder_ratingblock"> <div id="unit_long<{$item.id}>"> <div id="unit_ul<{$item.id}>" class="modulebuilder_unit-rating-10numeric"> <a class="modulebuilder-rater-numeric <{if $item.rating.avg_rate_value >=1}>modulebuilder-rater-numeric-active<{/if}>" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=1&amp;source=1" rel="nofollow">1</a> <a class="modulebuilder-rater-numeric <{if $item.rating.avg_rate_value >=2}>modulebuilder-rater-numeric-active<{/if}>" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=2&amp;source=1" rel="nofollow">2</a> <a class="modulebuilder-rater-numeric <{if $item.rating.avg_rate_value >=3}>modulebuilder-rater-numeric-active<{/if}>" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=3&amp;source=1" rel="nofollow">3</a> <a class="modulebuilder-rater-numeric <{if $item.rating.avg_rate_value >=4}>modulebuilder-rater-numeric-active<{/if}>" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=4&amp;source=1" rel="nofollow">4</a> <a class="modulebuilder-rater-numeric <{if $item.rating.avg_rate_value >=5}>modulebuilder-rater-numeric-active<{/if}>" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=5&amp;source=1" rel="nofollow">5</a> <a class="modulebuilder-rater-numeric <{if $item.rating.avg_rate_value >=6}>modulebuilder-rater-numeric-active<{/if}>" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=6&amp;source=1" rel="nofollow">6</a> <a class="modulebuilder-rater-numeric <{if $item.rating.avg_rate_value >=7}>modulebuilder-rater-numeric-active<{/if}>" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=7&amp;source=1" rel="nofollow">7</a> <a class="modulebuilder-rater-numeric <{if $item.rating.avg_rate_value >=8}>modulebuilder-rater-numeric-active<{/if}>" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=8&amp;source=1" rel="nofollow">8</a> <a class="modulebuilder-rater-numeric <{if $item.rating.avg_rate_value >=9}>modulebuilder-rater-numeric-active<{/if}>" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=9&amp;source=1" rel="nofollow">9</a> <a class="modulebuilder-rater-numeric <{if $item.rating.avg_rate_value >=10}>modulebuilder-rater-numeric-active<{/if}>" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=10&amp;source=1" rel="nofollow">10</a> </div> <div class='left'> <{$item.rating.text}> </div> </div> </div> <{/if}> <{if $rating_likes}> <div class="modulebuilder_ratingblock"> <a class="modulebuilder-rate-like" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=1&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING_LIKE}>" rel="nofollow"> <img class='modulebuilder-btn-icon' src='<{$modulebuilder_icon_url_16}>/like.png' alt='<{$smarty.const._MA_MODULEBUILDER_RATING_LIKE}>' title='<{$smarty.const._MA_MODULEBUILDER_RATING_LIKE}>'>(<{$item.rating.likes}>)</a> <a class="modulebuilder-rate-dislike" href="rate.php?op=save&amp;<{$itemid}>=<{$item.id}>&rating=-1&amp;source=1" title="<{$smarty.const._MA_MODULEBUILDER_RATING_DISLIKE}>" rel="nofollow"> <img class='modulebuilder-btn-icon' src='<{$modulebuilder_icon_url_16}>/dislike.png' alt='<{$smarty.const._MA_MODULEBUILDER_RATING_DISLIKE}>' title='<{$smarty.const._MA_MODULEBUILDER_RATING_DISLIKE}>'> (<{$item.rating.dislikes}>)</a> </div> <{/if}> </small>