init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
74
scripts/androm_list_re.php
Normal file
74
scripts/androm_list_re.php
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
<?php
|
||||
ini_set('display_errors', 1);
|
||||
|
||||
|
||||
require('fpdf.php');
|
||||
class PDF extends FPDF {
|
||||
function Footer() {
|
||||
$this->SetY(-15);
|
||||
$this->SetFont('Helvetica','',8);
|
||||
$this->Cell(90,4,'Androm Personalservice GmbH - Behaimstraße 25, 10585 Berlin','1','0','L','1');
|
||||
$this->Cell(50,4,'***** Interne Liste - NON Public *****','1','0','L','1');
|
||||
$this->Cell(30,4,'***** K.C. 2015','1','0','L','1');
|
||||
$this->SetFont('Helvetica','B',10);
|
||||
$this->Cell(20,4,'Seite '.$this->PageNo().'/{nb}',1,1,'L',1);
|
||||
|
||||
}
|
||||
function Header() {
|
||||
$this->SetFont('Helvetica','B',20);
|
||||
// $pdf->SetTextColor(0,160,230);
|
||||
if($_SERVER['SERVER_NAME'] == 'aps2.c-multimedia.de' || $_SERVER['SERVER_NAME'] == 'aps.bixware.de' || $_SERVER['SERVER_NAME'] == 'aps.bitlex.de' || $_SERVER['SERVER_NAME'] == 'aps2.bitlex.de') {
|
||||
$pdf->Image('androm-logo.jpg', 149,15,50,17);
|
||||
}
|
||||
if($_SERVER['SERVER_NAME'] == 'dev.ttact.zeus.pro15.de' || $_SERVER['SERVER_NAME'] == 'dev.aps.bixware.de') {
|
||||
|
||||
$pdf->Image('beta.png', 100,15,100,32);
|
||||
}
|
||||
if($_SERVER['SERVER_NAME'] == 'ttact.bixware.de' || $_SERVER['SERVER_NAME'] == 'tps2.c-multimedia.de') {
|
||||
$pdf->Image('ttactlogo.png', 120,10,79,10);
|
||||
}
|
||||
$this->SetFillColor(255,255,255); $this->SetTextColor(80,80,80);
|
||||
$this->Cell(22,12,' ','0','1','L','1'); $this->SetFont('Helvetica','',16);
|
||||
// $this->Image('faz_logo_sonntag_neu.gif', 8, 7);
|
||||
$this->SetFillColor(255,255,255); $this->SetTextColor(0,0,0);
|
||||
|
||||
}
|
||||
}
|
||||
$pdf = new PDF('P','mm','A4');
|
||||
$pdf->AliasNbPages();
|
||||
$pdf->AddPage();
|
||||
$pdf->SetAutoPageBreak(false);
|
||||
// blau (0,160,230)
|
||||
// Orange (240,150, 0)
|
||||
// grau (200,200,200)
|
||||
|
||||
$key=0;
|
||||
$pdf->SetFillColor(255,255,255); $pdf->SetTextColor(0,0,0);
|
||||
// $row_tour = $GLOBALS['mysql']->query_single("SELECT * FROM touren WHERE id='".$_GET['tid']."'");
|
||||
// $row_tour3 = $GLOBALS['mysql']->query_single("SELECT * FROM touren WHERE id='".$_GET['tid']."'");
|
||||
// $a_tour = $GLOBALS['mysql']->query("SELECT * FROM faz WHERE tag='".$tag."' and monat='".$monat."' and jahr='".$_GET['jahr']."' and plz='".$row_tour3['tour2']."' and pause=0 and umleitung=0");
|
||||
// while($row = $a_tour->fetch_assoc()) {
|
||||
if($key==14) {
|
||||
$key=0;
|
||||
|
||||
$pdf->AddPage();
|
||||
|
||||
}
|
||||
$pdf->SetFont('Helvetica','B',11);
|
||||
$pdf->Cell(90,2,' ','0','1','L','0');
|
||||
//--- 1. Zeile
|
||||
// $pdf->Cell(90,5,($row['name']),'LRT','0','L','1'); $pdf->Cell(80,5,$row['name3'],'LRT','0','L','1');
|
||||
$pdf->Cell(20,5,' ','LRT','1','L','1');
|
||||
//--- 2. Zeile
|
||||
// $pdf->Cell(90,5,($row['strasse']." ".$row['hnr'].$row['hnrz']),'LR','0','L','1'); $pdf->Cell(80,5,$row['bemerkung'],'LR','0','L','1');
|
||||
$pdf->Cell(20,5,' ','LR','1','L','1');
|
||||
//--- 3. Zeile
|
||||
// $pdf->Cell(90,5,("0".$row['plz']." ".$row['ort']."-".$row['ortsteil']),'LRB','0','L','1'); $pdf->SetFont('Helvetica','',11); $pdf->Cell(80,5,"Tel.: ".$row['telefon'],'LRB','0','L','1');
|
||||
$pdf->Cell(20,5,' ','LRB','1','L','1');
|
||||
$key++;
|
||||
// }
|
||||
|
||||
|
||||
$pdf->Output('Re_Liste.pdf','I');
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue