Merge branch 'main' of https://gitea.lyc-lecastel.fr/pierre.renaudot/AP44
This commit is contained in:
commit
77d482c5dc
@ -17,8 +17,6 @@ class PdoGsb
|
|||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
PdoGsb::$pdo = new PDO(PdoGsb::$serveur . ';' . PdoGsb::$bdd, PdoGsb::$user, PdoGsb::$mdp);
|
PdoGsb::$pdo = new PDO(PdoGsb::$serveur . ';' . PdoGsb::$bdd, PdoGsb::$user, PdoGsb::$mdp);
|
||||||
|
|
||||||
//PdoGsb::$monPdo->query("SET CHARACTER SET utf8");SET client_encoding = 'UTF8';
|
|
||||||
}
|
}
|
||||||
public function _destruct()
|
public function _destruct()
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,7 @@ if (isset($_GET['currentList'])) {
|
|||||||
$dateFormHFMax = date("Y-m-t", mktime(0, 0, 0, date('m'), 1, date('Y'))); // retourne le dernier jour du mois (30 ou 31)
|
$dateFormHFMax = date("Y-m-t", mktime(0, 0, 0, date('m'), 1, date('Y'))); // retourne le dernier jour du mois (30 ou 31)
|
||||||
|
|
||||||
} elseif (isset($_GET['dateListing'])) {
|
} elseif (isset($_GET['dateListing'])) {
|
||||||
//Données pour nourire la vue
|
//Données pour nourir la vue
|
||||||
$userId = $_REQUEST['userId'];
|
$userId = $_REQUEST['userId'];
|
||||||
$date = $_REQUEST['dateListing'];
|
$date = $_REQUEST['dateListing'];
|
||||||
|
|
||||||
@ -38,6 +38,7 @@ if (isset($_GET['currentList'])) {
|
|||||||
$dateFormHFMax = date("Y-m-t", mktime(0, 0, 0, date('m', $dateTimeStamp), 1, date('Y', $dateTimeStamp))); // retourne le dernier jour du mois (30 ou 31)
|
$dateFormHFMax = date("Y-m-t", mktime(0, 0, 0, date('m', $dateTimeStamp), 1, date('Y', $dateTimeStamp))); // retourne le dernier jour du mois (30 ou 31)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//Date du header en français
|
//Date du header en français
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
@ -12,13 +12,13 @@
|
|||||||
|
|
||||||
</a>
|
</a>
|
||||||
<ul class="dropdown-menu dropdown-menu-dark text-small shadow" aria-labelledby="dropdownUser1">
|
<ul class="dropdown-menu dropdown-menu-dark text-small shadow" aria-labelledby="dropdownUser1">
|
||||||
<li><a class="dropdown-item" href="controleurs/c_deconnexion.php">Sign out</a></li>
|
<li><a class="dropdown-item" href="controleurs/c_deconnexion.php">Déconnexion</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<ul class="nav nav-pills flex-column mb-sm-auto mb-0 align-items-center align-items-sm-start" id="menu">
|
<ul class="nav nav-pills flex-column mb-sm-auto mb-0 align-items-center align-items-sm-start" id="menu">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a href="index.php" class="nav-link align-middle px-0">
|
<a href="index.php" class="nav-link align-middle px-0">
|
||||||
<i class="fs-4 bi-house"></i> <span class="ms-1 d-none d-sm-inline">Home</span>
|
<i class="fs-4 bi-house"></i> <span class="ms-1 d-none d-sm-inline">Accueil</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<!--
|
<!--
|
||||||
|
@ -197,9 +197,9 @@ function calcPrixTotalFrsHorsF() {
|
|||||||
|
|
||||||
console.log($('td#MttFrsHF').length)
|
console.log($('td#MttFrsHF').length)
|
||||||
|
|
||||||
if ($('td#MttFrsHF').length == 0) {
|
// if ($('td#MttFrsHF').length == 0) {
|
||||||
vf
|
// vf
|
||||||
}
|
// }
|
||||||
|
|
||||||
var prixTotal = 0;
|
var prixTotal = 0;
|
||||||
$('td#MttFrsHF').each(function () {
|
$('td#MttFrsHF').each(function () {
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
<div class ="erreur">
|
|
||||||
<ul>
|
|
||||||
<?php
|
|
||||||
foreach($_REQUEST['erreurs'] as $erreur)
|
|
||||||
{
|
|
||||||
echo "<li>$erreur</li>";
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
Loading…
x
Reference in New Issue
Block a user