Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Projet ISIS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MARQUE Pierre
Projet ISIS
Commits
19d886ce
Commit
19d886ce
authored
Mar 31, 2022
by
Okthane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logo_favicon
parent
6c6c9dd8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
7 deletions
+9
-7
favicon.ico
img/favicon.ico
+0
-0
index.php
index.php
+1
-0
script.js
script.js
+1
-1
web_server.php
web_server.php
+7
-6
No files found.
img/favicon.ico
0 → 100644
View file @
19d886ce
7.23 KB
index.php
View file @
19d886ce
...
@@ -5,6 +5,7 @@
...
@@ -5,6 +5,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"icon"
href=
"img/favicon.ico"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"style.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"style.css"
>
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin=
"anonymous"
>
<link
href=
"https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel=
"stylesheet"
integrity=
"sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin=
"anonymous"
>
...
...
script.js
View file @
19d886ce
...
@@ -136,7 +136,7 @@ $(document).ready(function(){
...
@@ -136,7 +136,7 @@ $(document).ready(function(){
});
});
$
(
"#choix-email input"
).
attr
(
'checked'
)
$
(
"#choix-email input"
).
attr
(
'checked'
)
$
(
"#choix-email"
).
append
(
$
(
"#choix-email"
).
append
(
`<input type="submit" id="valide-mail" value="Ok c'est bon !">`
`<input type="submit" id="valide-mail" value="Ok c'est bon !"
class="btn btn-secondary" style="background-color:#00b8de"
>`
);
);
}
}
else
{
else
{
...
...
web_server.php
View file @
19d886ce
<?php
<?php
if
(
$_SERVER
[
"REQUEST_METHOD"
]
==
"POST"
){
if
(
$_SERVER
[
"REQUEST_METHOD"
]
==
"POST"
){
$data
=
array
(
$data
=
array
(
"studentId"
=>
$_POST
[
'studentId'
],
"dossier_valide"
=>
false
,
"prenom"
=>
"jean-patrick"
,
"studentId"
=>
$_POST
[
'studentId'
],
"nom"
=>
"doe.remifa.sollasi"
,
"prenom"
=>
"jean-patrick"
,
"mailCalcule"
=>
"patrick.doe.remifa.sollasi@ext.imt-nord-europe.fr"
,
"nom"
=>
"doe.remifa.sollasi"
,
"mailsPossibles"
=>
array
()
"mailCalcule"
=>
"patrick.doe.remifa.sollasi@ext.imt-nord-europe.fr"
,
// "mailsPossibles"=>array("jean-patrick.doe@ext.imt-nord-europe.fr","jean.doe@ext.imt-nord-europe.fr","patrick.doe@ext.imt-nord-europe.fr","jean.remifa.sollasi@ext.imt-nord-europe.fr","jp.doeremifasollasi@ext.imt-nord-europe.fr")
// "mailsPossibles" => array()
"mailsPossibles"
=>
array
(
"jean-patrick.doe@ext.imt-nord-europe.fr"
,
"jean.doe@ext.imt-nord-europe.fr"
,
"patrick.doe@ext.imt-nord-europe.fr"
,
"jean.remifa.sollasi@ext.imt-nord-europe.fr"
,
"jp.doeremifasollasi@ext.imt-nord-europe.fr"
)
);
);
echo
json_encode
(
$data
);
echo
json_encode
(
$data
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment