svn path=/Website/trunk/; revision=27
This commit is contained in:
Peter Feij
2009-10-23 17:52:28 +00:00
parent b20867d89d
commit 8570896f52

View File

@@ -1,7 +1,7 @@
<%@ language = "JavaScript" %>
<% /*
$Revision: 1 $
$Modtime: 2-09-09 12:59 $
$Revision: 2 $
$Modtime: 23-10-09 19:54 $
File: fac_nieuws.asp
Status: GEREED
@@ -35,12 +35,13 @@
+ " AND og.alg_gebouw_key = g.alg_gebouw_key "
+ " AND g.alg_locatie_key = l.alg_locatie_key "
+ " AND l.alg_district_key = d.alg_district_key) pl "
+ " WHERE (pl.alg_gebouw_key = n.fac_nieuws_onrgoed_key AND n.fac_nieuws_onrgoed_niveau = 'G') "
+ " WHERE ((pl.alg_gebouw_key = n.fac_nieuws_onrgoed_key AND n.fac_nieuws_onrgoed_niveau = 'G') "
+ " OR (pl.alg_locatie_key = n.fac_nieuws_onrgoed_key AND n.fac_nieuws_onrgoed_niveau = 'L') "
+ " OR (pl.alg_district_key = n.fac_nieuws_onrgoed_key AND n.fac_nieuws_onrgoed_niveau = 'D') "
+ " OR (pl.alg_regio_key = n.fac_nieuws_onrgoed_key AND n.fac_nieuws_onrgoed_niveau = 'R') "
+ " AND (n.fac_nieuws_van IS NULL OR n.fac_nieuws_van >= SYSDATE) "
+ " AND (n.fac_nieuws_tot IS NULL OR n.fac_nieuws_van < SYSDATE) "
+ " OR (n.fac_nieuws_onrgoed_key IS NULL)) "
+ " AND (n.fac_nieuws_van IS NULL OR SYSDATE >= n.fac_nieuws_van) "
+ " AND (n.fac_nieuws_tot IS NULL OR SYSDATE < n.fac_nieuws_tot) "
+ " ORDER BY fac_nieuws_key DESC";
%><html>