Validation HTML
This commit is contained in:
44
index.php
44
index.php
@@ -1,16 +1,25 @@
|
||||
<?php include 'localize.php';
|
||||
<?php
|
||||
session_start();
|
||||
include 'i18n_setup.php';
|
||||
/*include 'localize.php';
|
||||
$domain = 'sentier';
|
||||
localize($domain);
|
||||
*/
|
||||
include 'functions.php';
|
||||
/*
|
||||
_pr($_REQUEST); // [lang] => es_ES
|
||||
_pr($_SESSION); // [language] => es_ES
|
||||
_pr($_POST);
|
||||
_pr($_GET); // [lang] => es_ES
|
||||
*/
|
||||
?>
|
||||
<?php session_start(); ?>
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="Sur le sentier: photos prises au cours de mes ballades" />
|
||||
<meta name="description" content="Sur le sentier: <?php echo gettext('photos taken during my walks'); ?>...">
|
||||
<title>Sur le sentier...</title>
|
||||
|
||||
<meta name="msapplication-TileColor" content="#2b5797">
|
||||
@@ -22,34 +31,25 @@ include 'functions.php';
|
||||
<link rel="manifest" href="/icons/site.webmanifest">
|
||||
<link rel="shortcut icon" href="/icons/favicon.ico">
|
||||
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
|
||||
<script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
|
||||
<script src="vegas/js/vegas.min.js"></script>
|
||||
<script src="js/matomo-sls.js"></script>
|
||||
<link href='https://fonts.googleapis.com/css?family=Coming+Soon' rel='stylesheet' type='text/css'>
|
||||
<!-- Patrick+Hand|Josefin+Sans|Coming+Soon|Comfortaa|Pontano+Sans|Rock+Salt -->
|
||||
<link rel="stylesheet" type="text/css" href="vegas/js/vegas.min.css" />
|
||||
<link rel="stylesheet" type="text/css" href="vegas/js/vegas-style.css" />
|
||||
<link rel="stylesheet" type="text/css" href="vegas/js/vegas.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="vegas/js/vegas-style.css">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/sls.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/sls.css">
|
||||
|
||||
<?php
|
||||
//Get a list of file paths using the glob function.
|
||||
$fileList = glob('vegas/img/*.{jpg,jpeg,JPG,JPEG,heic,HEIC,webp,WEBP}', GLOB_BRACE);
|
||||
|
||||
$pv_sslport=443;
|
||||
$pv_serverport=80;
|
||||
$pv_servername="sur-le-sentier.fr";
|
||||
|
||||
$pv_URIprotocol = isset($_SERVER["HTTPS"]) ? (($_SERVER["HTTPS"]==="on" || $_SERVER["HTTPS"]===1 || $_SERVER["SERVER_PORT"]===$pv_sslport) ? "https://" : "http://") : (($_SERVER["SERVER_PORT"]===$pv_sslport) ? "https://" : "http://");
|
||||
$host = $pv_URIprotocol . $_SERVER['HTTP_HOST'];
|
||||
|
||||
$wp = (($_SERVER['SERVER_NAME'] == "sur-le-sentier.fr") ? "blog" : "wordpress");
|
||||
?>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<?php //echo "Session language: " . $_SESSION['language']; ?>
|
||||
<script>
|
||||
|
||||
$("#exemple, body").vegas({
|
||||
@@ -99,7 +99,7 @@ $("#exemple, body").vegas({
|
||||
</div>
|
||||
|
||||
<div class="icn">
|
||||
<!--a title="mail" href="mailto:contact.clicclac.info?subject=[Contact] sur-le-sentier.fr"-->
|
||||
<!--a title="mail" href="mailto:contact.clicclac.info?subject=[Contact] sur-le-sentier.fr"-->host()
|
||||
<a title="mail" href="/<?php echo $wp; ?>/contact/">
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
|
||||
<metadata> Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata>
|
||||
@@ -109,7 +109,8 @@ $("#exemple, body").vegas({
|
||||
</div>
|
||||
|
||||
<div class="icn">
|
||||
<a title="rss" href="<?php echo $host . "/" . $wp; ?>/feed/">
|
||||
<?php //echo $host . "/" . $wp; ?>
|
||||
<a title="rss" href="<?php host() . "/" . $wp; ?>/feed/">
|
||||
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
|
||||
<metadata> Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata>
|
||||
<g><path d="M143.6,722.7c-37.1,0-68.7,13-94.7,39c-26,26-39,57.5-39,94.6c0,37.1,13,68.7,39,94.7c26,26,57.5,39,94.7,39s68.7-13,94.6-39c26-26,39-57.5,39-94.7c0-37.1-13-68.7-39-94.6C212.3,735.7,180.7,722.7,143.6,722.7z"/><path d="M451.2,548.7c-52.4-52.9-112.5-95-180.3-126.3c-67.7-31.3-138.7-50-213-56h-3.5c-12.1,0-22,3.9-29.9,11.8c-9.7,8.3-14.6,19.3-14.6,32.7v94c0,11.6,3.8,21.6,11.5,29.9c7.7,8.4,17.3,13,28.9,13.9c106.2,10.2,197.1,53,272.5,128.4c75.4,75.4,118.2,166.2,128.4,272.5c0.9,11.6,5.6,21.2,13.9,28.9c8.4,7.7,18.3,11.5,29.9,11.5h94c13.5,0,24.4-4.9,32.7-14.6c8.8-9.3,12.8-20.4,11.8-33.4c-6-74.2-24.7-145.2-56-212.9C546.2,661.2,504.1,601.1,451.2,548.7z"/><path d="M906.4,594.3c-49.6-111.1-117.8-209.8-204.6-296.1c-86.3-86.8-185-155-296.1-204.6C294.5,43.9,178.2,16.1,56.6,10h-2.1c-12.1,0-22.3,4.2-30.6,12.5c-9.3,8.3-13.9,19-13.9,32v99.5c0,11.6,4.1,21.7,12.2,30.3c8.1,8.6,18,13.1,29.6,13.6c99.8,6,194.5,29.7,284.3,71c89.8,41.3,167.7,95,233.8,161.1C636,496.2,689.7,574.1,731,663.9c41.3,89.8,64.7,184.5,70.3,284.3c0.5,11.6,5,21.5,13.6,29.6c8.6,8.1,18.9,12.2,31,12.2h99.5c13,0,23.6-4.6,32-13.9c9.3-9.3,13.4-20.2,12.5-32.7C983.9,821.8,956,705.4,906.4,594.3z"/></g>
|
||||
@@ -136,7 +137,7 @@ $("#exemple, body").vegas({
|
||||
|
||||
|
||||
<div class="indexForm">
|
||||
<form name="langSelect" action="index.php" method="get" >
|
||||
<form name="langSelect" action="index.php" method="post" >
|
||||
<select name="lang" id="lang" class="mySelect">
|
||||
<option value="">Language</option>
|
||||
<option value="de_DE">German</option>
|
||||
@@ -150,8 +151,7 @@ $("#exemple, body").vegas({
|
||||
</div>
|
||||
|
||||
<div class="vegas-info">
|
||||
<!-- close sesssion -->
|
||||
<!--a href="close.php">close</a--><?php echo gettext('Powered by'); ?> <a href="https://wordpress.org">WordPress</a> - <a href="https://www.zenphoto.org">Zenphoto</a> - <a href="https://vegas.jaysalvat.com">Vegas Background Slideshow 2</a>. <a href="">License des photos</a>. © 2013-<?php echo date('Y'); ?> sur-le-sentier.fr
|
||||
<?php echo gettext('Powered by'); ?> <a href="https://wordpress.org">WordPress</a> - <a href="https://www.zenphoto.org">Zenphoto</a> - <a href="https://vegas.jaysalvat.com">Vegas Background Slideshow 2</a>. <a href="">License des photos</a>. © 2013-<?php echo date('Y'); ?> sur-le-sentier.fr
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user