$mp = new Distrito_Policial(); $CIO = $_SESSION['CI']; $sz = $md->ND(); $Denunciante = "Denunciante"; $Imputado = "Imputado"; $Victima = "Victima"; $Testigo = "Testigo"; $sx = $mtd->Cargar_Tipo_D(); $sy = $mo->Cargar_Oficiales_Inv(); date_default_timezone_set("America/Asuncion"); $fecha = date("d/m/Y"); $hora = date("h:i:s"); while ($row = mysql_fetch_array($sz)) { $NC = $row['Estado']; } $sdi = $mdi->Cargar_Detalle($NC); $sa = $mdp->Cargar_Detalle($Denunciante, $NC); $sb = $mdp->Cargar_Detalle($Imputado, $NC); $sc = $mdp->Cargar_Detalle($Victima, $NC); $sd = $mdp->Cargar_Detalle($Testigo, $NC); $sf = $mp->Cargar_Distrito_Policial(); while ($row = mysql_fetch_array($sf)) { $cmdp .= " <option value='" . $row['Nombre'] . "'>" . $row['Nombre'] . "</option>"; } while ($row = mysql_fetch_array($sx)) { $cmtd .= " <option value='" . $row['Nombre'] . "'>" . $row['Nombre'] . "</option>"; } while ($rw = mysql_fetch_array($sy)) { $cmo .= " <option value='" . $rw['CI'] . "'>" . $rw['Cargo'] . " - " . $rw['Nombre'] . "</option>"; } while ($rw = mysql_fetch_array($sa)) {
$Descripcion = $row['Descripcion']; $Estado = $row['Estado']; } $sy = $mo->Modificar_O($CI_Servicio); while ($row = mysql_fetch_array($sy)) { $Nombre_Serv = $row['Nombre']; } $sz = $mo->Modificar_O($CI_Investigador); while ($row = mysql_fetch_array($sz)) { $Nombre_Inv = $row['Nombre']; } $sa = $mdp->Cargar_Detalle($Denunciante, $ID); $sb = $mdp->Cargar_Detalle($Imputado, $ID); $sc = $mdp->Cargar_Detalle($Victima, $ID); $sd = $mdp->Cargar_Detalle($Testigo, $ID); $sf = $mdi->Cargar_Detalle($ID); class PDF extends FPDF { function Header() { $this->SetFont('Helvetica', 'B', 15); $this->Cell(0, 10, 'ACTA DE DENUNCIA', 0, 1, 'C'); $this->Cell(0, 5, 'Fuerza Especial de Lucha Contra el Crimen', 0, 1, 'C'); } function Footer() { $this->SetY(-15); $this->SetFont('Helvetica', 'I', 10); //$this->Cell(0,10,'Pagina '.$this->PageNo().'/{nb}',0,0,'C'); } }
} } include '../header.php'; include_once '../Modelo/MTipo_D.php'; include_once '../Modelo/MD_Investigador.php'; include_once '../Modelo/MOficial.php'; $mtd = new Tipo_Denuncia(); $mdi = new Detalle_Investigador(); $mo = new Oficial(); if (isset($_REQUEST['ID'])) { $ID_C = $_REQUEST['ID']; } if (isset($_REQUEST['Tipo'])) { $Tipo = $_REQUEST['Tipo']; } $sx = $mdi->Cargar_Detalle($ID_C); $sy = $mo->Cargar_Oficiales_Inv(); while ($rw = mysql_fetch_array($sy)) { $cmbDI .= " <option value='" . $rw['CI'] . "'>" . $rw['Cargo'] . " - " . $rw['Nombre'] . "</option>"; } ?> <div class="container" style="margin-top: -60px;margin-left: 51px;"> <h1 style="margin-top: 0px;">ASIGNACION DE INVESTIGADORES</h1> <form class="form-horizontal" action="../Controlador/CD_Investigador.php" method="POST" autocomplete="off"> <div class="form-group" style="margin-top:-120px;"> <label class="control-label col-xs-4">Investigadores: </label> <div class="col-xs-6"> <select class="form-control" name="cmbIA" id="CmbIA"> <?php echo "{$cmbDI}"; ?>