\n";
//print "

\n";
}
-function page2($titre) {
- printheader2($titre);
- domenu();
- print "
\n";
-}
// finpage
// ajoute les tags en fin de page
From 79f916bc274978c62b64b6878e86f16ecd93bd71 Mon Sep 17 00:00:00 2001
From: Xavier Beaudouin
Date: Wed, 22 Mar 2023 12:17:39 +0100
Subject: [PATCH 3/6] Remove old code
---
include/function.inc.php | 30 ------------------------------
1 file changed, 30 deletions(-)
diff --git a/include/function.inc.php b/include/function.inc.php
index 6f631ea..b7c6abd 100644
--- a/include/function.inc.php
+++ b/include/function.inc.php
@@ -23,36 +23,6 @@ function getimage() {
}
}
-// Captcha (cf http://www.webelix.net/trucs_et_astuces-(PHP)_Anti_Robots_Spammeurs.html)
-
-function aff_captcha()
-{
- // Tableau de valeurs
- $input = array(2, 35, 15, 6, 40, 4, 8, 22, 11, 5, 32, 10, 1, 12, 26, 16, 55, 17);
- // Extraction aléatoire de deux valeurs du tableau
- $rand_keys = array_rand($input, 2);
- // Creation et calcul de la somme des deux valeurs
- $question = 'Quelle est la somme de '.$input[$rand_keys[0]].' + '.$input[$rand_keys[1]].' = ';
- $add = md5($input[$rand_keys[0]] + $input[$rand_keys[1]]);
-
- echo '';
-}
-
-function valid_captcha()
-{
-// if (md5($_POST['reponse']) == $_POST['captcha'])
- if (md5(get_post('reponse')) == get_post('captcha'))
- return true;
- else
- return false;
-}
-
//
// escape_string
// Action: Escape a string
From 4930520d5e2a6c1da9f5856ba67b551f4a074c18 Mon Sep 17 00:00:00 2001
From: Xavier Beaudouin
Date: Wed, 22 Mar 2023 16:20:31 +0100
Subject: [PATCH 4/6] Footer
---
css/base.css | 37 ++++++++++++++++++++++++++++++++++++-
include/bottom.inc.php | 10 ++++++++++
2 files changed, 46 insertions(+), 1 deletion(-)
diff --git a/css/base.css b/css/base.css
index 5ff757c..8f7435d 100644
--- a/css/base.css
+++ b/css/base.css
@@ -1,4 +1,4 @@
-body { margin:0px; background-color:#fff; height:100% }
+body { margin:0px; background-color:#ffff; height:100% }
html { height:100% }
img { margin:0px; border-style:none }
button { margin:0px; border-style:none; padding:0px; background-color:transparent; vertical-align:top }
@@ -161,3 +161,38 @@ strong { font-weight:bold }
text-decoration: underline;
}
+.row {
+ display: flex;
+ flex-wrap: wrap;
+ /*
+ margin-right: -15px;
+ margin-left: -15px;
+ */
+}
+
+.col {
+ flex-basis: 0;
+ -webkit-box-flex: 1;
+ flex-grow: 1;
+ max-width: 100%;
+}
+
+.footer {
+ position: bottom;
+ background-color: #343030;
+ padding: 5px;
+ padding-left: 10px;
+ font-size: 0.8em;
+ text-align: right;
+ color: white;
+}
+
+.footer a {
+ color: white;
+ text-decoration: none;
+}
+
+.footer a:hover {
+ color: white;
+ text-decoration: underline;
+}
diff --git a/include/bottom.inc.php b/include/bottom.inc.php
index 2f323c1..6366082 100644
--- a/include/bottom.inc.php
+++ b/include/bottom.inc.php
@@ -1,4 +1,14 @@
+
+