From 235d9356f09034f0884c47541e4e970a581ccb5d Mon Sep 17 00:00:00 2001 From: Loris BALOCCHI Date: Sat, 8 Jun 2024 19:34:51 +0200 Subject: [PATCH] ajout du dbConnect Co-authored-by: Charpentier Juliette --- account/index.php | 9 +++------ account/login.php | 0 account/my/index.php | 0 account/register/register.php | 0 index.php | 2 +- styles/main.css | 8 ++++++++ tools/dbConnect.php | 10 ++++++++++ 7 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 account/login.php create mode 100644 account/my/index.php create mode 100644 account/register/register.php create mode 100644 tools/dbConnect.php diff --git a/account/index.php b/account/index.php index acb46bc..deb535c 100644 --- a/account/index.php +++ b/account/index.php @@ -32,14 +32,11 @@ - +
-
- + diff --git a/account/login.php b/account/login.php new file mode 100644 index 0000000..e69de29 diff --git a/account/my/index.php b/account/my/index.php new file mode 100644 index 0000000..e69de29 diff --git a/account/register/register.php b/account/register/register.php new file mode 100644 index 0000000..e69de29 diff --git a/index.php b/index.php index 82d9e4d..706ad22 100644 --- a/index.php +++ b/index.php @@ -11,7 +11,7 @@ - Accueil |Jeux Olympiques - Paris 2024 + Accueil | Jeux Olympiques - Paris 2024 diff --git a/styles/main.css b/styles/main.css index 5a404f1..0ce152e 100644 --- a/styles/main.css +++ b/styles/main.css @@ -138,3 +138,11 @@ button:hover { .sign-up a:hover { text-decoration: underline; } + +h1 { + color: white; + font-size: 2rem; + text-align: left; + margin-top: 1rem; + margin-left: 1rem; +} diff --git a/tools/dbConnect.php b/tools/dbConnect.php new file mode 100644 index 0000000..75385c1 --- /dev/null +++ b/tools/dbConnect.php @@ -0,0 +1,10 @@ +alert('Echec de la connexion à la BDD.')"; + die(); +} else { + echo ""; +} +; +?> \ No newline at end of file