예제 #1
0
<?php 
switch ($ID) {
    case '1':
        $AAnpS = new AsignacionporSubactividades();
        $AAnpS->mostrar_ff_chk();
        break;
    case '2':
        $AFtS = new AsignacionporFtSubactividades();
        $AFtS->mostrar_ff_chk();
        break;
    case '3':
        $AFtsP = new AsignacionFtsporPartidas();
        $AFtsP->mostrar_ff_chk();
        break;
    case '4':
        $AParMes = new Partida_Mensual();
        $AParMes->ejecutor = $eje;
        $AParMes->mes = $month;
        $AParMes->axo = $axo;
        $AParMes->form_Partida();
        break;
    case '5':
        $AFntF = new ANP_x_FF();
        $AFntF->mostrar_ComboBox();
        break;
    case '6':
        $obj = new SqlSelect('', $_SESSION["inrena_4"][2], $_SESSION["inrena_4"][1]);
        $sql = $obj->set_sql(" nombre_categoria, nombre_anp, a.id_anp ", " ", " pa.id_anp", " pa.id_anp", "anp");
        $Qanp = new Consulta($sql);
        ?>
		<form name='f1' method="post" >
예제 #2
0
<?php

if ($_GET[pdf] == 'ok') {
    require_once '../../pdf/html2fpdf.php';
    ob_start();
}
require_once "../../includes.php";
require_once "../funciones/reportes.php";
require "../libs/verificar.inc.php";
require_once "../cls/informacionsinampe/partida_mensual.cls.php";
$link = new Conexion();
set_time_limit(100);
$Reporte = new Partida_Mensual();
$Reporte->ejecutor = $id;
$Reporte->axo = $_SESSION[inrena_4][2];
$Reporte->mes = $mes;
if (!empty($_REQUEST['anp'])) {
    $_SESSION['anp'] = $_REQUEST['anp'];
}
$Reporte->anp = $_SESSION['anp'];
$Reporte->fac = 1;
$lnkmoneda = "";
$md = $md;
if (empty($md)) {
    $lnkmoneda = '<a href="' . $_SERVER['PHP_SELF'] . "?id=" . $id . "&mes=" . $mes . "&md=" . "d" . '"> Soles</a>';
    $moneda = "Soles";
} else {
    $lnkmoneda = '<a href="' . $_SERVER['PHP_SELF'] . "?id=" . $id . "&mes=" . $mes . '">D&oacute;lares</a>';
    $Reporte->md = true;
    $Reporte->simbolomd = " \$ ";
    $moneda = "Dolares";