Exemple #1
0
		<thead>
			<tr>
			<th width="32%"><?php 
echo JText::_('COM_KUNENA_USRL_USERNAME');
?>
</th>
			<th></th>
			<th width="18%"><?php 
echo JText::_('COM_KUNENA_USRL_THANKYOUS');
?>
</th>
			</tr>
		</thead>
		<tbody>
			<?php 
$KUNENA_top_said_thankyous = KunenaThankYou::getMostThankYou('said');
foreach ($KUNENA_top_said_thankyous as $KUNENA_said_thankyou) {
    if ($KUNENA_said_thankyou->countid == $KUNENA_top_said_thankyous[0]->countid) {
        $barwidth = 100;
    } else {
        $barwidth = round($KUNENA_said_thankyou->countid * 100 / $KUNENA_top_said_thankyous[0]->countid);
    }
    ?>
			<tr>
			<td><?php 
    echo $KUNENA_said_thankyou->username;
    ?>
 </td>
			<td ><img style="margin-bottom:1px" src="<?php 
    echo KUNENA_DIRECTURL . 'template/default/images/bar.png';
    ?>