else
$sUserAgent = $_SERVER['HTTP_USER_AGENT'];
$sSQL = 'insert into new_query_log (type,starttime,query,ipaddress,useragent,language,format,searchterm)';
else
$sUserAgent = $_SERVER['HTTP_USER_AGENT'];
$sSQL = 'insert into new_query_log (type,starttime,query,ipaddress,useragent,language,format,searchterm)';