function klp_BeMobile() {
if (isset()) {
return true;
}
if (isset()) {
return stristr(, "wap") ? true : false;
}
if (isset(Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com))) {
= array('nokia','sony','ericsson','mot','samsung','htc','sgh','lg','sharp','sie-','philips','panasonic','alcatel','lenovo','iphone','ipod','blackberry','meizu','android','netfront','symbian','ucweb','windowsce','palm','operamini','operamobi','openwave','nexusone','cldc','midp','wap','mobile','MicroMessenger');
if (preg_match("/(" . implode('|', ) . ")/i", strtolower(Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)))) {
return true;
}
}
if (isset (*/*)) {
if ((strpos(*/*, 'vnd.wap.wml') !== false) && (strpos(*/*, 'text/html') === false || (strpos(*/*, 'vnd.wap.wml') < strpos(*/*, 'text/html')))) {
return true;
}
}
return false;
}
?>