header("Location: index.php");
exit;
if (isset($_GET['id_pob']))
{
require_once "config.php";
error_reporting(ERROR_REPORTING_INDEX);
require_once "classes/class_init.php";
$id = $_GET['id_pob'];
$firma = new firma();
$mfk = $firma->existMapForCompany($id,$mapa);
}
?>
Rezervujsi.sk
if (!empty($mapa) and is_array($mapa))
print '';
else
print "";
?>
if (isset($_GET['id_pob']))
{
$id = $_GET['id_pob'];
$udaje = $firma->getUdajeOfirme($id);
echo "www.rezervujsi.sk
";
if ($firma->existLogo($id,$logo))
{
echo "
";
}
echo "{$udaje['firma']}
";
if ($mfk)
{
if (is_array($mapa))
{
?>
}
else
{
echo "
";
}
}
echo "
Adresa:
";
echo $udaje['adresa']."
";
echo $udaje['mesto']."
";
if (!empty($udaje['telefon']))
{
echo "
";
echo "Telefon: {$udaje['telefon']}";
}
}
?>