From 1b34aa51ddda8b3f72263f94cc3ba747a4fe8634 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 24 Jul 2017 14:06:04 +0200 Subject: [PATCH 1/2] Aggiunto modulo wf --- anagrafica/funzioni.php | 25 +++ anagrafica/index.php | 74 +++++++ anagrafica/iscritti_edit.php | 403 ++++++++++++++++++++++++++++++++++ anagrafica/iscritti_lista.php | 78 +++++++ anagrafica/wf_gest.php | 61 +++++ 5 files changed, 641 insertions(+) create mode 100644 anagrafica/funzioni.php create mode 100755 anagrafica/index.php create mode 100755 anagrafica/iscritti_edit.php create mode 100755 anagrafica/iscritti_lista.php create mode 100755 anagrafica/wf_gest.php diff --git a/anagrafica/funzioni.php b/anagrafica/funzioni.php new file mode 100644 index 0000000..75c3358 --- /dev/null +++ b/anagrafica/funzioni.php @@ -0,0 +1,25 @@ + diff --git a/anagrafica/index.php b/anagrafica/index.php new file mode 100755 index 0000000..771e0fe --- /dev/null +++ b/anagrafica/index.php @@ -0,0 +1,74 @@ + + + + + + Utente limitato + + Utente non limitato + + Dettaglio + + + + Inviati + + + + + + + + Ricevuti + + + + + + +riga(); +} +$tabella->close(); +view_footer(); +?> diff --git a/anagrafica/iscritti_edit.php b/anagrafica/iscritti_edit.php new file mode 100755 index 0000000..41c7317 --- /dev/null +++ b/anagrafica/iscritti_edit.php @@ -0,0 +1,403 @@ + + + + + + + + +
+ +intestazione (array("","Cognome","","Nome","","Codice Fiscale","")); +?> + + + Atleta Attivo + + Atleta non Attivo + + + + + + + + +riga(5); +$tabella->close(); + +$tabella = new html (0,"90%",array(5,5,5,10,5,20,5,5,5,10,0)); +$tabella->intestazione (array("","Sesso","","Data di nascita","","Luogo di nascita","","Prov.","","Nazionalità","")); +?> + + + + + + + + + + + + + + + +riga(20); +$tabella->close(); + +$tabella = new html (0,"90%",array(5,15,5,15,5,15,5,10,0)); +$tabella->intestazione (array("","Palestra","","Cintura","","Categoria","","Scad. certificato","")); +?> + + + + + + + + + + + + + + + +riga(20); +$tabella->close(); + +$tabella = new html (0,"90%",array(5,20,5,10,5,20,5,5,0)); +$tabella->intestazione (array("","Indirizzo","","CAP","","Città","","Prov.","")); +?> + + + + + + + + + + + +riga(5); +$tabella->close(); + +$tabella = new html (0,"90%",array(5,20,5,30,0)); +$tabella->intestazione (array("","Telefono","","Mail","")); +?> + + + + + + + +riga(10); +$tabella->close(); + +$tabella = new html (0,"90%",array(5,90,5)); +?> + + +
+ + + + + Dati genitore se minore + + +riga(5); +$tabella->close(); + +$tabella = new html (0,"90%",array(5,20,5,20,5,15,0)); +$tabella->intestazione (array("","Cognome","","Nome","","Codice Fiscale","")); +?> + + + + + + + + + +riga(5); +$tabella->close(); + +$tabella = new html (0,"90%",array(5,5,5,10,5,20,5,5,5,10,0)); +$tabella->intestazione (array("","Sesso","","Data di nascita","","Luogo di nascita","","Prov.","","Nazionalità","")); +?> + + + + + + + + + + + + + + + +riga(10); +$tabella->close(); + +$tabella = new html (0,"90%",array(5,90,5)); +?> + + +
+ + + + + Dati Societari + + +riga(5); +$tabella->close(); + +$tabella = new html (0,"90%",array(5,20,5,10,5,10,0)); +$tabella->intestazione (array("","Codice Societario","","Data richiesta","","Data Delibera","")); +?> + + + + + + + + + +riga(5); +$tabella->close(); + +$tabella = new html (0,"90%",array(5,20,5,10,0)); +$tabella->intestazione (array("","Tessera FITA","","Data FITA","")); +?> + + + + + + + + +riga(5); +$tabella->close(); + +$tabella = new html (0,"90%",array(5,20,0)); +$tabella->riga(); ?> + + + + + + + +close(); ?> +
+ diff --git a/anagrafica/iscritti_lista.php b/anagrafica/iscritti_lista.php new file mode 100755 index 0000000..735f93b --- /dev/null +++ b/anagrafica/iscritti_lista.php @@ -0,0 +1,78 @@ + + +
+ + + + + + +riga(); +$query = " SELECT + wf_iscritto.id, + wf_iscritto.attivo, + wf_iscritto.cognome, + wf_iscritto.nome, + wf_cinture.cintura, + wf_palestre.palestra, + DATE_FORMAT(wf_iscritto.nascita_data, '%d.%m.%Y') AS nascita_data, + 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 )) { +?> + + + Utente attivo + + Utente non attivo + + Modifica Utente + + + + + + + + + + + + + + + +close(); +?> +
+ diff --git a/anagrafica/wf_gest.php b/anagrafica/wf_gest.php new file mode 100755 index 0000000..a173ae6 --- /dev/null +++ b/anagrafica/wf_gest.php @@ -0,0 +1,61 @@ + + + + + + + + + + From 43924f183132a3b01b9e42e8975af597ba59f0f6 Mon Sep 17 00:00:00 2001 From: Claudio M Date: Mon, 24 Jul 2017 15:06:40 +0200 Subject: [PATCH 2/2] sistemazione directory Committer: Claudio M modified: core/config.php renamed: anagrafica/funzioni.php -> whitefox/funzioni.php renamed: anagrafica/index.php -> whitefox/index.php renamed: anagrafica/iscritti_edit.php -> whitefox/iscritti_edit.php renamed: anagrafica/iscritti_lista.php -> whitefox/iscritti_lista.php renamed: anagrafica/wf_gest.php -> whitefox/wf_gest.php --- core/config.php | 6 +++--- {anagrafica => whitefox}/funzioni.php | 0 {anagrafica => whitefox}/index.php | 0 {anagrafica => whitefox}/iscritti_edit.php | 0 {anagrafica => whitefox}/iscritti_lista.php | 0 {anagrafica => whitefox}/wf_gest.php | 0 6 files changed, 3 insertions(+), 3 deletions(-) rename {anagrafica => whitefox}/funzioni.php (100%) rename {anagrafica => whitefox}/index.php (100%) rename {anagrafica => whitefox}/iscritti_edit.php (100%) rename {anagrafica => whitefox}/iscritti_lista.php (100%) rename {anagrafica => whitefox}/wf_gest.php (100%) diff --git a/core/config.php b/core/config.php index 21ca7fe..6d93a01 100755 --- a/core/config.php +++ b/core/config.php @@ -1,9 +1,9 @@