示例#1
0
        </li>
    <?php 
}
?>

    </ol>

</div><div id="games">

    <div id="dynamic-games">

    </div>

    <div id="new-games"></div>
    
    <div id="latest-clanwar"><?php 
render_war($latest_clanwar, false, true);
?>
</div>


    <div id="existing-games"><?php 
foreach ($games as $game) {
    render_game($game);
}
?>
</div></div>

<?php 
require "live/bits.inc.php";
echo $foot;
示例#2
0
<?php

require_once "../render.inc.php";
require "../render_game.inc.php";
$clanwar = json_decode(file_get_contents('http://woop.ac:81/ActionFPS-PHP-Iterator/api/clanwar.php?id=' . rawurlencode($_GET['id'])), true);
?>
<div id="game">
<?php 
render_war($clanwar, true);
?>

<?php 
foreach ($clanwar['games'] as $game) {
    ?>
    <?php 
    render_game($game);
}
?>
</div><?php 
echo $foot;
示例#3
0
<?php

require_once "../render.inc.php";
require "../render_game.inc.php";
$clanwars = json_decode(file_get_contents('http://woop.ac:81/ActionFPS-PHP-Iterator/api/clanwars.php?count=50'), true);
?>
<div id="games">
    <br /><br />
    <?php 
foreach ($clanwars as $war) {
    render_war($war);
}
?>
</div>
<?php 
echo $foot;