Current Path : /home/da040400/www_root/
Upload File :
Current File : /home/da040400/www_root/vylet_detail.php

<!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> - v&yacute;let</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/image2_rwmt.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_2pixel.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></h1>
		<h2></h2>
		</div>	
		<div id="sidebarContainer">
		<div id="navcontainer">
			<ul><li><a href="index.php" rel="self">&uacute;vodn&aacute; str&aacute;nka</a></li><li><a href="aktuality.php" rel="self">aktuality</a></li><li><a href="vylety.php" rel="self">ponuka v&yacute;letov</a></li><li><a href="page5/page5.php" rel="self">predn&aacute;&scaron;ky pre &scaron;koly</a></li><li><a href="page6/page6.php" rel="self">v&yacute;lety pre &scaron;koly</a></li><li><a href="page13/page13.php" rel="self">d&ocirc;ležit&eacute; inform&aacute;cie</a></li><li><a href="spolupraca/spolupraca.html" rel="self">spolupr&aacute;ca</a></li><li><a href="pripravujeme/pripravujeme.html" rel="self">pripravujeme</a></li><li><a href="projekty/projekty.html" rel="self">projekty</a></li><li><a href="page14/page14.html" rel="self">kontakt</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ž&iacute;me skript, ktor&yacute; 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 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>&nbsp;| <?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&eacute;: <?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&iacute;n: <b>$row->termin</b><br>";
echo "N&aacute;ročnosť: <b>$row->narocnost</b><br>";
echo "Cena zahŕňa: <b>$row->cena_zahrna</b><br>";
echo "Cena pre dospel&yacute;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&aacute;sen&yacute;ch: <b>$pocetp</b><br>";
$volne = $row->volne_miesta-$pocetp;
echo "Počet voľn&yacute;ch miest: <b>$volne</b><br><br>";


if ($row->o1=='on') echo "<img src='../pictures/vsetci.png' alt='v&yacute;lety pre každ&eacute;ho'>&nbsp;";
if ($row->o1=='off') echo "";

if ($row->o2=='on') echo "<img src='../pictures/pesia.png' alt='pe&scaron;ie exkurzie'>&nbsp;";
if ($row->o2=='off') echo "";

if ($row->o3=='on') echo "<img src='../pictures/cyklo.png' alt='cykloexkurzie'>&nbsp;";
if ($row->o3=='off') echo "";

if ($row->o4=='on') echo "<img src='../pictures/voda.png' alt='splavy'>&nbsp;";
if ($row->o4=='off') echo "";       

if ($row->o5=='on') echo "<img src='../pictures/prednasky.png' alt='predn&aacute;&scaron;ky'>&nbsp;";
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&eacute;'>";
	   ?>


</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&auml;ť na v&scaron;etky v&yacute;lety</a>

<?php
MySQL_Close($spoj);
?> 
		</div>
		</div>	
		<div class="clearer"></div>
		<div id="breadcrumbcontainer">
		
	</div>
	<div id="footer">
		<p>&copy; 2008 Andy Popovič - EKOV&Yacute;LETY, Mlynsk&eacute; nivy 41, 821 09 Bratislava, mobil: 0904 467 942, mail: popovic@changenet.sk</p>
	</div>
   </div>
  </div>
 </div>
</body>
</html><!--  www.multithemes.com and www.rwmultitool -->

DR.KR LITE SHELL COPYRIGHT 2016