<!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><!-- www.multithemes.com -->
<title>www.ekovylety.sk - informácie o výlete</title>
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/multinotheme/styles.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/multinotheme/colourtag.css" />
<link rel="stylesheet" type="text/css" media="handheld" href="%pathto(handheld.css)%" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/multinotheme/css/header/header2.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/multinotheme/css/skin/colours_front.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/multinotheme/css/skin/colours_back1.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/multinotheme/css/border/border_all.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/multinotheme/css/border/border_1pixel.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/multinotheme/css/width/800.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/multinotheme/css/menu/right.css" />
<link rel="stylesheet" type="text/css" media="screen" href="rw_common/themes/multinotheme/css/title/left.css" />
<script type="text/javascript" src="rw_common/themes/multinotheme/javascript.js"></script>
<!--[if lte IE 6]>
<script>
var blankSrc = "rw_common/themes/multinotheme/extras/blank.gif";
</script>
<style type="text/css" media="screen">
#logo, #body_image, #pageHeader {behavior: url(rw_common/themes/multinotheme/extras/iepngfix-crop.htc);}
img {behavior: url(rw_common/themes/multinotheme/extras/pngbehavior.htc);}
</style>
<![endif]-->
<!--[if lte IE 6]>
<link title="default" rel="Stylesheet" type="text/css" href="rw_common/themes/multinotheme/extras/ie6.css">
<![endif]-->
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="all" />
<meta name="generator" content="RapidWeaver" />
</head>
<body>
<div id="body_image">
<div id="container">
<div id="container_image">
<div id="pageHeader">
<h1>www.ekovylety.sk</h1>
<h2></h2>
</div>
<div id="sidebarContainer">
<div id="navcontainer">
<ul><li><a href="index.php" rel="self">úvodná stránka</a></li><li><a href="vylety.php" rel="self">ponuka výletov</a></li><li><a href="aktuality.php" rel="self">aktuality</a></li></ul>
</div>
<div class="clearer"></div>
<div class="sideHeader"></div>
<div id="sidebar">
<br />
</div>
</div>
<div id="contentContainer">
<div id="content">
<?php
$id = $_GET["id"];
require("spojenie.php"); # Vložíme skript, ktorý obsahuje nastavenie pripojenia.
$spoj = MySQL_Connect($SQL_Server, $SQL_Uzivatel, $SQL_Heslo) OR DIE(MySQL_Error());
MySQL_Select_Db($Databaza) OR DIE(MySQL_Error());
mysql_query("SET NAMES 'utf8'");
$vysledok=MySQL_Query("SELECT *,Date_Format(pridane, '%d.%m.%Y') AS pridane,Date_Format(termin, '%d.%m.%Y') AS termin FROM andy_vylety WHERE id=$id")OR DIE(MySQL_Error());
$pocet=mysql_num_rows($vysledok);
$row = mysql_fetch_object($vysledok);
$vysledok2=MySQL_Query("SELECT * FROM andy_prihlaseni WHERE id_vylet=$id")OR DIE(MySQL_Error());
$pocetp=mysql_num_rows($vysledok2);
$row2 = mysql_fetch_object($vysledok2);
?>
<center>
<table width="500" border="0" cellspacing="0">
<tr><td width="400" class="vylet"><b><?php echo $row->nazov ?></b> | <?php echo $row->krajina ?></td><td width="100" class="vylet" align="right">
<?php
if ($row->vylet_pre=='verejnost') echo "<img src='../pictures/verejnost.png'><br>";
if ($row->vylet_pre=='skola') echo "<img src='../pictures/skoly.png'><br>";
?>
</td></tr>
<tr><td colspan="2" class="vylet2">
Pridané: <?php echo $row->pridane ?><br><br>
<?php echo $row->popis ?><br><br>
<i><?php echo $row->poznamka ?></i><br><br></td></tr>
<tr><td colspan="2" class="vylet3">
<table border="0" cellspacing="0"><tr><td valign="top" width="500">
<?php
echo "Rok: <b>$row->rok</b><br>";
echo "Mesiac: <b>$row->mesiac</b><br>";
echo "Termín: <b>$row->termin</b><br>";
echo "Náročnosť: <b>$row->narocnost</b><br>";
echo "Cena zahŕňa: <b>$row->cena_zahrna</b><br>";
echo "Cena pre dospelých: <b>$row->cena_dosp</b> Eur/os.<br>";
echo "Cena zľava: <b>$row->cena_zlava</b> Eur/os.<br>";
echo "Miesto stretnutia: <b>$row->miesto</b><br>";
echo "Čas stretnutia: <b>$row->dlzka</b><br><br>";
echo "Počet miest: <b>$row->volne_miesta</b><br>";
echo "Počet prihlásených: <b>$pocetp</b><br>";
$volne = $row->volne_miesta-$pocetp;
echo "Počet voľných miest: <b>$volne</b><br><br>";
if ($row->o1=='on') echo "<img src='../pictures/vsetci.png' alt='výlety pre každého'> ";
if ($row->o1=='off') echo "";
if ($row->o2=='on') echo "<img src='../pictures/pesia.png' alt='pešie exkurzie'> ";
if ($row->o2=='off') echo "";
if ($row->o3=='on') echo "<img src='../pictures/cyklo.png' alt='cykloexkurzie'> ";
if ($row->o3=='off') echo "";
if ($row->o4=='on') echo "<img src='../pictures/voda.png' alt='splavy'> ";
if ($row->o4=='off') echo "";
if ($row->o5=='on') echo "<img src='../pictures/prednasky.png' alt='prednášky'> ";
if ($row->o5=='off') echo "";
?>
<br><br>
<?php
if ($volne>=1) echo "<a href='form.php?id=$row->id'><img src='../pictures/prihlasit.png' alt='splavy'></a>";
if ($volne<=0) echo "<img src='../pictures/obsadene.png' alt='obsadené'>";
?>
</td>
</table>
</td></tr>
</table>
<table>
<td width="500">
<?php echo $row->miesto_mapa; ?>
</td></tr>
</table>
<br><br>
<br><br>
<a class="linky" href="vylety.php">späť na všetky výlety</a>
<?php
MySQL_Close($spoj);
?>
</div>
</div>
<div class="clearer"></div>
<div id="breadcrumbcontainer">
</div>
<div id="footer">
<p>© 2012 Andrej Popovič</p>
</div>
</div>
</div>
</div>
</body>
</html><!-- www.multithemes.com and www.rwmultitool -->
DR.KR LITE SHELL COPYRIGHT 2016