<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <?=$this->headTitle() . "\n" /* Newline for pretty source :) */ ?>
    <?=$this->headMeta() . "\n"  /* Newline for pretty source :) */ ?>
    <link rel="stylesheet" type="text/css" href="<?=$this->baseUrl()?>/css/reset.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="<?=$this->baseUrl()?>/css/default.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="<?=$this->baseUrl()?>/fancybox/jquery.fancybox-1.3.1.css" media="screen" />
    
    <script type="text/javascript" src="<?=$this->baseUrl()?>/js/nicEdit/nicEdit.js"></script>
    <script type="text/javascript" src="<?=$this->baseUrl()?>/js/nicEdit/nicCode/nicCode.js"></script>
    <?=$this->headScript() ?>
    <script type="text/javascript" src="<?=$this->baseUrl()?>/fancybox/jquery.fancybox-1.3.1.pack.js"></script>
    
    <?=$this->fancybox()->headScript() ?>
</head>
<body>
<div id="wrapper" class="small">

    <div id="header">
        <a href="<?=$this->baseUrl() ?>/"><span id="logo"></span></a>
    </div>

    <div id="nav">
        <ul>
            <li><a href="<?=$this->url(array('controller' => 'index'), 'default', true) ?>">« Back to the site</a></li>
            <li><a href="<?=$this->url(array('controller' => 'index'), 'admin', true) ?>">Dashboard</a></li>
            <li><a href="<?=$this->url(array('controller' => 'blog'), 'admin', true) ?>">Skapa ny blogpost</a></li>
        </ul>
    </div>

    <?=$this->layout()->content ?>

</div>
</body>
</html>