<?php header("Cache-Control: no-store"); require_once "../lib/core.php"; $TvLab = new TvLab(); $HeadLayoutSet = array("SiteName" => SITE_TITLE, "PageTitle" => "Exact page", "Description" => "Cool Description", "css" => array("reset", "common", "general"), "js" => array("compatibility", "jquery-1.11.0.min", "handlebars", "waterfall", "jquery-ui"), "Prepend" => '<link rel="icon" type="image/png" href="img/favicon-board.ico" />', "Append" => ''); insertHead($HeadLayoutSet, "../nodes/HeadTpl.php"); //-- May be made a Context Variable here? //--- Include same module include "../desktop/video.php"; echo ' <div id="PreviewWindow"> <iframe src="//player.vimeo.com/video/' . $VideoId . '?portrait=0" width="650" height="366" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe> </div> '; insertFooter("../nodes/FooterTpl.php");
insertHead($app, $config); include "controler/connexion.ctrl.php"; insertFooter($app, $config); }); $app->get("/inscription", function () use($app, $config) { //echo("<h1>Page inscription</h1>"); insertHead($app, $config); include "controler/inscription.ctrl.php"; insertFooter($app, $config); }); $app->get("/recherche", function () use($app, $config) { insertHead($app, $config); include "controler/recherche.ctrl.php"; insertFooter($app, $config); }); $app->get("/user", function () use($app, $config) { insertHead($app, $config); include "controler/afficher_utilisateur.ctrl.php"; insertFooter($app, $config); }); $app->get("/check_login", function () use($app, $config) { include "controler/check_login.ctrl.php"; insertFooter($app, $config); }); $app->get("/controler/check_signin.ctrl.php", function () use($app, $config) { include "controler/check_signin.ctrl.php"; }); $app->get("/controler/check_email.ctrl.php", function () use($app, $config) { include "controler/check_email.ctrl.php"; }); $app->run();