top.window.location = '../../index.php'"; exit; } require_once __DIR__ . "/" . "../../includes/include_geral_new.inc.php"; require_once __DIR__ . "/" . "../../includes/classes/ConnectPDO.php"; use includes\classes\ConnectPDO; $conn = ConnectPDO::getInstance(); $auth = new AuthNew($_SESSION['s_logado'], $_SESSION['s_nivel'], 2, 2); $_SESSION['s_page_invmon'] = $_SERVER['PHP_SELF']; $config = getConfig($conn); /* Para manter a compatibilidade com versões antigas */ $table = "equipxpieces"; $clausule = $QRY['componentexequip_ini']; $sqlTest = "SELECT * FROM {$table}"; try { $conn->query($sqlTest); } catch (Exception $e) { $table = "equipXpieces"; $clausule = $QRY['componenteXequip_ini']; } $type = ""; ?> <?= APP_NAME; ?> <?= VERSAO; ?>

 

query($query); $registros = $resultado->rowCount(); if ((!isset($_GET['action'])) && !isset($_POST['submit'])) { ?>

fetchall() as $row) { $oldManufacturer = ($row['fabricante'] ? $row['fabricante'] . " " : ""); $manufacturer = ($row['fab_nome'] ? $row['fab_nome'] . " " : ""); $colTagInst = ($row['inst_nome'] ? $row['inst_nome'] . " " : ""); $colTagNumber = ($row['estoq_tag_inv'] ? $row['estoq_tag_inv'] : ""); $sep = ($colTagInst && $colTagNumber ? " #" : ""); ?> " . NVL($row['instEquipamento'] . " #" . $row['eqp_equip_inv']) . ""; } ?>
#
fetch(); ?>
 
/> />