EVOLUTION-MANAGER
Edit File: frmgetfirm.php
<?php //===================================================================================================== //=====> INICIO_H include_once("../core/go.login.inc.php"); include_once("../core/core.error.inc.php"); include_once("../core/core.html.inc.php"); include_once("../core/core.init.inc.php"); $theFile = __FILE__; $permiso = getSIPAKALPermissions($theFile); if($permiso === false){ header ("location:../404.php?i=999"); } $_SESSION["current_file"] = addslashes( $theFile ); //<===== FIN_H $iduser = $_SESSION["log_id"]; //===================================================================================================== include_once("../core/entidad.datos.php"); include_once("../core/core.deprecated.inc.php"); include_once("../core/core.fechas.inc.php"); include_once("../libs/sql.inc.php"); include_once("../core/core.config.inc.php"); $id = $_GET["i"]; $type = $_GET["t"]; $oficial = elusuario($iduser); $result = mysql_query("SELECT firma FROM socios_firmas WHERE tipo=$type AND numero_de_socio=$id"); $result_array = mysql_fetch_array($result); header("Content-Type: image/png"); echo $result_array[0]; ?>