"); $result=dbquery( "SELECT * FROM ".$db_prefix."photo_albums ta ". "JOIN ".$db_prefix."photos USING (album_id) WHERE ".groupaccess('album_access')." ORDER BY photo_datestamp DESC" ); opentable($locale['jcp001']); if (dbrows($result)!= "0") { echo "