 		from
 			uam.blacklist
 		where
-			sysdate-LISTDATE<180
+			sysdate-LISTDATE<#sincedays#
 	</cfquery>
 	<cfquery name="sn" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
 		select

		from
			uam.blacklist_subnet
		where
			sysdate-INSERT_DATE<180
	</cfquery>
	<cfset utilities = CreateObject("component","component.utilities")>
	<cfset utilities.setAppBL()>

	<hr>Filter
	<cfparam name="sincedays" default="180">

	<form method="post" action="blacklist.cfm">
		<label for="sincedays">Days to include</label>
		<input type="number" name="sincedays" id="sincedays" value="#sincedays#">
