32 lines
No EOL
1.1 KiB
PHP
32 lines
No EOL
1.1 KiB
PHP
<?php
|
|
//echo "<pre>"; print_r($tmp); echo "</pre>";
|
|
$za++;
|
|
|
|
if (isset($tmp[$za]['a'])) {
|
|
if ($tmp[$za]['m']!=0) {
|
|
$pdf->SetFillColor(255,211,155);
|
|
} else {
|
|
$pdf->SetFillColor(255,255,255);
|
|
}
|
|
$pdf->Cell(45,4,(utf8_decode($tmp[$za]['x'])),'0','0','R','1');
|
|
//$pdf->Cell(20,4,(utf8_decode($tmp[$za]['a'])),'0','0','R','1'); $pdf->Cell(25,4,(utf8_decode($tmp[$za]['c'])),'0','0','R','1');
|
|
}else{
|
|
$pdf->Cell(45,4,(" "),'0','0','R','0');
|
|
}
|
|
|
|
//**********************************************************************************************************************************
|
|
$pdf->Cell(10,4,(" "),'0','0','R','0');
|
|
//**********************************************************************************************************************************
|
|
$za++;
|
|
if (isset($tmp[$za]['a'])) {
|
|
if ($tmp[$za]['m']!=0) {
|
|
$pdf->SetFillColor(255,211,155);
|
|
} else {
|
|
$pdf->SetFillColor(255,255,255);
|
|
}
|
|
$pdf->Cell(45,4,(utf8_decode($tmp[$za]['x'])),'0','0','R','1');
|
|
//$pdf->Cell(20,4,(utf8_decode($tmp[$za]['a'])),'0','0','R','1'); $pdf->Cell(25,4,(utf8_decode($tmp[$za]['c'])),'0','0','R','1');
|
|
}else{
|
|
$pdf->Cell(45,4,(" "),'0','0','R','0');
|
|
}
|
|
?>
|