Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sae-site-web
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
JANUZI Rinor
sae-site-web
Commits
ea9ca50d
Commit
ea9ca50d
authored
1 year ago
by
LANTZ Nathan
Browse files
Options
Downloads
Patches
Plain Diff
changement de nom + suppression commentaires
parent
ecef9223
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
DLdossier.php
+0
-11
0 additions, 11 deletions
DLdossier.php
DLprogramme.php
+1
-11
1 addition, 11 deletions
DLprogramme.php
DLrdv.php
+0
-11
0 additions, 11 deletions
DLrdv.php
membre.php
+3
-3
3 additions, 3 deletions
membre.php
with
4 additions
and
36 deletions
telecharger_
dossier.php
→
DL
dossier.php
+
0
−
11
View file @
ea9ca50d
...
...
@@ -3,29 +3,22 @@ include('dbconnect.php');
date_default_timezone_set
(
'Europe/Paris'
);
require_once
(
'TCPDF-main/tcpdf.php'
);
// Create a database connection instance
$connexion
=
dbconnect
();
// SQL query to select necessary columns from the "dossier_inscription" table
$sql
=
"SELECT Nom, Prenom, DateNaissance, Adresse, Email, NumeroTel, PostePrefere, NiveauExperience, CertificatMedical, AutorisationParentale, DateInscription FROM dossier_inscription"
;
$query
=
$connexion
->
query
(
$sql
);
// Create a new TCPDF instance
$pdf
=
new
TCPDF
();
// PDF settings
$pdf
->
SetCreator
(
'Club de Foot'
);
$pdf
->
SetAuthor
(
'Club de Foot'
);
$pdf
->
SetTitle
(
'Dossiers d\'Inscription - Club MatchZéro'
);
$pdf
->
SetMargins
(
10
,
10
,
10
);
// Add a new page to the PDF
$pdf
->
AddPage
();
// PDF content
$pdf
->
SetFont
(
'helvetica'
,
''
,
12
);
// Table header
$html
=
'<table border="1">'
;
$html
.
=
'<tr>'
;
$html
.
=
'<th>Nom</th>'
;
...
...
@@ -41,7 +34,6 @@ $html .= '<th>Autorisation Parentale</th>';
$html
.
=
'<th>Date Inscription</th>'
;
$html
.
=
'</tr>'
;
// Loop to add table data to the PDF
while
(
$row
=
$query
->
fetch
(
PDO
::
FETCH_ASSOC
))
{
$html
.
=
'<tr>'
;
$html
.
=
'<td>'
.
$row
[
'Nom'
]
.
'</td>'
;
...
...
@@ -60,12 +52,9 @@ while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
$html
.
=
'</table>'
;
// Output the PDF
$pdf
->
writeHTML
(
$html
,
true
,
false
,
true
,
false
,
''
);
// PDF file name for download
$file_name
=
'Dossiers_Inscription_Club_Foot.pdf'
;
// Send the PDF file to the browser for download
$pdf
->
Output
(
$file_name
,
'D'
);
?>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
telecharger_
programme.php
→
DL
programme.php
+
1
−
11
View file @
ea9ca50d
<?php
// Inclure le fichier de fonctions de base de données
include
(
'dbconnect.php'
);
// Créer une instance de connexion à la base de données
$connexion
=
dbconnect
();
// Requête SQL pour sélectionner toutes les lignes de la table "programme"
$sql
=
"SELECT * FROM programme"
;
$query
=
$connexion
->
query
(
$sql
);
...
...
@@ -13,19 +11,15 @@ date_default_timezone_set('Europe/Paris');
require_once
(
'TCPDF-main/tcpdf.php'
);
$pdf
=
new
TCPDF
();
// Paramètres du PDF
$pdf
->
SetCreator
(
'Club de Foot'
);
$pdf
->
SetAuthor
(
'Club de Foot'
);
$pdf
->
SetTitle
(
'Programmes du Club MatchZéro'
);
$pdf
->
SetMargins
(
10
,
10
,
10
);
// Ajouter une nouvelle page au PDF
$pdf
->
AddPage
();
// Contenu du PDF
$pdf
->
SetFont
(
'helvetica'
,
''
,
12
);
// En-tête du tableau
$html
=
'<table border="1">'
;
$html
.
=
'<tr>'
;
$html
.
=
'<th>Nom</th>'
;
...
...
@@ -34,7 +28,6 @@ $html .= '<th>Date de Début</th>';
$html
.
=
'<th>Date de Fin</th>'
;
$html
.
=
'</tr>'
;
// Boucle pour ajouter les données de la table au PDF
while
(
$row
=
$query
->
fetch
(
PDO
::
FETCH_ASSOC
))
{
$html
.
=
'<tr>'
;
$html
.
=
'<td>'
.
$row
[
'Nom'
]
.
'</td>'
;
...
...
@@ -46,12 +39,9 @@ while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
$html
.
=
'</table>'
;
// Sortie du PDF
$pdf
->
writeHTML
(
$html
,
true
,
false
,
true
,
false
,
''
);
// Nom du fichier PDF à télécharger
$nom_fichier
=
'Programmes_Club_Foot.pdf'
;
// Envoyer le fichier PDF au navigateur pour téléchargement
$pdf
->
Output
(
$nom_fichier
,
'D'
);
?>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
telecharger_
rdv.php
→
DL
rdv.php
+
0
−
11
View file @
ea9ca50d
...
...
@@ -3,29 +3,22 @@ include('dbconnect.php');
date_default_timezone_set
(
'Europe/Paris'
);
require_once
(
'TCPDF-main/tcpdf.php'
);
// Create a database connection instance
$connexion
=
dbconnect
();
// SQL query to select necessary columns from the "planificationmatchs" table
$sql
=
"SELECT Court, Horaire, JoueursNecessaires FROM planificationmatchs"
;
$query
=
$connexion
->
query
(
$sql
);
// Create a new TCPDF instance
$pdf
=
new
TCPDF
();
// PDF settings
$pdf
->
SetCreator
(
'Club de Foot'
);
$pdf
->
SetAuthor
(
'Club de Foot'
);
$pdf
->
SetTitle
(
'Planifications des Matchs - Club MatchZéro'
);
$pdf
->
SetMargins
(
10
,
10
,
10
);
// Add a new page to the PDF
$pdf
->
AddPage
();
// PDF content
$pdf
->
SetFont
(
'helvetica'
,
''
,
12
);
// Table header
$html
=
'<table border="1">'
;
$html
.
=
'<tr>'
;
$html
.
=
'<th>Court</th>'
;
...
...
@@ -33,7 +26,6 @@ $html .= '<th>Horaire</th>';
$html
.
=
'<th>Joueurs Necessaires</th>'
;
$html
.
=
'</tr>'
;
// Loop to add table data to the PDF
while
(
$row
=
$query
->
fetch
(
PDO
::
FETCH_ASSOC
))
{
$html
.
=
'<tr>'
;
$html
.
=
'<td>'
.
$row
[
'Court'
]
.
'</td>'
;
...
...
@@ -44,11 +36,8 @@ while ($row = $query->fetch(PDO::FETCH_ASSOC)) {
$html
.
=
'</table>'
;
// Output the PDF
$pdf
->
writeHTML
(
$html
,
true
,
false
,
true
,
false
,
''
);
// PDF file name for download
$file_name
=
'Planifications_Matchs_Club_Foot.pdf'
;
// Send the PDF file to the browser for download
$pdf
->
Output
(
$file_name
,
'D'
);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
membre.php
+
3
−
3
View file @
ea9ca50d
...
...
@@ -25,21 +25,21 @@
<h3>
Dossiers d'Inscription/Adhésion
</h3>
<p>
Retrouvez ici le dossiers d'inscription/adhésion pour devenir membre de notre club. Remplissez-les
soigneusement pour rejoindre notre communauté dynamique (à envoyer par mail).
</p>
<p><a
href=
"
telecharger_
dossier.php"
>
Télécharger le calendrier des rencontres en PDF
</a></p>
<p><a
href=
"
DL
dossier.php"
>
Télécharger le calendrier des rencontres en PDF
</a></p>
</div>
<div
class=
"telechargeable-item"
>
<h3>
Programmes
</h3>
<p>
Découvrez nos programmes d'entraînement conçus pour améliorer vos compétences et renforcer votre condition
physique. Téléchargez-les en format PDF ci-dessous.
</p>
<p><a
href=
"
telecharger_
programme.php"
>
Télécharger les Programmes en PDF
</a></p>
<p><a
href=
"
DL
programme.php"
>
Télécharger les Programmes en PDF
</a></p>
</div>
<div
class=
"telechargeable-item"
>
<h3>
Calendriers des Rencontres
</h3>
<p>
Consultez nos calendriers des rencontres pour rester informé des événements à venir. Téléchargez-les pour ne
rien manquer de nos passionnantes compétitions.
</p>
<p><a
href=
"
telecharger_
rdv.php"
>
Télécharger le calendrier des rencontres en PDF
</a></p>
<p><a
href=
"
DL
rdv.php"
>
Télécharger le calendrier des rencontres en PDF
</a></p>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment