<!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 - aktuality</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" id="current">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
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 FROM andy_aktuality ORDER BY id DESC")OR DIE(MySQL_Error());
$pocet=mysql_num_rows($vysledok);
#$row_vysledok = mysql_fetch_object($vysledok);
?>
<center>
<br><br>
Počet aktualít: <?php echo $pocet?> |
Zoradené od najnovších po najstaršie<br><br>
<?php
$i=1;
while ($row = mysql_fetch_object($vysledok)){
echo "<table width='500' cellspacing='0'><tr>";
echo "<td class='aktualita' align='left' width='500'><b>$row->aktualita</b></td>";
echo "<td class='aktualita' align='right' width='100'>$row->pridane</td></tr>";
echo "<td width='500' class='ramik' colspan='2' align='left'>$row->popis_akt'</td></tr></table><br><br>";
$i++;
};
?>
<br>
<?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