コード例 #1
0
ファイル: index.php プロジェクト: ricain59/fortaff
		<th>
			<img src="/pw606/img/goblet_bronze.png" title="Bronze" />
		</th>
		<th></th>
	</tr>
<?php 
$tabela_delegacoes = delegacaoGetByFiltro(-1, null, array('X'));
$alt = true;
while ($row = mysql_fetch_array($tabela_delegacoes)) {
    $alt = !$alt;
    $num_atletas = elementoCount("A", "", $row["id_delegacao"]);
    $num_atletas_masc = elementoCount("A", "M", $row["id_delegacao"]);
    $num_atletas_fem = elementoCount("A", "F", $row["id_delegacao"]);
    $num_auxiliares = elementoCount("X", "", $row["id_delegacao"]);
    $num_auxiliares_masc = elementoCount("X", "M", $row["id_delegacao"]);
    $num_auxiliares_fem = elementoCount("X", "F", $row["id_delegacao"]);
    ?>
		
	<tr class="<?php 
    echo $alt ? "rowalternative" : "";
    ?>
">
		<td><?php 
    echo $row["id_delegacao"];
    ?>
</td>
		<td>
			<img src="/pw606/img/countries/16/<?php 
    echo $row["id_pais"];
    ?>
.png" />
コード例 #2
0
ファイル: index.php プロジェクト: ricain59/fortaff
echo $lines_per_table;
?>
); 
        pager.init(); 
        pager.showPageNav('pager', 'pageNavPosition'); 
        pager.showPage(1);
		pager.funcGroup = function (row) {
			return row.hasClassName("rowgroup");
		}
</script>
<div class="fDireita">&#9794; Atletas Masculinos = <?php 
echo elementoCount('A', 'M');
?>
 | Auxiliares Masculinos = <?php 
echo elementoCount('X', 'M');
?>
</div><br/>
<div class="fDireita">&#9792; Atletas Femininos = <?php 
echo elementoCount('A', 'F');
?>
 | Auxiliares Femininos = <?php 
echo elementoCount('X', 'F');
?>
</div><br/>
<div class="fDireita" style="margin-left:396px;">Total elementos = <?php 
echo elementoCount();
?>
</div>
<!-- <h1 class="footer_h1"></h1> -->
<?php 
include_once rootPath('includes/sijo/master_footer.php', 1);