Aggiunta sezione WhiteFox
This commit is contained in:
77
wf/iscritti_lista.php
Executable file
77
wf/iscritti_lista.php
Executable file
@@ -0,0 +1,77 @@
|
||||
<?php
|
||||
include_once ("../core/config.php");
|
||||
$UTENTE = login();
|
||||
$DIRITTI = diritti('Admin');
|
||||
view_top();
|
||||
?>
|
||||
|
||||
<form name="" method="post">
|
||||
<?php $tabella = new html (0,"90%", array (3,5,2,15,2,15,2,10,2,10,2,10,2,10,0)); ?>
|
||||
<tr>
|
||||
<td class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="spazioh"><a href="pool_ip.php"><img src="<?php print $CONF['base_url'] ?>/img/addresource.png"></a></td>
|
||||
<td colspan=13 class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
</tr>
|
||||
<?php
|
||||
$tabella->riga();
|
||||
$query = " SELECT
|
||||
wf_iscritto.id,
|
||||
wf_iscritto.attivo,
|
||||
wf_iscritto.cognome,
|
||||
wf_iscritto.nome,
|
||||
wf_cinture.cintura,
|
||||
wf_palestre.palestra,
|
||||
wf_iscritto.id_categoria,
|
||||
DATE_FORMAT(wf_iscritto.certificato, '%d.%m.%Y') AS certificato
|
||||
FROM
|
||||
wf_iscritto
|
||||
JOIN
|
||||
wf_cinture
|
||||
ON
|
||||
wf_iscritto.id_cintura = wf_cinture.id
|
||||
JOIN
|
||||
wf_palestre
|
||||
ON
|
||||
wf_iscritto.id_palestra = wf_palestre.id
|
||||
ORDER BY
|
||||
cognome,
|
||||
nome
|
||||
|
||||
|
||||
";
|
||||
|
||||
$res = mysql_query( $query, $DB_ID );
|
||||
$tabella->intestazione (array("", "", "", "Cognome", "", "Nome", "", "Cintura", "", "categoria", "", "Palestra", "", "Scad. cert.", ""));
|
||||
$tabella->riga();
|
||||
while ($dato = mysql_fetch_array ( $res )) {
|
||||
?>
|
||||
<tr>
|
||||
<?php
|
||||
if ($dato['attivo']) {
|
||||
?>
|
||||
<td class="col3btn"><a href="wf_gest.php?azione=wf_off&id=<?php print $dato['id']?>"><img src="<?php print $CONF['base_url'] ?>/img/attivo.gif" ALT="Utente attivo" TITLE="Utente attivo"></a></td>
|
||||
<?php } else { ?>
|
||||
<td class="col3btn"><a href="wf_gest.php?azione=wf_on&id=<?php print $dato['id']?>"><img src="<?php print $CONF['base_url'] ?>/img/non_attivo.gif" ALT="Utente non attivo" TITLE="Utente non attivo"></a></td>
|
||||
<?php } ?>
|
||||
<td class="col3btn"><a href="iscritti_edit.php?id=<?php print $dato['id'] ?>"><img src="<?php print $CONF['base_url'] ?>/img/modify.gif" ALT="Modifica Utente" TITLE="Modifica Utente"></a></td>
|
||||
<td class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="colip"><?php print $dato['cognome'] ?></td>
|
||||
<td class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="colip"><?php print $dato['nome'] ?></td>
|
||||
<td class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="colip"><?php print $dato['cintura'] ?></td>
|
||||
<td class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="colip"><?php print $dato['id_categoria'] ?></td>
|
||||
<td class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="colip"><?php print $dato['palestra'] ?></td>
|
||||
<td class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
<td class="colip"><?php print $dato['certificato'] ?></td>
|
||||
<td class="spazioh"><img src="<?php print $CONF['base_url'] ?>/img/spazio.gif"></td>
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
$tabella->close();
|
||||
?>
|
||||
</form>
|
||||
<?php view_footer(); ?>
|
||||
Reference in New Issue
Block a user