<?php include "globals.php"; include "includes/lib_common.php"; include "includes/lib_html.php"; HTML_Header("CL7 Player Rank"); HTML_Content_Title("CL7 Player Rank", ""); HTML_AnimatedLoadURL("cgi-bin/clanplayerrank.cgi?player=" . urlencode(session('username'))); HTML_Footer();
<?php include "globals.php"; include "includes/lib_common.php"; include "includes/lib_html.php"; HTML_Header("CL7 Scoreboards"); HTML_Content_Title("CL7 Scoreboards", ""); $cgi = "cgi-bin/league_scoreboard.cgi"; $scores = array(array("mode" => "finished", "title" => "Finished matches only:"), array("mode" => "ongoing", "title" => "Including ongoing matches:")); foreach ($scores as $score) { HTML_Item($score["title"]); HTML_AnimatedLoadURL($cgi . "?mode=" . _U($score["mode"]) . "&clan=" . _U($CLAN['shortname']), $score["mode"]); } HTML_Legend(); HTML_Item($CLAN['name'] . " matches:"); HTML_AnimatedLoadURL($cgi . "?mode=matches&clanid=" . _U($CLAN['clanid']), "list"); HTML_Footer(); function HTML_Item($title = "") { ?> <h4><?php echo _H($title); ?> </h4> <?php } function HTML_Legend() { ?> <h4>Legend:</h4> <ul>
function HTML_AnimatedLoadNestedURLs($outer_url, $inner_url, $id = "1", $sep = "", $outer_header = "", $outer_footer = "", $inner_header = "", $inner_footer = "") { ?> <div id="animatedloadurl_content_<?php echo _H($id); ?> _outer" align="center"> <?php echo $outer_header; ?> <?php HTML_AnimatedLoadURL($inner_url, $id . "_inner", $inner_header, false, $inner_footer); ?> <?php echo $sep; ?> <img src="images/static/loading-animation-7.gif" alt="loading..."/> <?php echo $outer_footer; ?> </div> <script type="text/javascript"> $(<?php echo _J("#animatedloadurl_content_" . $id . "_outer"); ?> ).load(<?php echo _J(_H($outer_url)); ?> .replace(/\x26amp;/g, "\x26")); </script> <?php }