Esempio n. 1
0
        ?>
				<?php 
        $place = in_array($i, array(0, 1, 2)) ? '<img src="' . JVA_IMAGES_SITEPATH . 'icons/medal_' . ($i + 1) . '.gif" border="0" alt="" />' : $i + 1;
        ?>
				<tr class="sectiontableentry">
					<td width="20%" style="text-align: center">
						<?php 
        echo $place;
        ?>
					</td>
					<td width="20%" style="text-align: center">
						<?php 
        if ($this->config->show_avatar == 1) {
            ?>
							<center><?php 
            echo jvaHelper::showAvatar($entry->userid);
            ?>
</center>
						<?php 
        }
        ?>
					</td>
					<td width="20%" style="text-align: center">
						<center><?php 
        echo jvaHelper::userlink($entry->userid, !(int) $this->config->show_usernames ? $entry->name : $entry->username);
        ?>
</center>
					</td>
					<td width="40%" style="text-align: center">
						<center><?php 
        echo $entry->points;
Esempio n. 2
0
    foreach ($this->scores as $score) {
        ?>
			<?php 
        if ($score['published'] == 1) {
            ?>
				<tr class="sectiontableentry1">
					<td width="25%" style="text-align: center;"><?php 
            echo jvaHelper::formatDate($score['date']);
            ?>
</td>
					<td width="25%" style="text-align: center;">
					<?php 
            if ($this->config->show_avatar == 1) {
                ?>
						<?php 
                echo jvaHelper::showAvatar($score['userid']);
                ?>
					<?php 
            }
            ?>
					</td>
					<td width="25%" style="text-align: center;"><?php 
            echo jvaHelper::userlink((int) $score['userid'], !(int) $this->config->show_usernames ? $score['name'] : $score['username']);
            ?>
</td>
					<td width="25%" style="text-align: center;"><?php 
            echo round($score['score'], 2);
            ?>
</td>
				</tr>
			<?php