Skip to content

Commit

Permalink
fuck ie users
Browse files Browse the repository at this point in the history
  • Loading branch information
Shou Ya committed Oct 8, 2012
1 parent c1d377c commit 7ef9ab6
Showing 1 changed file with 39 additions and 1 deletion.
40 changes: 39 additions & 1 deletion client/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()){
?>

<!DOCTYPE html>
<html>
<head>
<title>Internet Explorer is not supported.</title>
</head>
<body>
<h1>Choose browsers below for better experience.</h1>
<hr />
<p>
<ul>
<li><a href="http://www.google.com/chrome/">Google Chrome</a></li>
<li><a href="http://www.mozilla.org/en-US/firefox/new/">Firefox</a></li>
</ul>
</p>
<hr />
<p>
<a href="http://robertnyman.com/2009/09/09/fuck-ie-gently/">Why not IE?</a>
</p>
</body>
</html>

<?php
exit();
}
?>



?><!DOCTYPE html>
Expand Down Expand Up @@ -94,4 +131,5 @@
<p>Copyright &copy; 2012, <a href="//bgy.xxx" title="Forum homepage">CGS Forum.</a></p>
</div>
</body>
</html>
</html>

0 comments on commit 7ef9ab6

Please sign in to comment.