Beispiel #1
0
<tr>
<td> <table width="480" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1" class="leftborder">&nbsp;</td>
<td>
<?php 
$events = getGameLogWithServer(5);
$size = sizeof($events);
$count = 0;
if ($size > 0) {
    echo '<div class="bodytext">';
    echo "In news just to hand...<p>";
    while ($count < $size) {
        $event = $events[$count];
        $event->writeEntry();
        echo "(<a href=\"gameinfo.php?ip=" . urlencode($event->getIp()) . "&port=" . $event->getPort() . "&key=" . $event->getKey() . "\">info</a> - <a href=\"winbolo://" . urlencode($event->getIp()) . ":" . $event->getPort() . "\">join</a> - " . $event->getGameType() . " " . getLockedHTML($event) . ")";
        echo "<br>";
        $count++;
    }
    echo '<br></div>';
}
$nis = getNewsItems(6);
$count = 0;
$size = sizeof($nis);
while ($count < $size) {
    $item = $nis[$count];
    ?>
<!-- Beginning of news item table --><table width="470" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td> <div class="subheading"><?php 
    echo $item->getSubject();
Beispiel #2
0
        echo $fullAddress;
        ?>
 (<a href="gameinfo.php?ip=<?php 
        echo urlencode($cs->getIp());
        ?>
&port=<?php 
        echo urlencode($cs->getPort());
        ?>
&key=<?php 
        echo urlencode($cs->getKey());
        ?>
">Info</a> - <a href="winbolo://<?php 
        echo $fullAddress;
        ?>
">Join</a> <?php 
        echo getLockedHTML($cs);
        ?>
)<BR>
		<B>Map Name:</B> <?php 
        echo mcPrepareSearch($cs->getMapName());
        ?>
<BR>
		<B>Version:</B> <?php 
        echo $cs->getVersion();
        ?>
<BR>
		<B><img src="images/tank.gif"> Players:</B> 
		<?php 
        # Do Playesr part
        echo $cs->getNumPlayers();
        $playersCount = 0;
Beispiel #3
0
<tr> 
</tr>
<tr>
<td> <div class="bodytext">

<?php 
$players = $info->getPlayers();
?>
	<B>Server IP:</B> <a href="winbolo://<?php 
echo $info->getIp() . ":" . $info->getPort();
?>
"><?php 
echo $info->getIp();
?>
:<?php 
echo $info->getPort() . "</a> " . getLockedHTML($info);
?>
<BR>
	<B>Map Name:</B> <?php 
echo mcPrepareSearch($info->getMapName());
?>
<BR>
	<B>Version:</B> <?php 
echo $info->getVersion();
?>
<BR>
	<B><img src="/images/tank.gif"> Players:</B> 
	<?php 
# Do Playesr part
echo $info->getNumPlayers();
$playersCount = 0;