diff --git a/client/index.php b/client/index.php index 15fbfb8..5dffc9b 100644 --- a/client/index.php +++ b/client/index.php @@ -18,6 +18,43 @@ //var_dump($forum_uid, $forum_username, $forum_is_login); +function detect_ie(){ + if(isset($_SERVER['HTTP_USER_AGENT']) && + (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false)) + return true; + else + return false; +} + +if (detect_ie()){ +?> + + + + + Internet Explorer is not supported. + + +

Choose browsers below for better experience.

+
+

+

+

+
+

+ Why not IE? +

+ + + + + ?> @@ -94,4 +131,5 @@

Copyright © 2012, CGS Forum.

- \ No newline at end of file + +