$titul
"; $dotaz="SELECT * FROM fotogalerie WHERE skupina=$sou ORDER BY id"; //require("open_db_user.php3"); require("prikaz_db.php"); require("zavri_db.php3"); $path="./upload_file/"; echo ' '; //$itemsobsah=mssql_num_rows($result); $itemsobsah=pg_num_rows($resultrol); if ($itemsobsah>0) { $s=0; $pau=$s; while ($s<$itemsobsah) { // mssql_data_seek ($result, $s++); // $rowlobsah = mssql_Fetch_Array($result); $rowlobsah = pg_Fetch_Array($resultrol, $s++); if ($pau==4) { echo '
'; $pau=0; } $pau++; $image=$path.trim($rowlobsah["nazev"]); $size = GetImageSize ($image); //echo $size[3]; if (isset($rowlobsah["nadpis"]) AND trim($rowlobsah["nadpis"])>"") {$nadobr=$rowlobsah["nadpis"];} else {$nadobr="Foto . ".$s;} echo ' '; } //mssql_free_result ($result); } ?>
'.$nadobr.'