<?php

if (empty($this->data['resIndSet'])) {
    $errInd = new ErrDBModel();
    echo $errInd->ErrForNav(0);
}
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta name="description" content="<?php 
echo $this->data['resIndSet'][0]['meta_d'];
?>
">
        <meta name="keywords" content="<?php 
echo $this->data['resIndSet'][0]['meta_k'];
?>
">

		<link rel="stylesheet" type="text/css" href="../css/style.css">

		<title><?php 
echo $this->data['resIndSet'][0]['title'];
?>
</title>


		
		
    }
}
?>
					</ul></li>
				<li class="zag_nav"><label><img src="../img/arhiv.png"></label>
				<ul class="cat_menu2">
					<?php 
if (empty($this->data['sqlNav'][2])) {
    $errNav = new ErrDBModel();
    echo $errNav->ErrForNav(2);
} else {
    foreach ($this->data['sqlNav'][2] as $val) {
        echo "<li class='nav_link'><a class='red' href='index.php?ctrl=Video&act=Date&date=" . $val['month'] . "'>" . $val['month'] . "</a></li>";
    }
}
?>
					</ul></li>
				<li class="zag_nav"><label><img src="../img/interes.png"></label>
				<ul class="cat_menu2">
                    <?php 
if (empty($this->data['sqlNav'][3])) {
    $errNav = new ErrDBModel();
    echo $errNav->ErrForNav(3);
} else {
    foreach ($this->data['sqlNav'][3] as $val) {
        echo "<li class='nav_link'><a class='red' href='" . $val['site'] . "'>" . $val['name'] . "</a></li>";
    }
}
?>
					</ul></li>
			</ul>