Initial commit for radiantrh project

This commit is contained in:
2025-12-07 08:36:26 +00:00
commit 6dc580b90b
3334 changed files with 2221683 additions and 0 deletions

37
Modele/Finger.php Executable file
View File

@@ -0,0 +1,37 @@
<?php
require_once 'Framework/Modele.php';
class Finger extends Modele {
public function vider_finger_temp($user_id)
{
$sql = 'call sp_p_vider_finger(?)';
$this->executerRequete($sql, array($user_id));
}
public function verifier_tentative_identification($user_id)
{
$sql = 'call sp_p_compteur_tentative_identification(?)';
$resultat = $this->executerRequete($sql, array($user_id));
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne['nbTentative'];
}
public function compteur_tentative_identification($user_id)
{
$sql = 'call sp_p_compteur_tentative_identification(?)';
$resultat = $this->executerRequete($sql, array($user_id));
$ligne = $resultat->fetch(PDO::FETCH_ASSOC);
return $ligne['nbTentative'];
}
public function saveenroleur($user_id)
{
$codePrestataire = $_SESSION['codePrestataire_C'];
$user = $_SESSION['login'];
$sql = 'call sp_p_save_enroleur(?, ?, ?)';
$this->executerRequete($sql, array($user_id, $codePrestataire, $user));
}
}