Gallery

$row->afield
"; $q3 = @mysql_query("SELECT * FROM $tdata WHERE did = '16' AND sid = '1' AND dfield = '$row->id'"); if (@mysql_num_rows($q3) != null) { print ""; $cols = 5; $nrows = mysql_num_rows($q3); for ($ii = 0; $ii < $nrows; $ii++) { $row2 = @mysql_fetch_object($q3); if ($ii % $cols == 0) { print "\n"; } print "\n"; if (($ii % $cols) == ($cols - 1) || ($ii + 1) == $nrows) { print "\n"; } }; print ""; } } } else { print "
"; print "

Im sorry there appear to be no galleries.

"; } ?>
© 2007 ‡ XHTML StrictAWEBBDESIGN