Esempio n. 1
0
            if ($arr['encryption'] != 'None') {
                $yes = 1;
            }
        }
        if ($yes && $no) {
            $networks[] = $ne;
        }
    }
} else {
    $networks = $nets;
}
$db->close($conn);
$now = date("Y-m-d H:i:s");
//
$pdf = new PDF_Table();
$pdf->AddPage();
$pdf->SetFont('Helvetica', 'B', 13);
$pdf->Image("../pixmaps/logo_siempdf.png", 10, 11, 40);
if ($type == 1) {
    $pdf->Cell(0, 10, _("Wireless / Cloaked Networks having uncloaked APs            "), 1, 1, 'R', 0);
} elseif ($type == 2) {
    $pdf->Cell(0, 10, _("Wireless / Encrypted networks having unencrypted APs        "), 1, 1, 'R', 0);
} elseif ($type == 3) {
    $pdf->Cell(0, 10, _("Wireless / Networks using weak encryption                   "), 1, 1, 'R', 0);
}
$pdf->SetFont('Helvetica', '', 10);
$pdf->Cell(70, 6, _("Location") . ": {$location}", 1, 0, 'L');
$pdf->Cell(60, 6, _("User") . ": " . $_SESSION["_user"], 1, 0, 'L');
$pdf->Cell(60, 6, _("Date") . ": {$now}", 1, 1, 'R');
$pdf->SetWidths(array(38, 14, 18, 14, 12, 13, 25, 18, 18, 20));
$pdf->SetAligns(array('C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C', 'C'));