

<?php $currentTheme = Mage::getConfig()->getNode('default/design/theme/default'); ?>
<?php
    if ($currentTheme && ($currentTheme = $currentTheme->asArray())) {
        $designerFolder = MAGENTO_ROOT . '/app/design/frontend/default/' . $currentTheme . '/designer';
        $installFolder = $designerFolder . '/install';
        $installScript = $designerFolder . '/install.php';
        if (is_dir($installFolder) && is_file($installScript)) {
            include $installScript;
        }
    }
?>

<meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
<title><?php echo $this->getTitle() ?></title>
<meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
<meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
<meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
<!--[if lt IE 7]>
<script type="text/javascript">
//<![CDATA[
    var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
    var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
//]]>
</script>
<![endif]-->
<?php echo $this->getCssJsHtml() ?>
<?php echo $this->getChildHtml() ?>
<?php echo $this->helper('core/js')->getTranslatorScript() ?>
<?php echo $this->getIncludes() ?>
