<?php
//
// +--------------------------------------------------------------------------+
// | |
// | XS PHP Library Generic Classes Library |
// | |
// | Copyright (c) 2001-2002 XSPHPLib Group. |
// | |
// +--------------------------------------------------------------------------+
// | |
// | Distributed under the terms of the GNU Lesser General Public License as |
// | published by the Free Software Foundation version 2.1 |
// | See the GNU Lesser General Public License for more details. You should |
// | have received a copy of the GNU Lesser General Public License along with |
// | this package; if not, write to the Free Software Foundation, Inc., |
// | 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
// | |
// +--------------------------------------------------------------------------+
// | |
// | Authors: Robert Bala <hide@address.com> |
// | |
// +--------------------------------------------------------------------------+
//
// $Id: browser.php,v 1.2 2002/11/28 09:51:38 rbala Exp $
include_once('../inc/object.inc.php');
include_once('../inc/browser.inc.php');
$browser = new Browser();
$browser->parse();
echo "Browser - " . $browser->getBrowser() . " v " . $browser->getVersion() . " features:";
echo "<br><br>";
if ($browser->getTables()) {
echo "<b>Tables</b> are supported.";
} else {
echo "<b>Tables</b> are not supported.";
}
echo "<br>";
if ($browser->getFrames()) {
echo "<b>Frames</b> are supported.";
} else {
echo "<b>Frames</b> are not supported.";
}
echo "<br>";
if ($browser->getLayers()) {
echo "<b>Layers</b> are supported.";
} else {
echo "<b>Layers</b> are not supported.";
}
echo "<br>";
if ($browser->getLayers()) {
echo "<b>Layers</b> are supported.";
} else {
echo "<b>Layers</b> are not supported.";
}
echo "<br>";
if ($browser->getFileUpload()) {
echo "<b>File Uploads</b> are supported.";
} else {
echo "<b>File Uploads</b> are not supported.";
}
echo "<br>";
if ($browser->getJavaScript()) {
echo "<b>Java Script</b> is supported.";
} else {
echo "<b>Java Script</b> is not supported.";
}
echo "<br><br>";
echo "System <b>Platform</b>: " . $browser->getPlatform() . "<br>";
echo "Supported <b>Language</b>: " . $browser->getLanguage() . "<br>";
?>