51 lines
1.8 KiB
PHP
51 lines
1.8 KiB
PHP
|
|
<!doctype html public "-//W3C//DTD HTML 4.01//EN">
|
||
|
|
<html>
|
||
|
|
<head>
|
||
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
||
|
|
<link rel="stylesheet" href="/krk/print.css" type="text/css">
|
||
|
|
<link type="image/png" href="/images/logo_krk16.png" rel="shortcut icon">
|
||
|
|
<title>Tisk</title>
|
||
|
|
<script type="text/javascript">
|
||
|
|
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||
|
|
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||
|
|
</script>
|
||
|
|
<script type="text/javascript">
|
||
|
|
try {
|
||
|
|
var pageTracker = _gat._getTracker("UA-10060558-3");
|
||
|
|
pageTracker._trackPageview();
|
||
|
|
} catch(err) {}</script>
|
||
|
|
</head>
|
||
|
|
<body><!-- onload="window.print()"-->
|
||
|
|
<div class="main">
|
||
|
|
<?php
|
||
|
|
$escaped_page=str_replace(array(")","(","\\","\"","\'",";","{","}","$","[","]","<",">"),"",$_REQUEST[page]);
|
||
|
|
if($_REQUEST[page]){
|
||
|
|
if($_REQUEST[page]=="cestopisy"){
|
||
|
|
include"./pages/cestopisy/cestopisy.php";
|
||
|
|
}else if($_REQUEST[page]=="clanky"){
|
||
|
|
include"./pages/clanky/clanky.php";
|
||
|
|
}else if($_REQUEST[page]=="akce_ob"){
|
||
|
|
include"./pages/akce_ob/akce_ob.php";
|
||
|
|
}else if($_REQUEST[page]=="akce_litvinov"){
|
||
|
|
include"./pages/akce_litvinov/akce_litvinov.php";
|
||
|
|
}else if($_REQUEST[page]=="ski_krusnohori"){
|
||
|
|
include"./pages/ski_krusnohori/ski_krusnohori.php";
|
||
|
|
}else if($_REQUEST[page]=="zakonceni_2008"){
|
||
|
|
include"./pages/zakonceni_2008/zakonceni_2008.php";
|
||
|
|
}elseif(empty($_REQUEST[lang]) AND file_exists("pages/$escaped_page.php")){
|
||
|
|
include"./pages/$escaped_page.php";
|
||
|
|
}elseif(file_exists("pages/$escaped_page-$_REQUEST[lang].php")){
|
||
|
|
include"./pages/$escaped_page-$_REQUEST[lang].php";
|
||
|
|
}else{
|
||
|
|
include"../pages/404.php";
|
||
|
|
}}else{
|
||
|
|
if(empty($_GET["lang"]) OR $_GET["lang"]=="cs"){
|
||
|
|
include"./pages/krk_default.php";
|
||
|
|
}else{
|
||
|
|
include"./pages/krk_default-en.php";
|
||
|
|
}
|
||
|
|
}
|
||
|
|
?>
|
||
|
|
</div>
|
||
|
|
</body>
|
||
|
|
</html>
|