Skip to content
Snippets Groups Projects
Commit 5b18c407 authored by LANTZ Nathan's avatar LANTZ Nathan
Browse files

Modif download

parent ea9ca50d
No related branches found
No related tags found
No related merge requests found
...@@ -10,8 +10,8 @@ $query = $connexion->query($sql); ...@@ -10,8 +10,8 @@ $query = $connexion->query($sql);
$pdf = new TCPDF(); $pdf = new TCPDF();
$pdf->SetCreator('Club de Foot'); $pdf->SetCreator('Club MatchZéro');
$pdf->SetAuthor('Club de Foot'); $pdf->SetAuthor('Club MatchZéro');
$pdf->SetTitle('Dossiers d\'Inscription - Club MatchZéro'); $pdf->SetTitle('Dossiers d\'Inscription - Club MatchZéro');
$pdf->SetMargins(10, 10, 10); $pdf->SetMargins(10, 10, 10);
...@@ -54,7 +54,7 @@ $html .= '</table>'; ...@@ -54,7 +54,7 @@ $html .= '</table>';
$pdf->writeHTML($html, true, false, true, false, ''); $pdf->writeHTML($html, true, false, true, false, '');
$file_name = 'Dossiers_Inscription_Club_Foot.pdf'; $file_name = 'Dossiers_Inscription_Club_MatchZéro.pdf';
$pdf->Output($file_name, 'D'); $pdf->Output($file_name, 'D');
?> ?>
\ No newline at end of file
...@@ -11,8 +11,8 @@ date_default_timezone_set('Europe/Paris'); ...@@ -11,8 +11,8 @@ date_default_timezone_set('Europe/Paris');
require_once('TCPDF-main/tcpdf.php'); require_once('TCPDF-main/tcpdf.php');
$pdf = new TCPDF(); $pdf = new TCPDF();
$pdf->SetCreator('Club de Foot'); $pdf->SetCreator('Club MatchZéro');
$pdf->SetAuthor('Club de Foot'); $pdf->SetAuthor('Club MatchZéro');
$pdf->SetTitle('Programmes du Club MatchZéro'); $pdf->SetTitle('Programmes du Club MatchZéro');
$pdf->SetMargins(10, 10, 10); $pdf->SetMargins(10, 10, 10);
...@@ -41,7 +41,7 @@ $html .= '</table>'; ...@@ -41,7 +41,7 @@ $html .= '</table>';
$pdf->writeHTML($html, true, false, true, false, ''); $pdf->writeHTML($html, true, false, true, false, '');
$nom_fichier = 'Programmes_Club_Foot.pdf'; $nom_fichier = 'Programmes_Club_MatchZéro.pdf';
$pdf->Output($nom_fichier, 'D'); $pdf->Output($nom_fichier, 'D');
?> ?>
\ No newline at end of file
...@@ -10,8 +10,8 @@ $query = $connexion->query($sql); ...@@ -10,8 +10,8 @@ $query = $connexion->query($sql);
$pdf = new TCPDF(); $pdf = new TCPDF();
$pdf->SetCreator('Club de Foot'); $pdf->SetCreator('Club MatchZéro');
$pdf->SetAuthor('Club de Foot'); $pdf->SetAuthor('Club MatchZéro');
$pdf->SetTitle('Planifications des Matchs - Club MatchZéro'); $pdf->SetTitle('Planifications des Matchs - Club MatchZéro');
$pdf->SetMargins(10, 10, 10); $pdf->SetMargins(10, 10, 10);
...@@ -38,6 +38,6 @@ $html .= '</table>'; ...@@ -38,6 +38,6 @@ $html .= '</table>';
$pdf->writeHTML($html, true, false, true, false, ''); $pdf->writeHTML($html, true, false, true, false, '');
$file_name = 'Planifications_Matchs_Club_Foot.pdf'; $file_name = 'Planifications_Matchs_Club_MatchZéro.pdf';
$pdf->Output($file_name, 'D'); $pdf->Output($file_name, 'D');
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment