$mobileBrower = '/(iPod|iPhone|Android|BlackBerry|SymbianOS|SCH-Md+|Opera Mini|Windows CE|Nokia|SonyEricsson|webOS|PalmOS)/'; if(preg_match($mobileBrower, $_SERVER['HTTP_USER_AGENT'])) { $m_check = "1"; } else { $m_check = "0"; } ?> include "../public/include/sitehead_pc.php"; // Ǿ ?> } else {?> include "../public/include/sitehead_mobile.php"; //ڵ ?> } ?>
|