Unable to connect to the database at this time.
" ); } else { $result = mysql_query("SELECT reason_for_ban, expires FROM troll_ip_ban WHERE ip_address = '$ip' ORDER BY created"); if (!$result) { echo("Error performing query: " . mysql_error() . "
"); } $row = mysql_fetch_array($result); $reason = $row["reason_for_ban"]; if($row["expires"]){ $expires = date("D, M j Y", $row["expires"]); } if($nid){ $result = mysql_query("SELECT body FROM node_revisions WHERE nid = $nid ORDER BY vid DESC"); if (!$result) { echo("Error performing query: " . mysql_error() . "
"); } $row = mysql_fetch_array($result); $policy = $row["body"]; } } mysql_close($con); ?>Anyone using this IP address () has been blocked.
Reason for Block: ' . $reason . ''; } if($expires){ print 'This Block Expires: ' . $expires . '
'; } print $policy; ?>