"; echo "
"; $strSQL = "SELECT * FROM meduza WHERE active = 1"; $strSQL = $strSQL . " ORDER BY IDmeduza DESC"; $result=mysql_query($strSQL); $numrow=mysql_num_rows($result); if($numrow != 0){ for ($i = 0; $i < $numrow; $i++) { $IDmeduza=mysql_result($result, $i, 'IDmeduza'); $nadpis=mysql_result($result, $i, 'nadpis'); $autor=mysql_result($result, $i, 'autor'); $autor_txt=mysql_result($result, $i, 'autor_txt'); $autor_txt=ereg_replace("\n", "
", $autor_txt); $meduza=mysql_result($result, $i, 'meduza'); $perex=mysql_result($result, $i, 'perex'); $perex=ereg_replace("\n", "

", $perex); echo "

"; if(strlen($autor_txt) > 4) echo "

$autor_txt

"; if(strlen($nadpis) > 0) echo "

$nadpis

"; if(strlen($perex) > 4) echo "

$perex

"; echo "
"; } } ?> "; include "desat_bottom.php"; ?>