Viewing file: treinamento.php (6.73 KB) -rwxr-xr-x Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
#############################################################################
# Nome: login.php #
# System: Irpen #
# Criado por: Breno Henrique Vivarelli #
# Empresa: Netnigro #
# E-mail: breno@netnigro.com.br #
# Descrição: Validação do usuário #
# Histórico: #
# . 24/06/2008 - Breno Henrique Vivarelli #
# Criação da Página #
#############################################################################
// Includes
include("../../config/config.php");
include(INCLUDES . "conexaoBD.php");
include(INCLUDES . "funcoes_uteis.php");
include(INCLUDES . "sentencas_sql.php");
include(INCLUDES . "valida_usuario.inc.php");
$arrayCidades = array(
'fbe' => 'Francisco Beltrão',
'cas' => 'Cascavel',
'gua' => 'Guarapuava',
'lon' => 'Londrina',
'umu' => 'Umuarama',
'mar' => 'Maringá',
'sap' => 'Santo Antônio da Platina',
'pgr' => 'Ponta Grossa',
'cwb' => 'Curitiba'
);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml2/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="<?= HOST;?>css/irpen.css" type="text/css" />
<link rel="stylesheet" media="all" type="text/css" href="<?= HOST;?>css/menu_dropline.css" />
<!--[if IE]>
<link rel="stylesheet" media="all" type="text/css" href="css/menu_dropline_ie.css" />
<![endif]-->
<!--[if lt IE 7]>
<link rel="stylesheet" media="all" type="text/css" href="css/menu_dropline_ie6.css" />
<![endif]-->
<title>IRPEN | Instituto de Registro Civil de Pessoas Naturais do Paraná - 2008</title>
<!-- <script src="scripts/delay.js" language="JavaScript"></script> -->
<style type="text/css">
<!--
.style1 {
color: #666666;
font-weight: bold;
}
-->
</style>
</head>
<body>
<div id="wrap">
<?php include "../topo_gestao.php";?>
<!-- content-wrap starts -->
<div id="content-wrap">
<table width="100%" border="0">
<tr><!--
<td align="left" valign="top" width="20%">
<?php
//Menu do site
//include(DIR_ADMIN . "menu_gestao.php");
?>
<br />
</td>
<td align="left" valign="top" bgcolor="#cccccc"> </td>-->
<td align="left" valign="top" bgcolor="#FFFFFF" width="1%"> </td>
<td align="left" valign="top">
<table width="100%" border="0" >
<tr>
<td align="left" valign="top">
<h2>INSCRIÇÕES PARA O SEMINÁRIO DE TREINAMENTO INTENSIVO - TRANSMISSÃO ELETRÔNICA</h2>
<?php
foreach($arrayCidades as $sigla => $nomeCidade) {
?>
<table width="100%">
<tr bgcolor="#CCCCCC">
<td width=4%>#</td>
<td>Nome</td>
<td>Oficio</td>
<td>Cidade</td>
<td>Endereço</td>
<td width="100">Telefone</td>
<td>Local Treinamento</td>
</tr>
<?php
$sql_inscricoes = "
SELECT
*
FROM inscricao_seminario
WHERE INS_AtivoSN = 'S'
AND INS_Evento = 'treinamento'
AND INS_Local = '$sigla'
ORDER BY INS_Local, INS_Nome
";
//$exe_inscricoes = mysqli_query($sql_inscricoes);
$rs_secao = $conexao->query($sql_inscricoes);
$contador = 1;
if ($rs_secao->fetch_row() > 0) {
while($rs_inscricoes = $rs_secao->fetch_array()) {
//echo $sql_inscricoes;
//while ($rs_inscricoes = mysql_fetch_assoc($exe_inscricoes)) {
?>
<tr>
<td><?= "<b>" . $contador . "<b>"?></td>
<td><?= $rs_inscricoes['INS_Nome'] ?></td>
<td><?= $rs_inscricoes['INS_Oficio'] ?></td>
<td><?= $rs_inscricoes['INS_Cidade'] ?></td>
<td>
<?= $rs_inscricoes['INS_Endereco'] ?>
CEP: <?= $rs_inscricoes['INS_Cep']; ?>
</td>
<td><?= $rs_inscricoes['INS_Telefone'] ?></td>
<td><?= $nomeCidade ?></td>
</tr>
<?php
$contador++;
}
} else {
?>
<tr>
<td colspan="7" align="center" style="color:#900">Local Treinamento: <strong><?= $nomeCidade?></strong> - Nenhuma inscrição até o momento</td>
</tr>
<?php
}
?>
</table><br />
<?php
}
?> </td>
</tr>
</table>
<br /> </td>
</tr>
</table>
</div>
<div align="center">
<strong><br />
Rua Mal. Deodoro, 51 - Galeria Ritz - 18º Andar | Fone: (41) 3232-9811 | CEP 80.020-905 - Curitiba - Paraná</strong>
<!-- content-wrap ends-->
</div>
<!-- footer starts -->
<div id="footer-wrap">
</div>
<div id="rodape">
</div>
</div>
</body>
</html>
|