 
 
 	<cfquery name="d" dbtype="query">
-		select ip from ip group by ip
+		select ip from rip group by ip
 	</cfquery>
 
 	<form name="i" method="post" action="blacklist.cfm">

		</tr>
		<cfloop query="d">
			<tr>
				<td>#ip#</td>
				<cfquery name="tl" dbtype="query">
					select * from ip where ip='#d.ip#'
				</cfquery>
				<td>
					<cfdump var=#tl#>

		This form shows only activity in the last 180 days.
	</p>
	<cfoutput>
	<cfquery name="rip" datasource="user_login" username="#session.dbuser#" password="#decrypt(session.epw,session.sessionKey)#">
		select
			*
		from
