old-website/beta/home.php

48 lines
1.8 KiB
PHP
Executable File

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3c.org/1999/xhtml">
<head>
<title>Computer Science Club of the University of Waterloo</title>
<!-- Meta -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Script-Type" content="text/javascript" />
<!-- Meta -->
<!-- CSS -->
<link href="css/essential.css" rel="stylesheet" type="text/css" />
<!-- CSS -->
<!-- Java Script -->
<script src="module/jscript/ajax.js" language="javascript"></script>
<script src="module/jscript/essential.js" language="javascript"></script>
<!-- Java Script -->
</head>
<body onload="startup()">
<div class="frame">
<?php
if(preg_match("/msie [1..6]/i", $_SERVER['HTTP_USER_AGENT'])) {
?>
<font color="red">Your web browser does not support CSS 3.0. Our external link panel and WebFeed panel are automatically
terminated by the system. To use the full potential of this homepage, please upgrade to the latest version.
We recommends to use <b>Firefox 0.8+, Opera 8+, Safari 2+, Konqueror 3.5+
or IE 7.</b></font>
<?php
} else if(preg_match("/msie 7/i", $_SERVER['HTTP_USER_AGENT'])) {
?>
<font color="blue">Your web browser is known that cannot retrieve the
(streaming) live feed from our server. To enable this feature, please
install <b>Firefox 0.8+, Opera 8+ and probable Safari 2+/Konqueror 3.5+.</b>
</font>
<?php
} else {
?>
<div id="webfeed"></div>
<div id="webextlink"></div>
<?php
}
?>
<div id="webtitle"></div>
<div id="webnav"></div>
<div id="webfooter"></div>
</div>
</body>
</html>