diff --git a/WEB/Config/Config.php b/WEB/Config/Config.php index 71150a38..fb88aabc 100644 --- a/WEB/Config/Config.php +++ b/WEB/Config/Config.php @@ -14,8 +14,8 @@ $rep = __DIR__ . '/../'; // $password = 'p'; // SQULITE3 -// $dsn = './scripted.db'; -$dsn = 'C:\\wamp64\\www\\scripted.db'; +$dsn = './scripted.db'; +//$dsn = 'C:\\wamp64\\www\\scripted.db'; //Sel de hashage $sel = "JeSuisUnSeldeHashageEtJeSuisUniqueEtTresSecuriseEtJeSuisTresLong"; diff --git a/WEB/View/src/CSS/Main2.css b/WEB/View/src/CSS/Main2.css index 35128d6c..7108748c 100644 --- a/WEB/View/src/CSS/Main2.css +++ b/WEB/View/src/CSS/Main2.css @@ -14,7 +14,7 @@ #imgMain { background-image: url("../../assets/img/SecondMainBack.jpg"); - background-position: center center; + background-position: bottom center; background-attachment: fixed; background-repeat: no-repeat; background-size: cover; @@ -26,4 +26,20 @@ transform: translate(-50%, -50%); width: 85%; height: 70%; + border-radius: 10px; + -webkit-border-radius: 10px; + -moz-border-radius: 10px; + -ms-border-radius: 10px; + -o-border-radius: 10px; +} + +#AllBg { + background-color: #511949; + opacity: 0.8; + background-size: 10px 10px; + border-radius: 5px; + -webkit-border-radius: 5px; + -moz-border-radius: 5px; + -ms-border-radius: 5px; + -o-border-radius: 5px; } diff --git a/WEB/View/src/pages/Main2.html b/WEB/View/src/pages/Main2.html index 90dd9b5d..15ee904c 100644 --- a/WEB/View/src/pages/Main2.html +++ b/WEB/View/src/pages/Main2.html @@ -20,12 +20,16 @@ integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/" crossorigin="anonymous" > - + +
-
- +
+ clear_all
diff --git a/WEB/index.php b/WEB/index.php index 1b8647e6..b404917d 100644 --- a/WEB/index.php +++ b/WEB/index.php @@ -3,7 +3,36 @@ require_once('./Config/Config.php'); require_once('./Config/Autoload.php'); Autoload::charger(); +echo "test1\n"; +// try { +// $con = new Connection($dsn); + +// // $query = "INSERT INTO Utilisateur VALUES (:email,:pseudo,:mdp,:estAdmin)"; +// // $con->executeQuery($query, array( +// // ':email' => array("SUPERsuper", SQLITE3_TEXT), +// // ':pseudo' => array("dragon", SQLITE3_TEXT), +// // ':mdp' => array("qsdfgyutfcvbghytrfcvgbtfcvgh", SQLITE3_TEXT), +// // ':estAdmin' => array(0, SQLITE3_INTEGER) +// // )); + +// $query = "SELECT * FROM Utilisateur"; +// $con->executeQuery($query); +// $results = $con->getResults(); +// foreach ($results as $row) { +// echo $row['email'] . '
'; +// echo $row['pseudo'] . '
'; +// echo $row['mdp'] . '
'; +// echo $row['estAdmin'] . '
'; +// } +// } +// catch (PDOException $e) { +// echo $e->getMessage(); +// } +// catch (Exception $e2) { +// echo $e2->getMessage(); +// } $control = new FrontController(); +// echo "test2\n"; //session_regenerate_id(true); // session_unset();