Windsurfverein Werder/Havel e.V.


SELECT distinct,,info.checked FROM news left outer join info on ( left outer join news_zw_rolle on ( left outer join nutzer_zw_rolle on (news_zw_rolle.id_rolle=nutzer_zw_rolle.id_rolle) left outer join nutzer nu3 on ( where ( (infotyp=$1) and (showfrom is NULL or CURRENT_DATE >= showfrom) and (showto is NULL or CURRENT_DATE <= showto) and (($2) or ($3)) and (datefrom >= CURRENT_DATE) or (dateto >= CURRENT_DATE)) order by info 1 1