Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Theme-WordPress-Adullact-org
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
9
Issues
9
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Adullact
Theme-WordPress-Adullact-org
Commits
b4549fb2
Commit
b4549fb2
authored
Jul 04, 2019
by
Nathan Peraldi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit: formatted code for better visibility
parent
6b016c89
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
52 additions
and
157 deletions
+52
-157
category-21.php
category-21.php
+7
-25
category-27.php
category-27.php
+15
-29
category-28.php
category-28.php
+15
-29
category-29.php
category-29.php
+15
-29
contact.php
contact.php
+0
-45
No files found.
category-21.php
View file @
b4549fb2
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
//nombre de membres à afficher par ligne
//nombre de membres à afficher par ligne
$maxMembersPerLine
=
3
;
$maxMembersPerLine
=
3
;
get_header
();
get_header
();
?>
?>
...
@@ -11,19 +10,19 @@ get_header();
...
@@ -11,19 +10,19 @@ get_header();
<ul>
<ul>
<?php
<?php
global
$post
;
//variable wp
$order
=
"asc"
;
$order
=
"asc"
;
//on récup l'id de la catégorie de l'url
//on récup l'id de la catégorie de l'url
$currentCategoryID
=
explode
(
"="
,
$_SERVER
[
'REQUEST_URI'
])[
1
];
$currentCategoryID
=
explode
(
"="
,
$_SERVER
[
'REQUEST_URI'
])[
1
];
//et on récup le nom à partir de l'id
//et on récup le nom à partir de l'id
$category
=
get_the_category_by_id
(
$currentCategoryID
);
$category
=
get_the_category_by_id
(
$currentCategoryID
);
//il se peut que l'id de la catégorie ne soit pas précisée dans l'url et get_the_category retourne un tableau d'erreurs.
//il se peut que l'id de la catégorie ne soit pas précisée dans l'url et get_the_category retourne un tableau d'erreurs.
if
(
gettype
(
$category
)
==
"object"
)
{
if
(
gettype
(
$category
)
==
"object"
)
{
$category
=
"Adhérent"
;
$category
=
"Adhérent"
;
}
}
//on récup le tri croissant / décroissant
//on récup le tri croissant / décroissant
if
(
isset
(
$_GET
[
"order"
]))
{
if
(
isset
(
$_GET
[
"order"
]))
{
...
@@ -33,21 +32,12 @@ get_header();
...
@@ -33,21 +32,12 @@ get_header();
$order
=
"asc"
;
$order
=
"asc"
;
}
}
}
}
global
$post
;
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'cat'
=>
$currentCategoryID
,
'orderby'
=>
'title'
,
'order'
=>
$order
);
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'cat'
=>
$currentCategoryID
,
'orderby'
=>
'title'
,
'order'
=>
$order
);
?>
<?php
$myposts
=
get_posts
(
$args
);
$myposts
=
get_posts
(
$args
);
echo
"<br>"
;
echo
"<br>"
;
$count
=
0
;
//va servir pour les retour à la ligne lorsqu'on a affiché le max d'éléments par ligne
$count
=
0
;
childrens_of_member_category
(
$category
);
childrens_of_member_category
(
$category
);
echo
"<div class='adullact-members-list'>"
;
echo
"<div class='adullact-members-list'>"
;
...
@@ -55,10 +45,9 @@ get_header();
...
@@ -55,10 +45,9 @@ get_header();
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
$id
=
get_the_id
();
$id
=
get_the_id
();
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
$count
+=
1
;
$count
+=
1
;
?>
?>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
class=
"adullact-member"
>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
class=
"adullact-member"
>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_title
();
?>
<br>
<?php
the_title
();
?>
<br>
...
@@ -79,14 +68,7 @@ get_header();
...
@@ -79,14 +68,7 @@ get_header();
</ul>
</ul>
<?php
get_footer
();
?>
<?php
//get_sidebar();
get_footer
();
?>
...
...
category-27.php
View file @
b4549fb2
<?php
<?php
//nombre de membres à afficher par ligne
$maxMembersPerLine
=
3
;
$maxMembersPerLine
=
3
;
get_header
();
get_header
();
?>
?>
...
@@ -10,21 +10,21 @@ get_header();
...
@@ -10,21 +10,21 @@ get_header();
<ul>
<ul>
<?php
<?php
global
$post
;
//variable wp
$order
=
"asc"
;
$order
=
"asc"
;
//on récup l'id de la catégorie de l'url
$currentCategoryID
=
explode
(
"="
,
$_SERVER
[
'REQUEST_URI'
])[
1
];
$currentCategoryID
=
explode
(
"="
,
$_SERVER
[
'REQUEST_URI'
])[
1
];
//et on récup le nom à partir de l'id
$category
=
get_the_category_by_id
(
$currentCategoryID
);
$category
=
get_the_category_by_id
(
$currentCategoryID
);
childrens_of_member_category
(
$category
);
//il se peut que l'id de la catégorie ne soit pas précisée dans l'url et get_the_category retourne un tableau d'erreurs.
if
(
gettype
(
$category
)
==
"object"
)
{
$category
=
"Adhérent"
;
}
//on récup le tri croissant / décroissant
if
(
isset
(
$_GET
[
"order"
]))
{
if
(
isset
(
$_GET
[
"order"
]))
{
$order
=
$_GET
[
"order"
];
$order
=
$_GET
[
"order"
];
...
@@ -32,29 +32,22 @@ get_header();
...
@@ -32,29 +32,22 @@ get_header();
$order
=
"asc"
;
$order
=
"asc"
;
}
}
}
}
global
$post
;
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'cat'
=>
$currentCategoryID
,
'orderby'
=>
'title'
,
'order'
=>
$order
);
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'cat'
=>
$currentCategoryID
,
'orderby'
=>
'title'
,
'order'
=>
$order
);
?>
<?php
$myposts
=
get_posts
(
$args
);
$myposts
=
get_posts
(
$args
);
echo
"<br>"
;
echo
"<br>"
;
$count
=
0
;
//va servir pour les retour à la ligne lorsqu'on a affiché le max d'éléments par ligne
$count
=
0
;
childrens_of_member_category
(
$category
);
echo
"<div class='adullact-members-list'>"
;
echo
"<div class='adullact-members-list'>"
;
echo
"<div class='adullact-line'>"
;
echo
"<div class='adullact-line'>"
;
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
$id
=
get_the_id
();
$id
=
get_the_id
();
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
$count
+=
1
;
$count
+=
1
;
?>
?>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
class=
"adullact-member"
>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
class=
"adullact-member"
>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_title
();
?>
<br>
<?php
the_title
();
?>
<br>
...
@@ -75,14 +68,7 @@ get_header();
...
@@ -75,14 +68,7 @@ get_header();
</ul>
</ul>
<?php
get_footer
();
?>
<?php
//get_sidebar();
get_footer
();
?>
...
...
category-28.php
View file @
b4549fb2
<?php
<?php
//nombre de membres à afficher par ligne
$maxMembersPerLine
=
3
;
$maxMembersPerLine
=
3
;
get_header
();
get_header
();
?>
?>
...
@@ -10,21 +10,21 @@ get_header();
...
@@ -10,21 +10,21 @@ get_header();
<ul>
<ul>
<?php
<?php
global
$post
;
//variable wp
$order
=
"asc"
;
$order
=
"asc"
;
//on récup l'id de la catégorie de l'url
$currentCategoryID
=
explode
(
"="
,
$_SERVER
[
'REQUEST_URI'
])[
1
];
$currentCategoryID
=
explode
(
"="
,
$_SERVER
[
'REQUEST_URI'
])[
1
];
//et on récup le nom à partir de l'id
$category
=
get_the_category_by_id
(
$currentCategoryID
);
$category
=
get_the_category_by_id
(
$currentCategoryID
);
childrens_of_member_category
(
$category
);
//il se peut que l'id de la catégorie ne soit pas précisée dans l'url et get_the_category retourne un tableau d'erreurs.
if
(
gettype
(
$category
)
==
"object"
)
{
$category
=
"Adhérent"
;
}
//on récup le tri croissant / décroissant
if
(
isset
(
$_GET
[
"order"
]))
{
if
(
isset
(
$_GET
[
"order"
]))
{
$order
=
$_GET
[
"order"
];
$order
=
$_GET
[
"order"
];
...
@@ -32,29 +32,22 @@ get_header();
...
@@ -32,29 +32,22 @@ get_header();
$order
=
"asc"
;
$order
=
"asc"
;
}
}
}
}
global
$post
;
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'cat'
=>
$currentCategoryID
,
'orderby'
=>
'title'
,
'order'
=>
$order
);
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'cat'
=>
$currentCategoryID
,
'orderby'
=>
'title'
,
'order'
=>
$order
);
?>
<?php
$myposts
=
get_posts
(
$args
);
$myposts
=
get_posts
(
$args
);
echo
"<br>"
;
echo
"<br>"
;
$count
=
0
;
//va servir pour les retour à la ligne lorsqu'on a affiché le max d'éléments par ligne
$count
=
0
;
childrens_of_member_category
(
$category
);
echo
"<div class='adullact-members-list'>"
;
echo
"<div class='adullact-members-list'>"
;
echo
"<div class='adullact-line'>"
;
echo
"<div class='adullact-line'>"
;
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
$id
=
get_the_id
();
$id
=
get_the_id
();
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
$count
+=
1
;
$count
+=
1
;
?>
?>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
class=
"adullact-member"
>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
class=
"adullact-member"
>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_title
();
?>
<br>
<?php
the_title
();
?>
<br>
...
@@ -75,14 +68,7 @@ get_header();
...
@@ -75,14 +68,7 @@ get_header();
</ul>
</ul>
<?php
get_footer
();
?>
<?php
//get_sidebar();
get_footer
();
?>
...
...
category-29.php
View file @
b4549fb2
<?php
<?php
//nombre de membres à afficher par ligne
$maxMembersPerLine
=
3
;
$maxMembersPerLine
=
3
;
get_header
();
get_header
();
?>
?>
...
@@ -10,21 +10,21 @@ get_header();
...
@@ -10,21 +10,21 @@ get_header();
<ul>
<ul>
<?php
<?php
global
$post
;
//variable wp
$order
=
"asc"
;
$order
=
"asc"
;
//on récup l'id de la catégorie de l'url
$currentCategoryID
=
explode
(
"="
,
$_SERVER
[
'REQUEST_URI'
])[
1
];
$currentCategoryID
=
explode
(
"="
,
$_SERVER
[
'REQUEST_URI'
])[
1
];
//et on récup le nom à partir de l'id
$category
=
get_the_category_by_id
(
$currentCategoryID
);
$category
=
get_the_category_by_id
(
$currentCategoryID
);
childrens_of_member_category
(
$category
);
//il se peut que l'id de la catégorie ne soit pas précisée dans l'url et get_the_category retourne un tableau d'erreurs.
if
(
gettype
(
$category
)
==
"object"
)
{
$category
=
"Adhérent"
;
}
//on récup le tri croissant / décroissant
if
(
isset
(
$_GET
[
"order"
]))
{
if
(
isset
(
$_GET
[
"order"
]))
{
$order
=
$_GET
[
"order"
];
$order
=
$_GET
[
"order"
];
...
@@ -32,29 +32,22 @@ get_header();
...
@@ -32,29 +32,22 @@ get_header();
$order
=
"asc"
;
$order
=
"asc"
;
}
}
}
}
global
$post
;
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'cat'
=>
$currentCategoryID
,
'orderby'
=>
'title'
,
'order'
=>
$order
);
$args
=
array
(
'posts_per_page'
=>
10
,
'offset'
=>
0
,
'cat'
=>
$currentCategoryID
,
'orderby'
=>
'title'
,
'order'
=>
$order
);
?>
<?php
$myposts
=
get_posts
(
$args
);
$myposts
=
get_posts
(
$args
);
echo
"<br>"
;
echo
"<br>"
;
$count
=
0
;
//va servir pour les retour à la ligne lorsqu'on a affiché le max d'éléments par ligne
$count
=
0
;
childrens_of_member_category
(
$category
);
echo
"<div class='adullact-members-list'>"
;
echo
"<div class='adullact-members-list'>"
;
echo
"<div class='adullact-line'>"
;
echo
"<div class='adullact-line'>"
;
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
foreach
(
$myposts
as
$post
)
:
setup_postdata
(
$post
);
$id
=
get_the_id
();
$id
=
get_the_id
();
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
$url
=
get_metadata
(
"post"
,
$id
,
"project_url"
)[
0
];
$count
+=
1
;
$count
+=
1
;
?>
?>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
class=
"adullact-member"
>
<a
href=
"
<?php
echo
$url
;
?>
"
target=
"_blank"
class=
"adullact-member"
>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_post_thumbnail
(
array
(
"200"
,
"200"
));
?>
<br>
<?php
the_title
();
?>
<br>
<?php
the_title
();
?>
<br>
...
@@ -75,14 +68,7 @@ get_header();
...
@@ -75,14 +68,7 @@ get_header();
</ul>
</ul>
<?php
get_footer
();
?>
<?php
//get_sidebar();
get_footer
();
?>
...
...
contact.php
View file @
b4549fb2
<?php
<?php
/*
/*
Template Name: Formulaire d'adhésion
Template Name: Formulaire d'adhésion
*/
*/
$errors
=
array
(
$errors
=
array
(
//Liste des éléments pouvant avoir une erreur
//Liste des éléments pouvant avoir une erreur
...
@@ -26,14 +24,12 @@ $errors = array(
...
@@ -26,14 +24,12 @@ $errors = array(
"code"
=>
""
"code"
=>
""
);
);
//le dossier où se trouvent les fichiers
//le dossier où se trouvent les fichiers
$workingDirectory
=
$_SERVER
[
"CONTEXT_DOCUMENT_ROOT"
]
.
'/wp-content/themes/theme-wordpress-adullact-org/'
;
$workingDirectory
=
$_SERVER
[
"CONTEXT_DOCUMENT_ROOT"
]
.
'/wp-content/themes/theme-wordpress-adullact-org/'
;
$grillePath
=
$workingDirectory
.
'grille.csv'
;
$grillePath
=
$workingDirectory
.
'grille.csv'
;
$periodSelectionPath
=
$workingDirectory
.
"periodSelection.php"
;
$periodSelectionPath
=
$workingDirectory
.
"periodSelection.php"
;
$JSPath
=
'/wp-content/themes/theme-wordpress-adullact-org/adhesionForm.js'
;
$JSPath
=
'/wp-content/themes/theme-wordpress-adullact-org/adhesionForm.js'
;
$debug_mode
=
false
;
$debug_mode
=
false
;
$resultat
=
false
;
$resultat
=
false
;
...
@@ -53,10 +49,7 @@ function tryToSetInputSelect($key, $value)
...
@@ -53,10 +49,7 @@ function tryToSetInputSelect($key, $value)
if
(
$_POST
[
$key
]
==
$value
)
{
if
(
$_POST
[
$key
]
==
$value
)
{
echo
"selected"
;
echo
"selected"
;
}
}
}
}
}
}
function
tryToShowError
(
$var
)
function
tryToShowError
(
$var
)
...
@@ -68,7 +61,6 @@ function tryToShowError($var)
...
@@ -68,7 +61,6 @@ function tryToShowError($var)
}
}
$numberOfErrors
=
0
;
$numberOfErrors
=
0
;
if
(
isset
(
$_POST
))
{
if
(
isset
(
$_POST
))
{
if
(
isset
(
$_POST
[
"firstSelection"
]))
{
if
(
isset
(
$_POST
[
"firstSelection"
]))
{
...
@@ -77,14 +69,11 @@ if (isset($_POST)) {
...
@@ -77,14 +69,11 @@ if (isset($_POST)) {
echo
"<br> début du traitement <br>"
;
echo
"<br> début du traitement <br>"
;
}
}
$errors
=
traitement
(
$_POST
,
$errors
);
$errors
=
traitement
(
$_POST
,
$errors
);
if
(
$debug_mode
)
{
if
(
$debug_mode
)
{
echo
"<br> fin du traitement <br>"
;
echo
"<br> fin du traitement <br>"
;
}
}
foreach
(
$errors
as
$key
=>
$value
)
{
foreach
(
$errors
as
$key
=>
$value
)
{
if
(
$debug_mode
)
{
if
(
$debug_mode
)
{
...
@@ -95,20 +84,14 @@ if (isset($_POST)) {
...
@@ -95,20 +84,14 @@ if (isset($_POST)) {
$numberOfErrors
+=
1
;
$numberOfErrors
+=
1
;
}
}
}
}
if
(
$debug_mode
)
{
if
(
$debug_mode
)
{
echo
"<br> nombre d'erreurs : "
.
$numberOfErrors
.
" <br>"
;
echo
"<br> nombre d'erreurs : "
.
$numberOfErrors
.
" <br>"
;
var_dump
(
$errors
);
var_dump
(
$errors
);
}
}
if
(
$numberOfErrors
==
0
)
{
if
(
$numberOfErrors
==
0
)
{
sendAdhesionMail
(
$_POST
);
sendAdhesionMail
(
$_POST
);
header
(
"Location:"
);
header
(
"Location:"
);
}
}
}
}
}
}
...
@@ -122,8 +105,6 @@ get_header();
...
@@ -122,8 +105,6 @@ get_header();
<main
id=
"main"
class=
"site-main"
role=
"main"
>
<main
id=
"main"
class=
"site-main"
role=
"main"
>
<?php
<?php
include_once
$periodSelectionPath
;
include_once
$periodSelectionPath
;
...
@@ -177,7 +158,6 @@ get_header();
...
@@ -177,7 +158,6 @@ get_header();
"ï"
=>
"i"
,
"ï"
=>
"i"
,
"ç"
=>
"c"
,
"ç"
=>
"c"
,
"É"
=>
"e"
,
"É"
=>
"e"
,
"È"
=>
"e"
,
"È"
=>
"e"
,
"Ê"
=>
"e"
,
"Ê"
=>
"e"
,
...
@@ -191,12 +171,8 @@ get_header();
...
@@ -191,12 +171,8 @@ get_header();
"Ç"
=>
"c"
,
"Ç"
=>
"c"
,
" "
=>
"_"
" "
=>
"_"
);
);
$variable
=
strtr
(
$variable
,
$chars
);
$variable
=
strtr
(
$variable
,
$chars
);
return
$variable
;
return
$variable
;
}
}
...
@@ -215,7 +191,6 @@ get_header();
...
@@ -215,7 +191,6 @@ get_header();
}
}
return
$resultList
;
return
$resultList
;
}
}
function
isWordIn
(
$word
,
$list
)
function
isWordIn
(
$word
,
$list
)
...
@@ -236,7 +211,6 @@ get_header();
...
@@ -236,7 +211,6 @@ get_header();
$ligne
=
fgetcsv
(
$fichier
,
1024
,
";"
);
$ligne
=
fgetcsv
(
$fichier
,
1024
,
";"
);
}
}
fclose
(
$fichier
);
fclose
(
$fichier
);
//on crée la première liste qui gère les textes de la première liste, avec accents et espaces
//on crée la première liste qui gère les textes de la première liste, avec accents et espaces
...
@@ -263,11 +237,7 @@ get_header();
...
@@ -263,11 +237,7 @@ get_header();
sort
(
$textsSelectMenuExtended
);
sort
(
$textsSelectMenuExtended
);
sort
(
$classSelectMenu
);
sort
(
$classSelectMenu
);
sort
(
$classSelectMenuExtended
);
sort
(
$classSelectMenuExtended
);
?>
?>
<h1>
Formulaire de renouvellement d'adhésion
</h1>
<h1>
Formulaire de renouvellement d'adhésion
</h1>
<p>
<p>
<?php
<?php
...
@@ -276,10 +246,7 @@ get_header();
...
@@ -276,10 +246,7 @@ get_header();
}
elseif
(
$numberOfErrors
>
1
)
{
}
elseif
(
$numberOfErrors
>
1
)
{
echo
"Plusieurs erreurs sont survenues lors de l'envoi du formulaire. Veuillez vérifier vos informations"
;
echo
"Plusieurs erreurs sont survenues lors de l'envoi du formulaire. Veuillez vérifier vos informations"
;
}
}
?>
?>
</p>
</p>
<form
action=
""
method=
"post"
>
<form
action=
""
method=
"post"
>
<p>
<p>
...
@@ -303,10 +270,7 @@ get_header();
...
@@ -303,10 +270,7 @@ get_header();
value=
"
<?php
echo
$classSelectMenuExtended
[
$i
]
?>
"
>
<?php
echo
$textsSelectMenuExtended
[
$i
]
?>
</option>
value=
"
<?php
echo
$classSelectMenuExtended
[
$i
]
?>
"
>
<?php
echo
$textsSelectMenuExtended
[
$i
]
?>
</option>
<?php
<?php
}
}
?>
?>
</select>
</select>
<?php
tryToShowError
(
"first selection"
);
?>
<?php
tryToShowError
(
"first selection"
);
?>
</p>
</p>
...
@@ -327,8 +291,6 @@ get_header();
...
@@ -327,8 +291,6 @@ get_header();
<?php
tryToShowError
(
"EPCI hab"
);
?>
<?php
tryToShowError
(
"EPCI hab"
);
?>
<input
type=
"button"
value=
"Valider"
id=
"boutonValiderNombresEPCI"
>
<input
type=
"button"
value=
"Valider"
id=
"boutonValiderNombresEPCI"
>
</div>
</div>
<p
id=
"paraSecondSelection"
>
<p
id=
"paraSecondSelection"
>
...
@@ -370,13 +332,8 @@ get_header();
...
@@ -370,13 +332,8 @@ get_header();
$counter
+=
1
;
$counter
+=
1
;
}
}
?>
?>
</select>
</select>
<?php
tryToShowError
(
"second Selection"
);
?>
<?php
tryToShowError
(
"second Selection"
);
?>
</p>
</p>
...
@@ -482,10 +439,8 @@ get_header();
...
@@ -482,10 +439,8 @@ get_header();
value=
"
<?php
tryToEcho
(
"codeCollectivite"
);
?>
"
><br>
value=
"
<?php
tryToEcho
(
"codeCollectivite"
);
?>
"
><br>
<?php
tryToShowError
(
"code"
);
?>
<?php
tryToShowError
(
"code"
);
?>
</div>
</div>
<input
type=
"submit"
id=
"boutonEnvoyer"
>
<input
type=
"submit"
id=
"boutonEnvoyer"
>
</form>
</form>
...
...
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