Ajout de l'envoie de mail

pull/24/head
Leni BEAULATON 3 months ago
commit ad306dce2a

@ -12,8 +12,10 @@ $base = '';
$login = '';
$mdp = '';
$racine='/~lebeaulato/WF-Website'; // /~kekentin/WF/WF-Website
//$racine='/WF-Website';
//$racine='/~kemondejar/WF-Website'; // /~kekentin/WF/WF-Website /~lebeaulato/WF-Website
$racine='/WF-Website';
//Vues

@ -15,8 +15,8 @@ if(!isset($_SESSION['theme'])){
require_once __DIR__ . '/config/config.php';
require __DIR__ . '/vendor/autoload.php';
//$co = new \Gateway\Connection('pgsql:host=localhost;dbname=postgres;', 'postgres', 'sucepute');
$co = new \Gateway\Connection('pgsql:host=localhost;dbname=dbkekentin;', 'kekentin', 'passwd');
$co = new \Gateway\Connection('pgsql:host=localhost;dbname=wikifantasy3;', 'postgres', 'postgres');
//$co = new \Gateway\Connection('pgsql:host=localhost;dbname=dbkekentin;', 'kekentin', 'passwd');
//twig
$loader = new \Twig\Loader\FilesystemLoader('vue/templates');

@ -6,13 +6,13 @@
--main-dark-gradient : linear-gradient(45deg, #4a148c, #7b1fa2);
--main-dark-other-color : #000000;
--main-light-background-color: #ffffff;
--main-light-background-color: #cccccc;
/*--main-light-background-color: #ffffff;*/
--main-light-text-color : #000000;
--main-light-gradient : linear-gradient(90deg, #78b3eb, #64c1ff);
--main-light-text-color : #000;
--main-light-gradient : linear-gradient(90deg, #46BE73, #BAEBF6);
/*--main-light-gradient : linear-gradient(-90deg, #f3e0f7, #dd9aff);*/
/*--main-light-gradient : linear-gradient(45deg, #73CFF6, #DE95CA);*/
--main-light-other-color : #f8eaff;
--main-light-other-color : #46BE73;
/*--main-light-other-color : #f8eaff;*/
/*--main-light-other-color : #d2d2d8;*/
}

@ -1,7 +1,7 @@
<h1>Quiz</h1>
<div class="quiz">
<h2> {{ question.question }} </h2>
<a id="timer"> 10 seconds left .. </a>
{#<a id="timer"> 10 seconds left .. </a>#}
<form id="quizForm" method="POST" >
<div class="answers">

Loading…
Cancel
Save