Ejemplo n.º 1
0
        echo JText::_('COM_JVARCADE_REGISTERED');
        ?>
					</th>
				</tr>
				<?php 
        foreach ($this->members as $member) {
            ?>
				<tr style="border:0px;text-align:left;">
					<td width="40%" style="border:0px;">
						<?php 
            echo !(int) $this->config->show_usernames ? $member->name : $member->username;
            ?>
					</td>
					<td width="60%" style="border:0px;">
						<?php 
            echo jvaHelper::formatDate($member->dateregistered);
            ?>
					</td>
				</tr>
				<?php 
        }
        ?>
			</table>
		</div>
		<?php 
    } else {
        ?>
			<div style="text-align:left;"><?php 
        echo JText::_('COM_JVARCADE_CONTESTS_NOCONTESTUSERS');
        ?>
</div>
Ejemplo n.º 2
0
        ?>
</b>
					</a>
					<br /><?php 
        echo html_entity_decode($contest['description'], ENT_QUOTES, 'UTF-8');
        ?>
				</td>
				<td width="10%">
					<center><?php 
        echo jvaHelper::formatDate($contest['startdatetime']);
        ?>
</center>
				</td>
				<td width="10%">
					<center><?php 
        echo jvaHelper::formatDate($contest['enddatetime']);
        ?>
</center>
				</td>
				<td width="10%">
					<center><?php 
        echo $this->showRegistration($contest['registration'], $contest['islimitedtoslots']);
        ?>
</center>
				</td>
				<td width="10%">
					<center><?php 
        echo $this->showStatus($contest['status']);
        ?>
</center>
				</td>
Ejemplo n.º 3
0
        echo $obj->username;
        ?>
</td>
						<td style="text-align: left;"><?php 
        echo $obj->score;
        ?>
</td>
						<td style="text-align: left;"><a target="_blank" href="<?php 
        echo $url;
        ?>
"><?php 
        echo $obj->ip;
        ?>
</a></td>
						<td style="text-align: left;"><?php 
        echo jvaHelper::formatDate($obj->date);
        ?>
</td>
						<td style="text-align: center;"><?php 
        echo JHtml::_('jgrid.published', $obj->published, $i, 'score');
        ?>
</td>
					</tr>
			<?php 
        if ($i == 0) {
            $i = 1;
        } else {
            $i++;
        }
    }
}
Ejemplo n.º 4
0
            echo $obj->id;
            ?>
</td>
					<td style="text-align: center;"><a target="_blank" href="<?php 
            echo JRoute::_('index.php?option=com_jvarcade&c&task=editcontest&id=' . $obj->id);
            ?>
"><?php 
            echo $obj->name;
            ?>
</a></td>
					<td style="text-align: center;"><?php 
            echo jvaHelper::formatDate($obj->startdatetime);
            ?>
</td>
					<td style="text-align: center;"><?php 
            echo jvaHelper::formatDate($obj->enddatetime);
            ?>
</td>
					<td style="text-align: center;"><?php 
            echo $obj->islimitedtoslots;
            ?>
</td>
					<td style="text-align: center;"><?php 
            echo $obj->maxplaycount;
            ?>
</td>
				</tr>
		<?php 
            if ($i == 0) {
                $i = 1;
            } else {
Ejemplo n.º 5
0
    ?>
</b><br />
			</td>
		</tr>
		<?php 
} else {
    ?>
		<?php 
    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']);