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



	<cfquery name="d" dbtype="query">
		select ip from ip group by ip
	</cfquery>

	<form name="i" method="post" action="blacklist.cfm">

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