error_reporting(0);
require("/home/mibbit/include/accesssearchdb.inc.php");
$NEED_SEARCH = true;
include "ads.inc.php";
$network = $_GET["network"];
?>
Channel search if(isset($network)) echo htmlentities($network);?> > #Johnrambo497
include "channellist.inc.php";
include_channels_css();
?>
include "header.inc.php"; ?>
$query = $_GET["query"];
$page = $_GET["searchpage"];
if (!isset($page)) $page = 1;
$q = "select netName, channel, users, topic, serverConnect from ircNetworks join ircChannels on networkID=ircNetworks.id where (unix_timestamp()-lastChecked)<(8*60*60)";
if (isset($network)) $q=$q." and netName=\"".mysql_real_escape_string($network)."\"";
$q = $q." and (match(channel,topic) against (\"".mysql_real_escape_string($query)."\")";
$words = explode(" ", $query);
for ($i=0;$i
include "footer.inc.php"; ?>