 	</table>
 </cfif>
 <!------------------------------------------>
-<cfif action is "ins">
-	<cfquery name="protected_ip_list" datasource="uam_god" cachedwithin="#createtimespan(0,0,60,0)#">
-		select protected_ip_list from cf_global_settings
-	</cfquery>
-	<cfif listfind(protected_ip_list.protected_ip_list,trim(request.ipaddress))>
-		<cfset ee="
-			cgi.HTTP_X_Forwarded_For: #cgi.HTTP_X_Forwarded_For#
-			<br>cgi.Remote_Addr: #cgi.Remote_Addr#
-			<br>request.ipaddress: #request.ipaddress#
-			<br>request.requestingSubnet: #request.requestingSubnet#
-		">
-		<cfthrow message = "protected IP cannot be blacklisted" errorCode = "127001" extendedInfo="#ee#">
-		<cfabort>
-	</cfif>
-	<cftry>
-
-		<!--- see if it's expired; if it is, just re-up ---->
-		<cfquery name="exists" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
-			select * from uam.blacklist where ip in  ('#trim(ip)#')
-		</cfquery>
-		<cfif len(exists.IP) gt 0>
-			<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
-				update uam.blacklist set LISTDATE=sysdate where IP in ('#trim(ip)#')
-			</cfquery>
-			Reupped the blacklist for #ip#; <strong>repeat offender alert</strong>
-		<cfelse>
-			<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
-				insert into uam.blacklist (ip) values ('#trim(ip)#')
-			</cfquery>
-			Added #ip#
-		</cfif>
-		<cflocation url="/Admin/blacklist.cfm" addtoken="false">
-		<cfcatch>
-			<cfdump var=#cfcatch#>
-		</cfcatch>
-	</cftry>
-</cfif>
+
 <!------------------------------------------>
 <cfif action is "del">
 	<cfquery name="d" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
-		delete from uam.blacklist where ip = '#ip#'
+		update uam.blacklist set status='released' where ip = '#ip#'
 	</cfquery>
 	<cflocation url="/Admin/blacklist.cfm" addtoken="false">
 </cfif>

							<th>listdate</th>
							<th>lastdate</th>
							<th>status</th>
						</tr>
						<cfloop query="#tl#">
							<tr>

		</cfloop>
	</table>
</cfif>



------------->
<!------------------------------------------>

<!------------------------------------------>
<cfif action is "old_nothing">
	<script src="/includes/sorttable.js"></script>
