<?php
/**
 * ------------------------------------------------------------------------
 * JA T3v2 System Plugin for J25 & J30
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
 * @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
 * Author: J.O.O.M Solutions Co., Ltd
 * Websites: http://www.joomlart.com - http://www.joomlancers.com
 * ------------------------------------------------------------------------
 */

// No direct access
defined('_JEXEC') or die;
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">

<head>
    <?php //gen head base on theme info
    $this->showBlock ('head');

    // check iPhone browser
    $ipBrowser = strpos($_SERVER['HTTP_USER_AGENT'],"iPhone");
    $ipClass = ($ipBrowser) ? ' bd-iphone' : '';
    ?>
</head>

<body id="bd" class="<?php echo $this->getBodyClass() . $ipClass;?> contentpane">
    <jdoc:include type="message" />
    <jdoc:include type="component" />
</body>

</html>