Compare commits

..

4 Commits

Author SHA1 Message Date
60e7ce4a87 Fix double footer 2023-03-22 19:57:22 +01:00
aa819baf43 Add legal 2023-03-22 16:37:29 +01:00
4930520d5e Footer 2023-03-22 16:20:31 +01:00
79f916bc27 Remove old code 2023-03-22 12:17:39 +01:00
4 changed files with 76 additions and 31 deletions

View File

@ -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;
}

View File

@ -1,4 +1,14 @@
</div>
</div>
<div class="footer fixed-bottom">
<div class="row">
<div class="col" style="text-align: left">
<a href="/legal.php">Contact and legal informations</a>
</div>
<div class="col">2023 - RIS LIS SASU
</div>
</div>
</div>
</div>
</body>
</html>

View File

@ -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<61>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 <strong>'.$input[$rand_keys[0]].' + '.$input[$rand_keys[1]].' = </strong>';
$add = md5($input[$rand_keys[0]] + $input[$rand_keys[1]]);
echo '<table cellspacing="0" cellpadding="6" style="border: 1px solid red">
<tr>
<td><strong>Anti-Spam : </strong>'. $question .'</td>
<td><input name="reponse" type="text" size="3" maxlength="3" value="" style="font-weight: bold" />
<input name="captcha" type="hidden" value="'. $add .'" /></td>
</tr>
</table>';
}
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

30
legal.php Normal file
View File

@ -0,0 +1,30 @@
<?php
require_once("include/function.inc.php");
page("Mentions légales");
?>
<p class="texte"><center><img src="/logo/png/logo-no-backgroud.png" height="100px" width="100px" srcset="/logo/svg/logo-no-background.svg" alt="RIS LSI Consulting"></center></p>
<p class="textetitre">Mensions légales</p>
<p class="texte">
<i>Mise à jour du 01 avril 2023</i>
</p>
<p class="texte">
<b>Edition du site Internet</b><br/>
Les sites rislsi.com, rislsi.eu, rislsi.fr et rislsi.net sont édités par RIS LSI, SASU au capital de 1000€, dont le siège social est sité au 21 rue du plateau, 54400 Longwy, France (info@rsilsi.eu).<br/>
RCS en cours
</p>
<p class="texte">
<b>Hébergeur du site internet</b><br/>
Les sites sont hébergés chez RIS LSI, en France.
</p>
<p class="texte">
<b>Collecte de données</b><br/>
Aucune collecte de données hormis les adresses IP conservées dans les durées légales en rigeur en France.<br/>
Aucune données ne sont cédées à des tiers.<br/>
</p>
<p class="texte">
<b>Images et graphismes</b><br/>
Toutes les images sont libre de droits ou assimilés. Si l'une d'entre elle est arrivée sur ce site n'ayant pas de license libre, merci de nous l'indiquer par email, nous feront le nécessaire pour corriger ce manquement.
</p>
<?php
finpage();
?>