diff options
author | polo <ordipolo@gmx.fr> | 2022-03-10 03:12:58 +0100 |
---|---|---|
committer | polo <ordipolo@gmx.fr> | 2022-03-10 03:12:58 +0100 |
commit | f331b3ab14f2b404c2089607aba2e2d434cd510d (patch) | |
tree | 09ecb84aa9db383f661d9e9a064b0d3d13d40a8b /public | |
parent | 608856e0853b7e1d9b9b43e69b2012227ccefb43 (diff) | |
download | melaine-f331b3ab14f2b404c2089607aba2e2d434cd510d.zip |
fichiers index.php
Diffstat (limited to 'public')
-rw-r--r-- | public/accueil/index.html | 0 | ||||
-rw-r--r-- | public/accueil/index.php | 3 | ||||
-rw-r--r-- | public/css/accueil.css | 14 | ||||
-rw-r--r-- | public/css/index.html | 0 | ||||
-rw-r--r-- | public/css/index.php | 3 | ||||
-rw-r--r-- | public/fonts/index.html | 0 | ||||
-rw-r--r-- | public/fonts/index.php | 3 | ||||
-rw-r--r-- | public/header_images/index.html | 0 | ||||
-rw-r--r-- | public/header_images/index.php | 3 | ||||
-rw-r--r-- | public/index.html | 0 | ||||
-rw-r--r-- | public/index.php | 3 | ||||
-rw-r--r-- | public/main.js | 21 | ||||
-rw-r--r-- | public/menu/index.html | 0 | ||||
-rw-r--r-- | public/menu/index.php | 3 |
14 files changed, 47 insertions, 6 deletions
diff --git a/public/accueil/index.html b/public/accueil/index.html deleted file mode 100644 index e69de29..0000000 --- a/public/accueil/index.html +++ /dev/null | |||
diff --git a/public/accueil/index.php b/public/accueil/index.php new file mode 100644 index 0000000..f67f1d7 --- /dev/null +++ b/public/accueil/index.php | |||
@@ -0,0 +1,3 @@ | |||
1 | <?php | ||
2 | header('Location: ../index.php'); | ||
3 | exit(); | ||
diff --git a/public/css/accueil.css b/public/css/accueil.css index 0afffeb..7d75e11 100644 --- a/public/css/accueil.css +++ b/public/css/accueil.css | |||
@@ -249,6 +249,14 @@ form | |||
249 | { | 249 | { |
250 | display: flex; | 250 | display: flex; |
251 | }*/ | 251 | }*/ |
252 | footer | ||
253 | { | ||
254 | margin-top: 20px; | ||
255 | padding: 10px 30px; | ||
256 | font-size: 90%; | ||
257 | font-style: italic; | ||
258 | background-color: #9fa6cf; | ||
259 | } | ||
252 | 260 | ||
253 | 261 | ||
254 | /* PC, y compris vieux écrans 800x600 */ | 262 | /* PC, y compris vieux écrans 800x600 */ |
@@ -297,7 +305,7 @@ form | |||
297 | height: 596px; | 305 | height: 596px; |
298 | } | 306 | } |
299 | 307 | ||
300 | #contenu, footer | 308 | #contenu |
301 | { | 309 | { |
302 | width: 630px; | 310 | width: 630px; |
303 | margin: auto; | 311 | margin: auto; |
@@ -377,7 +385,7 @@ form | |||
377 | margin: auto; | 385 | margin: auto; |
378 | } | 386 | } |
379 | 387 | ||
380 | #contenu, footer | 388 | #contenu |
381 | { | 389 | { |
382 | width: 480px; | 390 | width: 480px; |
383 | margin: auto; | 391 | margin: auto; |
@@ -472,7 +480,7 @@ form | |||
472 | height: 316px; | 480 | height: 316px; |
473 | } | 481 | } |
474 | 482 | ||
475 | #contenu, footer | 483 | #contenu |
476 | { | 484 | { |
477 | width: 320px; | 485 | width: 320px; |
478 | margin: auto; | 486 | margin: auto; |
diff --git a/public/css/index.html b/public/css/index.html deleted file mode 100644 index e69de29..0000000 --- a/public/css/index.html +++ /dev/null | |||
diff --git a/public/css/index.php b/public/css/index.php new file mode 100644 index 0000000..f67f1d7 --- /dev/null +++ b/public/css/index.php | |||
@@ -0,0 +1,3 @@ | |||
1 | <?php | ||
2 | header('Location: ../index.php'); | ||
3 | exit(); | ||
diff --git a/public/fonts/index.html b/public/fonts/index.html deleted file mode 100644 index e69de29..0000000 --- a/public/fonts/index.html +++ /dev/null | |||
diff --git a/public/fonts/index.php b/public/fonts/index.php new file mode 100644 index 0000000..f67f1d7 --- /dev/null +++ b/public/fonts/index.php | |||
@@ -0,0 +1,3 @@ | |||
1 | <?php | ||
2 | header('Location: ../index.php'); | ||
3 | exit(); | ||
diff --git a/public/header_images/index.html b/public/header_images/index.html deleted file mode 100644 index e69de29..0000000 --- a/public/header_images/index.html +++ /dev/null | |||
diff --git a/public/header_images/index.php b/public/header_images/index.php new file mode 100644 index 0000000..f67f1d7 --- /dev/null +++ b/public/header_images/index.php | |||
@@ -0,0 +1,3 @@ | |||
1 | <?php | ||
2 | header('Location: ../index.php'); | ||
3 | exit(); | ||
diff --git a/public/index.html b/public/index.html deleted file mode 100644 index e69de29..0000000 --- a/public/index.html +++ /dev/null | |||
diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..f67f1d7 --- /dev/null +++ b/public/index.php | |||
@@ -0,0 +1,3 @@ | |||
1 | <?php | ||
2 | header('Location: ../index.php'); | ||
3 | exit(); | ||
diff --git a/public/main.js b/public/main.js index f3fe6f0..b6021d6 100644 --- a/public/main.js +++ b/public/main.js | |||
@@ -86,19 +86,34 @@ function copierAdresse() | |||
86 | 86 | ||
87 | function nouveauMotdepasse(page) | 87 | function nouveauMotdepasse(page) |
88 | { | 88 | { |
89 | confirm('Le mot de passe a été modifié.'); | 89 | alert('Le mot de passe a été modifié.'); |
90 | window.setTimeout(location=('index.php?page=' + page + '&message=nouveau_mdp'), 0); | 90 | window.setTimeout(location=('index.php?page=' + page + '&message=nouveau_mdp'), 0); |
91 | } | 91 | } |
92 | 92 | ||
93 | // envoie gros fichier ZIP | 93 | // envoie gros fichier ZIP |
94 | // si le fichier ne passe pas la limite de l'hébergeur (php.ini) | 94 | // si le fichier ne passe pas la limite de l'hébergeur (php.ini) |
95 | // l'ouvrir en javascript chaque envoyer progressivement | 95 | // l'ouvrir en javascript chaque envoyer progressivement |
96 | function extraireZIPetEnvoyerUnParUn() | 96 | function getFileInfo() |
97 | { | ||
98 | // l'idi est dans le formulaire | ||
99 | var name = document.getElementById('myFile').files[0].name; | ||
100 | var size = document.getElementById('myFile').files[0].size; | ||
101 | var type = document.getElementById('myFile').files[0].type; | ||
102 | var date = document.getElementById('myFile').files[0].lastModifiedDate; | ||
103 | |||
104 | var infos = name+" "+size+" "+type+" "+date; | ||
105 | alert(infos) | ||
106 | return(infos); | ||
107 | } | ||
108 | |||
109 | function extraireZIPetEnvoyerUnParUn(maxPHPiniWeight, archiveFormat) | ||
97 | { | 110 | { |
98 | // taille du fichier? | 111 | // taille du fichier? |
112 | var fileInfos = getFileInfo(); | ||
113 | alert(fileInfos); | ||
99 | 114 | ||
100 | // taille limite autorisée? | 115 | // taille limite autorisée? |
101 | // obtenue avant avec phpinfo() puis insérée dans le code JS | 116 | // obtenue par php avec: ini_get('upload_max_filesize'); |
102 | 117 | ||
103 | // si le fichier est plus gros que la limite: | 118 | // si le fichier est plus gros que la limite: |
104 | // extraire l'archive | 119 | // extraire l'archive |
diff --git a/public/menu/index.html b/public/menu/index.html deleted file mode 100644 index e69de29..0000000 --- a/public/menu/index.html +++ /dev/null | |||
diff --git a/public/menu/index.php b/public/menu/index.php new file mode 100644 index 0000000..f67f1d7 --- /dev/null +++ b/public/menu/index.php | |||
@@ -0,0 +1,3 @@ | |||
1 | <?php | ||
2 | header('Location: ../index.php'); | ||
3 | exit(); | ||