first commit

This commit is contained in:
2022-03-10 17:17:43 +01:00
commit 652bed79a8
76 changed files with 4955 additions and 0 deletions

118
vegas/index.php Normal file
View File

@@ -0,0 +1,118 @@
<!DOCTYPE html>
<html lang="fr-FR">
<head>
<meta charset="UTF-8" />
<title>Sur le sentier...</title>
<link rel="Shortcut Icon" href="../favicon.ico" type="image/x-icon" />
<!--script src="https://zeptojs.com/zepto.min.js"></script-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<script type="text/javascript" src="js/vegas.min.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="js/vegas.min.css" />
<link rel="stylesheet" type="text/css" href="js/vegas-style.css" />
<?php
//Get a list of file paths using the glob function.
$fileList = glob('img/*');
$host = (($_SERVER['HTTPS'] == 'on') ? 'https' : "http") . '://' . $_SERVER['HTTP_HOST'];
$root = $_SERVER['DOCUMENT_ROOT'];
include($root.'/lib2/localize.php');
$dir_locales = $root . '/locales';
$liste_locale = list_dir($dir_locales);
if ((!isset($_POST['lang'])) and (!isset($_GET['lang']))) $langue = locale_language_from_browser($myLanguages);
else $langue = $_REQUEST['lang'];
$domain = 'clicclac';
putenv('LC_ALL=' . $langue);
$loc = setlocale(LC_ALL, $langue);
bindtextdomain($domain, $root . '/locales/');
bind_textdomain_codeset($domain, 'UTF-8');
textdomain($domain);
$nation = array('fr_FR' => gettext('French'), 'en_US' => gettext('English') , 'de_DE' => gettext('German'), 'es_ES' => gettext('Spanish') );
?>
</head>
<body>
<script type="text/javascript">
$("#exemple, body").vegas({
slides: [
<?php
foreach($fileList as $filename){
echo '{ src: "' . $filename . '" },' . "\r\n";
}
?>
],
animation: 'random',
animationDuration: '20000'
});
</script>
<div class="vegas-menu">
<div class="tweet-it">
<div class="icn">
<a title="Flickr" href="https://www.flickr.com/photos/funnymac/">
<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="M500,10C229.4,10,10,229.5,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.5,770.6,10,500,10L500,10z M312.1,651.8c-85.2,0-154.3-69-154.3-154.2c0-85.2,69.1-154.2,154.3-154.2c85.2,0,154.2,69,154.2,154.2C466.3,582.9,397.3,651.8,312.1,651.8z M699.1,651.8c-85.2,0-154.2-69-154.2-154.2c0-85.2,69-154.2,154.2-154.2s154.2,69,154.2,154.2C853.3,582.9,784.3,651.8,699.1,651.8z"/></g>
</svg>
</a>
</div>
<div class="icn">
<a title="500px" href="https://500px.com/bruno_21">
<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="M538.2,510.1c-11.8-8.5-24.2-16.1-38.4-19.6c-21.7-5.4-41.5-2.3-56.9,15.4c-12,13.7-17.7,29.9-17.6,49.3c0.1,1.8,0.3,4.6,0.5,7.5c2.3,26.9,20.3,47.1,46.3,51.9c14.3,2.6,28.2,0.7,41.7-4.6c28.8-11.2,50.8-31.4,70.8-54.1c1.5-1.7,0.8-2.5-0.4-3.7C569.8,537.1,555.1,522.3,538.2,510.1z"/><path d="M768.7,488.7c-18.2,2.4-33.2,11.4-47.3,22.2c-15.8,12.1-29,26.8-42.6,41.2c-1.8,1.9-1,2.9,0.3,4.4c9.5,10.7,19.4,21.1,30.6,30.1c18.6,15,38.7,26.5,63.2,28.8c27.6,2.6,50-10.4,59.9-35.4c3.4-8.7,4.9-17.7,4.9-28.3c0.1-2.6-0.3-6.5-0.8-10.4C832.7,506.6,803.4,484.1,768.7,488.7z"/><path d="M937.9,10H62.1C33.3,10,10,33.3,10,62.1v875.7c0,28.8,23.3,52.1,52.1,52.1h875.7c28.8,0,52.1-23.3,52.1-52.1V62.1C990,33.3,966.7,10,937.9,10z M899.5,607c-19.6,54.6-65.1,85.8-123.2,85.1c-35.4-0.4-65.6-14.1-93.2-35c-18-13.7-33.4-30-48.3-47c-2.5-2.8-3.7-3.5-6.7-0.3c-15.2,15.8-29.6,32.3-46.6,46.2c-21.5,17.6-45.3,30.7-73.2,34.5c-49.3,6.7-91.8-6.3-124.9-44.9c-7.5-8.8-13.1-18.7-17.8-29.3c-0.6-1.3-0.8-2.9-2.3-4c-6.5,14-14.5,26.9-25,38.1c-26.6,28.2-59.3,42.9-97.9,44.3c-27.9,1-55.3-2.6-80.7-14.7c-42.7-20.2-66.1-53.9-69-101.4c-0.2-3.6,0.8-4.6,4.4-4.5c22.9,0.2,45.9,0.2,68.9,0c3.4,0,4.4,1,5,4.4c4.4,26.2,18.5,44.4,44.9,51c36.8,9.1,70.6-11.7,80.3-49.6c6.5-25.5,3.7-49.9-13.2-71.2c-11.2-14.1-26.5-21-44.4-22.2c-25.8-1.8-46.8,6.7-62.1,28.1c-1.4,2-3.1,2.5-5.4,2.5c-20.7-0.1-41.4-0.1-62,0c-3.6,0-4.3-1-3.7-4.4c10.7-59.7,21.4-119.4,32-179.1c1.5-8.2,3-16.3,4.3-24.5c0.4-2.7,1.5-3.7,4.4-3.7c68.7,0.1,137.4,0.1,206.1,0c3.3,0,4,1.1,4,4.1c-0.1,18.4-0.2,36.8,0,55.2c0,3.8-0.9,4.8-4.7,4.8c-49.2-0.1-98.4,0-147.6-0.2c-4.1,0-5.9,0.7-6.7,5.3c-4.3,26.2-9.1,52.3-13.7,78.5c-0.2,1.1-1,2.6,0.2,3.3c1.3,0.8,2.1-0.8,2.9-1.6c22.5-21.7,50-28.3,80.4-26.7c29.2,1.6,54.1,12.5,74.6,33.3c8.6,8.7,15.2,18.7,20.6,29.6c0.6,1.2,1.2,2.4,2.2,4.5c5.8-15.3,13-28.7,23.1-40.2c22.3-25.4,50.5-39,84-42.1c47.2-4.4,86,13.9,120,44.9c14.1,12.8,26.5,27.2,38.8,41.8c2.6,3.1,3.7,3.4,6.5,0.1c15.8-18.7,31.5-37.5,50.8-52.7c22.4-17.5,47-30.2,75.6-33.5c70.6-8.3,129.6,30.2,144.7,103.1C912.1,547.2,910.1,577.5,899.5,607z"/></g>
</svg>
</a>
</div>
<div class="icn">
<a title="mail" href="mailto:contact.clicclac.info?subject=[Contact] sur-le-sentier.fr">
<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="M956.7,141H43.3C24.9,141,10,155.9,10,174.2v651.5c0,18.3,14.9,33.3,33.3,33.3h913.5c18.3,0,33.3-14.9,33.3-33.3V174.2C990,155.9,975.1,141,956.7,141z M950.5,687L693.1,483.4c86.1-75,202.8-176.7,257.4-224.4V687L950.5,687z M950.5,180.4v26.3c-42.2,36.7-358.1,312.1-385.3,335.8c-27.6,24-54.8,26.6-65.2,26.6c-10.4,0-37.7-2.6-65.3-26.6c-27.2-23.7-343.1-299-385.3-335.8v-26.3H950.5L950.5,180.4z M309.6,485.7L49.5,691.4V259.1C104.7,307.2,223.3,410.5,309.6,485.7z M49.5,819.6v-77.9l290.4-229.6c35.8,31.2,62,54,69,60.1c37.6,32.8,76.3,36.3,91.2,36.3s53.6-3.5,91.2-36.3c7.2-6.3,34.5-30.1,71.7-62.4l287.7,227.5v82.3H49.5L49.5,819.6z"/></g>
</svg>
</a>
</div>
<div class="icn">
<a title="rss" href="https://silverbook.local/wordpress/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>
</svg>
</a>
</div>
</div>
<h1> sur-le-sentier... </h1>
<div class="menu">
<div class="texte"><a href="/wordpress/" title="<?php echo gettext('Blog'); ?>"> <?php echo gettext('Go to the <span class="green">blog...</span>'); ?></a></div>
<div class="texte"><a href="/zenphoto/" title="<?php echo gettext('Gallery'); ?>"> <?php echo gettext('Visit the <span class="green">gallery...</span>'); ?></a></div>
<div class="texte"><a href="/photoblog/ce-mois.php" title="<?php echo gettext('This month'); ?>"> <?php echo gettext('<span class="green">Latest</span> images...'); ?></a></div>
</div>
</div>
<div class="vegas-info">
<?php echo gettext('Powered by'); ?> <a href="http://wordpress.org">WordPress</a> - <a href="http://www.zenphoto.org">Zenphoto</a> - <a href="http://vegas.jaysalvat.com">Vegas Background Slideshow 2</a>. <a href="">License des photos</a>. (c) 2013-<?php echo date('Y'); ?> sur-le-sentier.fr
</div>
</body>
</html>