height="100%" border="0" cellpadding="0" cellspacing="0">
Command($sql); if ($data->GetNumRows() > 0) { $tot = $data->GetNumRows(); $y = 1; $z = 1; while($rec = $data->Iterate()) { $idCat = $rec["CAT_ID"]; $zetaIndex = $tot - $y;?>
Command($sqlSer); if ($dataSer->GetNumRows() > 0) {?>
    Iterate()) {?>
Close();?>
Close(); ?>
<< Command($sql); if ($data->GetNumRows() > 0) { $z = 1; while($rec = $data->Iterate()) { $idCat = $rec["CAT_ID"]; $dataSer = new Database(); $sqlSer = "SELECT * FROM SERIE WHERE SER_ID_CAT = $idCat AND SER_NOME NOT LIKE '%TOGLIERE%' ORDER BY SER_ORDER"; $risSer = $dataSer->Command($sqlSer); if ($dataSer->GetNumRows() > 0) { while($recSer = $dataSer->Iterate()) { $idSer = $recSer["SER_ID"];?>
Close(); }} $data->Close(); ?>