12-04-2022

mise en place de $_SESSION pour la localisation
This commit is contained in:
2022-04-12 12:22:54 +02:00
parent 629d9fd711
commit 053598bf47
5 changed files with 43 additions and 68 deletions

View File

@@ -12,7 +12,8 @@
<link rel='stylesheet' href='css/open_close_fx.css' />
<link rel='stylesheet' href='css/minimal.css' />
<?php include 'functions.php';
<?php include 'functions.php';
session_start();
$domain = 'sentier';
localize($domain);
?>
@@ -45,8 +46,6 @@ try {
$result = $stmt->fetchAll(PDO::FETCH_ASSOC);
$rowcount = count($result);
//_pr($result);
$conn4 = null;
}
catch(PDOException $e) {
@@ -134,9 +133,6 @@ try {
// data-lcl-author="' . htmlspecialchars($lb['exif']) . '"
//
_pr($lb);
//echo $lb['exif'];
echo '<div class="item">';
echo '<a href ="' . $lb['big'] . '" title="' . htmlspecialchars($lb['title']) . '" data-lcl-txt="' . htmlspecialchars($lb['title']) .'" data-lcl-author="' . htmlspecialchars($meta) . '">';
echo '<img src="' . $lb['thumb'] . '" alt="' . htmlspecialchars($lb['title']) . '" />';