+ elseif (ereg("W3C_Validator/([0-9a-zA-Z\.+]+)", $this->uastring, $regs)) {
+ $this->brand = "W3C_Validator";
+ $this->version = $regs[1];
+ $this->bot = true;
+ }
+ elseif (ereg("ZyBorg/([0-9a-zA-Z\.+]+)", $this->uastring, $regs)) {
+ $this->brand = "ZyBorg";
+ $this->version = $regs[1];
+ $this->bot = true;
+ }
+ elseif (ereg("Ask Jeeves/([0-9a-zA-Z\.+]+)", $this->uastring, $regs)) {
+ $this->brand = "Ask Jeeves";
+ $this->version = $regs[1];
+ $this->bot = true;
+ }
+ elseif (ereg("Slurp/([0-9a-zA-Z\.+]+)", $this->uastring, $regs)) {
+ $this->brand = "Slurp";
+ $this->version = $regs[1];
+ $this->bot = true;
+ }
+ elseif (ereg("Openbot/([0-9a-zA-Z\.+]+)", $this->uastring, $regs)) {
+ $this->brand = "Openbot";
+ $this->version = $regs[1];
+ $this->bot = true;
+ }
+ elseif (ereg("Mercator-([0-9a-zA-Z\.+]+)", $this->uastring, $regs)) {
+ $this->brand = "Mercator";
+ $this->version = $regs[1];
+ $this->bot = true;
+ }
+ elseif (ereg("appie ([0-9a-zA-Z\.+]+)", $this->uastring, $regs)) {
+ $this->brand = "appie";
+ $this->version = $regs[1];
+ $this->bot = true;
+ }
+ elseif (ereg("larbin_([0-9a-zA-Z\.+]+)", $this->uastring, $regs)) {
+ $this->brand = "larbin";
+ $this->version = $regs[1];
+ $this->bot = true;
+ }
+ elseif (ereg("Gulper Web Bot ([0-9a-zA-Z\.+]+)", $this->uastring, $regs)) {
+ $this->brand = "Gulper Web Bot";
+ $this->version = $regs[1];
+ $this->bot = true;
+ }
+ elseif (ereg("HTTrack ([0-9a-zA-Z\.+]+)", $this->uastring, $regs)) {
+ $this->brand = "HTTrack";
+ $this->version = $regs[1];
+ $this->bot = true;
+ }
+ elseif (ereg("OWR_Crawler ([0-9a-zA-Z\.+]+)", $this->uastring, $regs)) {
+ $this->brand = "OWR_Crawler";
+ $this->version = $regs[1];
+ $this->bot = true;
+ }
+ elseif (ereg("search.ch ([0-9a-zA-Z\.+]+)", $this->uastring, $regs)) {
+ $this->brand = "search.ch";
+ $this->version = $regs[1];
+ $this->bot = true;
+ }
+ elseif (ereg("WebFilter Robot ([0-9a-zA-Z\.+]+)", $this->uastring, $regs)) {
+ $this->brand = "WebFilter Robot";
+ $this->version = $regs[1];
+ $this->bot = true;
+ }
+ elseif (ereg("^LinkWalker", $this->uastring)) {
+ $this->brand = "LinkWalker";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("^Internet Explorer 5.5", $this->uastring)) {
+ $this->brand = "Unknown bot (IE5.5)";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("^Mozilla[\s ]*$", $this->uastring)) {
+ $this->brand = "Unknown bot (Mozilla)";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("^BaiDuSpider", $this->uastring)) {
+ $this->brand = "BaiDuSpider";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("^ia_archiver", $this->uastring)) {
+ $this->brand = "ia_archiver";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("^PingALink", $this->uastring)) {
+ $this->brand = "PingALink";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("^IlTrovatore-Setaccio", $this->uastring)) {
+ $this->brand = "IlTrovatore-Setaccio";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("^Nutch", $this->uastring)) {
+ $this->brand = "Nutch";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("^dumbBot", $this->uastring)) {
+ $this->brand = "dumbBot";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("http://www.almaden.ibm.com/cs/crawler", $this->uastring)) {
+ $this->brand = "almaden crawler";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("B-l-i-t-z-B-O-T", $this->uastring) || ereg("B l i t z B O T @ t r i c u s . n e t", $this->uastring)) {
+ $this->brand = "BlitzBOT";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("sitecheck.internetseer.com", $this->uastring)) {
+ $this->brand = "internetseer";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("Girafabot", $this->uastring)) {
+ $this->brand = "Girafabot";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("efp@gmx.net", $this->uastring)) {
+ $this->brand = "efp";
+ $this->version = "";
+ $this->bot = true;
+ }
+ elseif (ereg("HeinrichderMiragoRobot", $this->uastring)) {
+ $this->brand = "HeinrichderMiragoRobot";
+ $this->version = "";
+ $this->bot = true;
+ }