\n"; ?> \n"; } ?> ACP Olymp Brno - <?php echo $page[$_GET['pagex']][1];?>
Chyba na straně serveru\n"; echo "

Nebyla nalezena požadovaná data !

\n"; echo "

Pokračujte na úvodní stránku

\n"; } else { require $page[$_GET['pagex']][2]; } ?>
\n"; } if($_GET['pagex']==$page_first){ echo "

  Aktuality

\n"; $conn = mysql_connect($server, $username, $password); mysql_select_db($dbname); $query = "SELECT `id`, `time`, `title`, `subtext`, `address`, `external_address` FROM `novinky` WHERE `visible` = 1 AND `nomination` = 0 AND `other` = 0 ORDER BY time DESC LIMIT 0,3"; $result = mysql_query($query); while($row = mysql_fetch_array($result, 1)){ echo "
"; if($row['external_address']!=""){ echo "\n"; } else { echo "\n"; } echo "{$row['title']}

{$row['subtext']}...

\n"; } echo "Více aktualit\n"; } else if($_GET['pagex']=="aktuality"){ $conn = mysql_connect($server, $username, $password); mysql_select_db($dbname); $query = "SELECT `id`, `time`, `title`, `subtext`, `address`, `external_address` FROM `novinky` WHERE `visible` = 1 AND `nomination` = 1 AND `other` = 0 ORDER BY `time` DESC"; $result = mysql_query($query); if(mysql_num_rows($result)>0){ echo "

  Nominace

\n"; } while($row = mysql_fetch_array($result, 1)){ echo "
"; if($row['external_address']!=""){ echo "\n"; } else { echo "\n"; } echo "{$row['title']}
\n"; } $query = "SELECT `id`, `time`, `title`, `subtext`, `address`, `external_address` FROM `novinky` WHERE `visible` = 1 AND `nomination` = 0 AND `other` = 1 ORDER BY `time` DESC"; $result = mysql_query($query); if(mysql_num_rows($result)>0){ echo "

\n"; echo "

  Ostatní

\n"; } while($row = mysql_fetch_array($result, 1)){ echo "
"; if($row['external_address']!=""){ echo "\n"; } else { echo "\n"; } echo "» {$row['title']}
\n"; } } if($_GET['pagex']!="fotogalerie"){ echo "
\n"; echo "
\n"; echo "
\n"; echo "\n"; } if(!isset($_SESSION['getAccess'])){ $_SESSION['getAccess'] = true; $fa = fopen("access.csv","a"); fwrite($fa,time().";{$_SERVER['REMOTE_ADDR']}\n"); fclose($fa); } require("checker.php"); ?>
Created by Robosh
(c) ACP Olymp Brno 2005