<?php session_start(); if (isset($_SESSION["Usuario"])) { require_once 'clases/clsReportes.php'; $Reporte = new Reporte(); $fila = $Reporte->getStockminimo(); ?> <!DOCTYPE html> <html lang="es"> <head> <meta charset="UTF-8"> <title>Sistema - Tienda Virtual</title> <?php require_once 'inc/header.php'; ?> </head> <body> <?php require_once 'inc/navbar.php'; ?> <div class="container-fluid top-container"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-2 col-lg-2"> <?php require_once 'inc/menu.php'; ?> </div> <div class="content"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <div class="navbar navbar-default">
<?php session_start(); if (isset($_SESSION["Usuario"])) { include_once 'print/fpdf.php'; require_once 'clases/clsReportes.php'; $objRep = new Reporte(); $fila = $objRep->getStockminimo(); if (empty($fila)) { header('Location: ../productos-stock-minimo'); } date_default_timezone_set("America/Lima"); class PDF extends FPDF { //Cabecera de página function Header() { $this->Image('images/www.png', 10, 8, 65, 38, 'png'); $this->SetFont('Arial', 'B', 12); //Movernos a la derecha $this->Cell(30); //Título $this->Cell(200, 40, iconv('utf-8', 'cp1252', 'SISTEMA DE COMPRA Y VENTA (JCL SOFT SOLUTION)'), 0, 1, 'C'); $this->SetFont('Arial', 'B', 9); $this->Cell(365, -10, "Fecha: " . date("d/m/Y"), 0, 1, 'C'); $this->Cell(365, 0, "Hora: " . date("h:i:s A"), 0, 1, 'C'); $this->SetFont('Arial', '', 9); $this->Cell(100, 15, iconv('utf-8', 'cp1252', 'Dirección: Av. Bolognesi #1527 - Chiclayo'), 0, 1, 'C'); $this->Cell(73, -5, iconv('utf-8', 'cp1252', 'Teléfono: (074) 234567'), 0, 0, 'C'); $this->SetFont('Arial', '', 9); $this->Cell(100, -5, iconv('utf-8', 'cp1252', 'Visítanos en: '), 0, 0, 'C');