<?php require './php/page-elements/head-elements.php'; ?> <html> <head> <title>3Targeting | Login</title> <?php insertHead(); ?> </head> <body> <div class="login-container container"> <form class="form-signin"> <h2 class="form-signin-heading">Please sign in</h2> <h3 id="error-msg"></h3> <label for="inputEmail" class="sr-only">Email address</label> <input type="email" id="inputEmail" class="form-control" placeholder="Email address" required autofocus> <label for="inputPassword" class="sr-only">Password</label> <input type="password" id="inputPassword" class="form-control" placeholder="Password" required> <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button> <div class="checkbox"> <label> <input type="checkbox" value="remember-me"> Remember me </label> </div> </form>
<?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();