From ec0ab53cb249e71690a029adc98117911646bd3f Mon Sep 17 00:00:00 2001 From: Bruno21 Date: Sat, 14 Dec 2024 11:54:27 +0100 Subject: [PATCH] Validation HTML --- admin.php | 60 +++++++++++++++++++------------ clean_bdd.php | 43 ++++++++++++---------- delete_bdd.php | 42 +++++++++++++++------- edit_bdd.php | 18 ++++++---- index.php | 44 +++++++++++------------ insert_bdd.php | 18 ++++++---- maps.php | 37 ++++++++++++------- modify_bdd.php | 28 ++++++++------- photo-du-mois.php | 65 +++++++++++++++++++-------------- query_bdd.php | 17 +++++---- requests.php | 10 ++++-- view_bdd.php | 92 +++++++++++++++++++---------------------------- view_bdd2.php | 80 ++++++++++++++++------------------------- 13 files changed, 299 insertions(+), 255 deletions(-) diff --git a/admin.php b/admin.php index 60d4436..27afb85 100644 --- a/admin.php +++ b/admin.php @@ -1,7 +1,9 @@ @@ -9,25 +11,28 @@ - - + + + <?php echo gettext('Logged in'); ?> + + + + + + + + + - - + - -

- @@ -36,24 +41,23 @@ $base = 'db_photo.sqlite3'; if (file_exists($base)) { - //echo '
Base SQLite: ' . $base . ' !
'; echo '

Base SQLite: ' . __DIR__ . '/' . $base . ' !

'; } ?>

- + @@ -62,10 +66,20 @@ - - +
+
+ + + +
+
+

© 2013- sur-le-sentier.fr

diff --git a/clean_bdd.php b/clean_bdd.php index 82970ba..7878b01 100644 --- a/clean_bdd.php +++ b/clean_bdd.php @@ -1,8 +1,12 @@ - @@ -11,20 +15,26 @@ + <?php echo gettext('Clean photos in Sqlite base'); ?> + + + + + + + + + + - - - - - -


+


0) { $conn = null; } - - -//echo '

' . gettext('Find duplicate images in database: ') . '

'; - ?> - + ' . gettext("Log out") . '' : ''; ?> + +

© 2013- sur-le-sentier.fr

- - - diff --git a/delete_bdd.php b/delete_bdd.php index 3ebe889..d5e11ab 100644 --- a/delete_bdd.php +++ b/delete_bdd.php @@ -1,8 +1,12 @@ - + <?php echo gettext('View photos in Sqlite base'); ?> + + + + + + + + - - - - - + + + + + + @@ -210,13 +224,15 @@ if ($req_delete != "") { //echo '
' . $req_delete . '
'; } ?> + + ' . gettext("Log out") . '' : ''; ?> - +

© 2013- sur-le-sentier.fr

- - + + diff --git a/edit_bdd.php b/edit_bdd.php index d0a0825..82ee63a 100644 --- a/edit_bdd.php +++ b/edit_bdd.php @@ -1,8 +1,12 @@ -getMessage(); } ?> + + ' . gettext("Log out") . '' : ''; ?> - +

© 2013- sur-le-sentier.fr

diff --git a/index.php b/index.php index 0a6722e..9045725 100644 --- a/index.php +++ b/index.php @@ -1,16 +1,25 @@ - es_ES +_pr($_SESSION); // [language] => es_ES +_pr($_POST); +_pr($_GET); // [lang] => es_ES +*/ ?> - - + - + Sur le sentier... @@ -22,34 +31,25 @@ include 'functions.php'; - + - - + + - + - - - + ' . gettext("Log out") . '' : ''; ?> + +

© 2013- sur-le-sentier.fr

diff --git a/maps.php b/maps.php index a7c8440..78ce510 100644 --- a/maps.php +++ b/maps.php @@ -1,22 +1,35 @@ - - + + <?php echo gettext("Maps"); ?> + + + + + + + + + - - - + + +