function HTML_Item($title = "") { ?> <h4><?php echo _H($title); ?> </h4> <?php }
function HTML_Form($player, $types) { ?> <form class="ccform" action="" method="get" id="find"> <fieldset> <legend>Search</legend> <div class="field-row"> <label class="field-label" for="player">Player</label> <input type="text" class="field" name="player" id="player" maxlength="16" value="<?php echo _H($player); ?> "/> </div> <div class="field-row"> <span class="field-label">Game Type</span> <?php foreach (array('S' => "Standard", 'C' => "Terminator", 'A' => "Assassin", 'P' => "Polymorphic", 'D' => "Doubles", 'T' => "Triples", 'Q' => "Quadruples") as $type => $name) { ?> <input type="checkbox" name="type[]" id="game_type_<?php echo $type; ?> " value="<?php echo $type; ?> "<?php if (in_array($type, $types)) { ?> checked="checked"<?php } ?> /><label for="game_type_<?php echo $type; ?> "><?php echo _H($name); ?> </label> <?php } ?> </div> <br/> <div class="field-row"> <input type="submit" class="button" name="submit" value="Search"/> </div> </fieldset> </form> <br/> <?php }
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 }