|
|
if (!isset($ini)){
$ini=0;
$contador = 0;
$vSql = "select * from EQUIPE where (laboratorio = 'Lta' and depto='$tipo')";
$vResultado = mysqlexec($vConexao,$vSql);
$num_linhas = mysql_num_rows($vResultado);
}
if ($num_linhas > 0)
{
$fim = 40;
$vSql = "select * from EQUIPE where (laboratorio = 'Lta' and depto='$tipo') order by nome DESC LIMIT $ini,$fim";
$vResultado = mysqlexec($vConexao,$vSql);
?>
EQUIPE |
$cor_bg = "#D2D2D2";
while ($linha=mysql_fetch_array($vResultado))
{
$id = stripslashes($linha[id]);
$nome = stripslashes($linha[nome]);
$laboratorio= stripslashes($linha[laboratorio]);
if($cor_bg == "#F4F4F4")
$cor_bg = "#D2D2D2";
elseif($cor_bg == "#D2D2D2")
$cor_bg = "#F4F4F4";
?>
echo $nome; ?>
|
}
?>
}
else
{
echo " ";
echo "Sem registro !!";
}
?>
$ant = $ini - $fim;
$ini += $fim;
?>
if ($ini > $fim)
{
?>
" class='menu01'>
}
?>
|
|
if ($ini < $num_linhas)
{
?>
|
|