include ('../restrito/iBD.inc');
include ('../restrito/conecta_bd.php');
include ('../restrito/mysqlexec.fcn');
$ini = $_GET['ini'];
$ant = $_GET['ant'];
$num_linhas = $_GET['num_linhas'];
?>
Documento sem título
if (!isset($ini)){
$ini=0;
$contador = 0;
$vSql = "select * from CALENDARIO";
$vResultado = mysqlexec($vConexao,$vSql);
$num_linhas = mysql_num_rows($vResultado);
}
$fim = 70;
if ($num_linhas > 0)
{
$vSql = "select * from CALENDARIO order by id LIMIT $ini,$fim ";
$vResultado = mysqlexec($vConexao,$vSql);
?>
Relatório
|
Condição do Instrumento |
Período para a entrega |
Responsável |
$cor_bg = "#EEEEEE";
while ($linha=mysql_fetch_array($vResultado))
{
$relatorio = $linha[relatorio];
$instrumento = $linha[instrumento];
$entrega = $linha[entrega];
$responsavel = $linha[responsavel];
$relatorio = stripslashes($relatorio);
$instrumento = stripslashes($instrumento);
$entrega = stripslashes($entrega);
$responsavel = stripslashes($responsavel);
if($cor_bg == "#EEEEEE")
$cor_bg = "#f8f8f8";
elseif($cor_bg == "#f8f8f8")
$cor_bg = "#EEEEEE";
?>
echo "$relatorio" ;?>
|
echo "$instrumento" ;?> |
echo "$entrega" ;?> |
echo $responsavel; ?>
|
}
?>
}
else
{
echo " ";
echo "Nenhum registro cadastrado !!";
}
?>
$ant = $ini - $fim;
$ini += $fim;
?>
if ($ini > $fim)
{
?>
" class='menu01'>
}
?>
|
if ($ini < $num_linhas)
{
?>
|
|