<?php require_once "../config.cls.php"; require_once "../modelo/usuario.cls.php"; $config = new clsConfig(); if (isset($_SESSION['vox_codigo'])) { $admin = new clsUsuario(); $admin->SelecionaPorCodigo(trim($_SESSION['vox_codigo'])); } else { $config->Logout(false); $config->ConfirmaOperacao($config->GetPaginaPrincipal(), "Você não tem permissão para acessar essa página!"); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Área Administrativa - VOX</title> <link href="estilo/estilo.css" rel="stylesheet" type="text/css" /> <!-- ESTILO DATAGRID--> <link href="estilo/datagrid/dhtmlxgrid.css" rel="stylesheet" type="text/css" /> <link href="estilo/datagrid/dhtmlxgrid_skins.css" rel="stylesheet" type="text/css" /> <link href="estilo/datagrid/style.css" rel="stylesheet" type="text/css" /> <!-- ESTILO JANELA --> <link href="css/themes/default.css" rel="stylesheet" type="text/css" />
<tr> <td width="17" valign="top"> </td> <td width="385" valign="middle" align="center" > <table width="82%" border="0" cellspacing="0" cellpadding="0" class="tabelaDeTipos"> <tr> <td> </td> <td> <?php switch (trim($metodo)) { case 'novo': echo '<b> NOVO USUÁRIO</b>'; break; case 'altera': echo '<b> ALTERAÇÃO DE USUÁRIO</b>'; $usuario->SelecionaPorCodigo($codigo); break; } ?> </td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td width="76">Código:</td> <td width="310"> <label> <input type="text" name="txtCodigo" id="txtCodigo" class="caixaGrande" disabled="disabled" value="<?php echo $usuario->GetCodigo();