Primer commit del sistema avantika sin cambios

This commit is contained in:
2026-01-06 19:42:24 -06:00
commit 3ae4be5957
7127 changed files with 440072 additions and 0 deletions

22
classes/user.class.php Executable file
View File

@@ -0,0 +1,22 @@
<?php
class User extends Main
{
function Info()
{
$generalDb = new DB;
$sql = "SELECT * FROM usuario
LEFT JOIN empresa ON usuario.empresaId = empresa.empresaId
WHERE usuarioId = '".$_SESSION["loginKey"]."'";
$generalDb->setQuery($sql);
$info = $generalDb->GetRow();
return $info;
}//Info
}
?>