<?php require "funcz/functionz.php"; $lan = $_REQUEST["lan"]; $album = $_REQUEST["album"]; $photoFile = $_REQUEST["photoFile"]; $photoTtl = addSp($_REQUEST["photoTtl"]); $fromUrl = $_REQUEST["fromUrl"]; print head("de", "homepage"); ?> <body> <div id="wrapper"> <div id="sidebar-wrapper"> <?php print menu($lan, $albumTtl, "foto_e.php", "foto.php", "foto_ch.php"); ?> </div> <div id="page-content-wrapper"> <div class="container-fluid"> <?php topRight(); ?> <div class="row"> <div class="col-lg-12"> <h2><?php print $photoTtl; ?> </h2> </div> </div> <div class="row">
<?php include_once '../models/connect_bdd.php'; include_once "../models/functions_bdd.php"; if ($_SERVER["REQUEST_METHOD"] == "POST") { $value = $_POST["value"]; if ($_POST["name"] == "sp") { $epsg = $_POST["epsg"]; return addSp($value, $epsg); } if ($_POST["name"] == "e") { return addEchelle($value); } if ($_POST["name"] == "t") { return addThematique($value); } } else { return false; }