Merge in old tojnar.cz/krk (mostly) as is

The SupportIT server www.tojnar.cz is hosted on is being decommissioned.
To make the migration faster, we will just copy the current state
and convert it to Hakyll incrementally.

This mostly imports the tree as is minus accidentally misplaced files.
Additionally, the following changes were made:

- line separators were converted using dos2unix
- file encodings were changed from windows-1250 to utf-8
- highslide and related files are now loaded from root instead of per-gallery copy
- uppercase JPG extensions were changed to lowercase

remove private
This commit is contained in:
2022-01-14 10:22:22 +01:00
parent 8db618c057
commit 0ad86228e9
1006 changed files with 48751 additions and 0 deletions

51
print.php Normal file
View File

@@ -0,0 +1,51 @@
<!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>