Viewing file: congresso_boletos.php (7.87 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");
$s = $_GET['s'];
$sit = $_GET['sit'];
$evento = 'Congresso';
?>
<!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>
<script type="text/javascript">
function confirmaPagto(id) {
window.open('obsPagtoCongresso.php?id='+id,'','width=500,height=400');
}
</script>
</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");
if ($sit == '')
$texto = '';
elseif ($sit == '0')
$texto = ' - PENDENTES';
elseif ($sit == '1')
$texto = ' - PAGAS';
?>
<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 COERCI <?= $texto?></h2>
<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 width="100">Email</td>-->
<?php if ($sit == '1') { ?>
<td align="center">Data Pagto</td>
<td align="center">Valor Pago</td>
<?php } ?>
<!--td>Acompanhante</td-->
<?php if ($sit == '0') { ?>
<td align="center"> </td>
<?php } ?>
</tr>
<?php
if ($sit == '0')
$status = "AND INS_PagoSN = 'N'";
elseif ($sit == '1')
$status = "AND INS_PagoSN = 'S'";
else
$status = '';
$sql_inscricoes = "
SELECT
*
FROM inscricao_congresso
WHERE INS_AtivoSN = 'S'
AND INS_Evento = '$evento'
$status
ORDER BY INS_RowID
";
//$exe_inscricoes = mysqli_query($sql_inscricoes);
$rs_secao = $conexao->query($sql_inscricoes);
$contador = 1;
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><?= "<b>" . $rs_inscricoes['INS_RowID'] . "<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 width="100"><?= $rs_inscricoes['INS_Email'] ?></td>-->
<?php if ($sit == '1') { ?>
<td align="center"><?= date('d/m/Y', strtotime($rs_inscricoes['INS_DataPagamento'])) ?></td>
<td align="right"><?= number_format($rs_inscricoes['INS_ValorPago'],2,',','.') ?></td>
<?php } ?>
<!--td><?= $rs_inscricoes['INS_Acompanhante'] ?></td-->
<?php if ($sit == '0') { ?>
<td><input type="button" name="btnConfirmar_<?= $rs_inscricoes['INS_RowID'] ?>" value="Confimar Pagamento" onclick="confirmaPagto('<?= $rs_inscricoes['INS_RowID']?>')" /></td>
<?php } ?>
</tr>
<?php
$contador++;
}
?>
</table> </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>
|