Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /homepages/29/d13368333/htdocs/bb/includes/dbconn.php on line 12
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /homepages/29/d13368333/htdocs/bb/includes/dbconn.php on line 13
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/tmp/mysqld.sock' (2) in /homepages/29/d13368333/htdocs/bb/includes/dbObjects.php on line 560
Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /homepages/29/d13368333/htdocs/bb/includes/dbObjects.php on line 560
select p.* from (pics p, ((select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='SCHWACHHAUSEN')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='BLUMENTHALSTRASSE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='AM STERN')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='BRAHMSSTRASSE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='BULTHAUPTSTRASSE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='CRÜSEMANNALLEE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='BUSESTRASSE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='KULENKAMPFFALLEE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='JOSEPH-HAYDN-STRASSE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='H.-H.-MEIER-ALLEE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='EMMASTRASSE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='WÄTJENSTRASSE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='RIENSBERG')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='PARKSTRASSE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='HOLLERALLEE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='ST.-JOSEPH-STIFT')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='METZER STRASSE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='KIRCHBACHSTRASSE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='FRIEDHOFSTRASSE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='FOCKE-MUSEUM')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='BGM.-SPITTA-ALLEE')
union (select m.picid from tagpicmappings m, vorttags t where m.dbset='Bremen' and m.tagid = t.tagid and t.dbset='Bremen' and t.tagvalue='PARKALLEE')
) c) where (p.invisible = 0 and p.dbset='Bremen') and p.picid = c.picid order by picid