<?php

$db_server = '';
$db_login = '';
$db_pass = '';
$db_name = 'kpf_db';

function title($title, $adr) {
?>
<!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" lang="sk" xml:lang="sk">
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta http-equiv="content-language" content="sk" />
    <meta name="robots" content="index,nofollow" />
    <title><?php echo $title?></title>
    <link href="<?php echo $adr?>style.css" rel="stylesheet" type="text/css" />
  </head>
  <body>

    <div class="main">
      <h1>
        <a href="<?php echo $adr?>index.php" title="Klub priateľov fotografie">Klub <em>priateľov</em> fotografie<br />
        <span>pri <em>S</em>TREDO<em>E</em>URÓPSKOM <em>D</em>OME <em>F</em>OTOGRAFIE</span></a>
      </h1> 
      


<?php
}

session_name($db_name);
session_start();
$link = mysql_connect($db_server, $db_login, $db_pass);
$db_selected = mysql_select_db($db_name, $link);

?>