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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Výlety</TITLE>
<META http-equiv="Content-Type" content="text/html; charset=windows-1250">
<META name="description" content="Stránka katedry humánnej geografie a demogeografie">
<META name="keywords" content="Demografia, humánna geografia, študijný program, administratíva">
<META name="author" content="vladimir bacik" >
<META name="copyright" content="http://www.sodbtn.sk">
<meta name="Robots" content="index,follow">
<meta name="Revisit-after" content="5">  
<LINK href="css/styly.css" type="text/css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/demo.css">

<link href="css/facybox.css" media="screen" rel="stylesheet" type="text/css">
<link href="css/facybox_urls.css" media="screen" rel="stylesheet" type="text/css">
<link href="css/faceplant.css" media="screen" rel="stylesheet" type="text/css">

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js" type="text/javascript"></script>
<script src="css/facybox.js" type="text/javascript"></script>
  <script type="text/javascript">
    jQuery(document).ready(function($) {
      $('a[rel*=facybox]').facybox({
        // noAutoload: true
      });
    });
  </script>


<body>


<br>
<center>
<table width="950">
<tr><td class="hlava" height="40">hlava stránky</td></tr>
<tr><td class="hlavna">
<?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());

$vysledok=MySQL_Query("SELECT * FROM andy_vylety WHERE id ='$id'")OR DIE(MySQL_Error());
$pocet=mysql_num_rows($vysledok);
$row_vysledok = mysql_fetch_object($vysledok);

$vysledok2=MySQL_Query("SELECT * FROM andy_fotky WHERE id_vylet = '$id' ORDER BY id_foto ASC")OR DIE(MySQL_Error());
$pocet=mysql_num_rows($vysledok2);

?>


<center>
<br><br>


<table width="850" border="0" cellspacing="0">
<tr><td width="650" class="vylet"><?php echo $row_vysledok->nazov ?></td>
<td width="200" class="vylet_m" align="right">Počet fotografií: <?php echo $pocet ?>&nbsp;</td></tr>
</table>

<br><br>

<?php

echo "<div>";
echo "<div id='shadow'>";
echo "<div class='example'>";
echo "<div id='screenshots'>";

$i=1;
while ($row_vysledok2 = mysql_fetch_object($vysledok2)){

echo "<a href='../upload/$row_vysledok2->foto' rel='facybox'><img border='0' src='../upload/$row_vysledok2->foto' width='160'></a>&nbsp;" ;
$i++;
};

echo "</div>";
echo "</div>";
echo "</div>";
echo "</div>";

?>


<br><br>
<a class="linky" href="fotogaleria.php">späť na zoznam všetkých výletov</a>




<br>


<?php
MySQL_Close($spoj);
?> 

<br><br>
   
</center>


</td></tr></table>
</center>


</body>
</html>

DR.KR LITE SHELL COPYRIGHT 2016