Exemplo n.º 1
0
		<th title="Número de Atletas (Masculinos/Femininos)">Atletas</th>
		<th title="Número de Auxiliares (Masculinos/Femininos)">Auxiliares</th>
		<th>Média Idades</th>
		<th>
			<img src="/pw606/img/goblet_gold.png" title="Ouro" />
		</th>
		<th>
			<img src="/pw606/img/goblet_silver.png" title="Prata" />
		</th>
		<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" : "";
    ?>
">
Exemplo n.º 2
0
    ?>
	</div>
<?php 
    unset($_SESSION['error_msg']);
}
?>
<table id="tableresults" class="tableclass">
	<tr class="rowheader">
		<th>ID</th>
		<th>Modalidade</th>
		<th title="Total Elementos (Elementos válidos)" >Elementos</th>
		<th>Estado</th>
		<th></th>
	</tr>
<?php 
$delegacoes = delegacaoGetByFiltro($current_user['id_delegacao'], null, array('X'));
while ($deg = foreachRow($delegacoes)) {
    ?>
	<tr class="rowgroup">
		<td colspan="5">
			<img src="/pw606/img/countries/16/<?php 
    echo $deg['id_pais'];
    ?>
.png" />
			<b><?php 
    echo $deg['pais_nome'];
    ?>
</b>
		</td>
	</tr>
<?php 
Exemplo n.º 3
0
				<input type="hidden" name="id_delegacao" value="<?php 
    echo $id_delegacao;
    ?>
" />
				<img src="/pw606/img/countries/16/<?php 
    echo $id_pais;
    ?>
.png" />
				<?php 
    echo $pais_nome;
} else {
    ?>
				<img id="imgDelegacao" src="" />
				<select id="ipt_delegacao" name="id_delegacao" onchange="delegacaoOnChange();" >
<?php 
    $ds = delegacaoGetByFiltro(-1, null, array('X'));
    $dados = array();
    while ($row = foreachRow($ds)) {
        $dados[] = array('id_delegacao' => $row['id_delegacao'], 'id_pais' => $row['id_pais']);
        ?>
					<option value="<?php 
        echo $row['id_delegacao'];
        ?>
"><?php 
        echo $row['pais_nome'];
        ?>
</option>
<?php 
    }
    ?>
	
Exemplo n.º 4
0
			<form action="index.php" method="GET">
				<!--<input type="hidden" name="id_delegacao" value="<?php 
echo dbInteger(-1);
?>
" /> -->
				<input type="image" src="/pw606/img/funnel_delete.png" title="Retirar filtro" onsubmit="submit-form();">
			</form>
		</th>
	</tr>
<?php 
if (isset($_GET['id_delegacao'])) {
    $id_delegacao = dbInteger($_GET['id_delegacao']);
} else {
    $id_delegacao = -1;
}
$delegacoes = delegacaoGetByFiltro($id_delegacao, null, array('X'));
while ($deg = foreachRow($delegacoes)) {
    ?>
	<tr class="rowgroup">
		<td colspan="3">
			<img src="/pw606/img/countries/16/<?php 
    echo $deg['id_pais'];
    ?>
.png" />
			<b><?php 
    echo $deg['pais_nome'];
    ?>
</b>
		</td>
		<td>
			<form action="index.php" method="GET">