<?php
  function hlavicka($title) {
?>
  <!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="sk" lang="sk">
  <head>
     <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
     <title>
        <?php echo $title; ?>
     </title>
     <link href="style.css" rel="stylesheet" type="text/css" />
  </head>

<body>
   <div id="wrapper">
	    <h3 id="nazov">WEB</h3>
	    <div id="body">
	      <div id="body-top">
		  	   <div id="nav">
				      <?php echo "<a href=\"index.php\">Úvod</a>";?>
				      <?php echo "<a href=\"system.php?akce=ponuka\">Služy</a>";?>
				      <?php echo "<a href=\"system.php?akce=foto&page=1\">Fotogaléria</a>";?>
				      <?php echo "<a href=\"system.php?akce=certifikaty\">Certifikáty</a>";?>
				      <?php echo "<a href=\"system.php?akce=formular\">Formulár</a>";?>
				      <?php echo "<a href=\"system.php?akce=kontakt\">Kontakt</a>";?>
           </div>
			     <div id="body-bot">
				      <div id="welcome">  
					       <img src="images/pic_1.jpg" width="231" height="301" alt="Pic 1" />
<?php
  }
?>


