From 88e5499192836736b5b4aab47f0840217f8a123b Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Fri, 14 Jan 2022 03:30:26 +0100 Subject: [PATCH] Format code from krk-litvinov.cz --- 2012-prosinec/cs.php | 108 +++++++++++++++---------------- 2012-prosinec/de.php | 108 +++++++++++++++---------------- 2012-prosinec/en.php | 108 +++++++++++++++---------------- 2012-prosinec/index.php | 129 +++++++++++++++++++------------------- 2012-prosinec/sitemap.php | 57 ++++++++--------- 2014/cs.php | 108 +++++++++++++++---------------- 2014/de.php | 108 +++++++++++++++---------------- 2014/en.php | 108 +++++++++++++++---------------- 2014/index.php | 129 +++++++++++++++++++------------------- 2014/sitemap.php | 57 ++++++++--------- 2015-prosinec/cs.php | 108 +++++++++++++++---------------- 2015-prosinec/de.php | 108 +++++++++++++++---------------- 2015-prosinec/en.php | 108 +++++++++++++++---------------- 2015-prosinec/index.php | 129 +++++++++++++++++++------------------- 2015-prosinec/sitemap.php | 57 ++++++++--------- 2015/cs.php | 108 +++++++++++++++---------------- 2015/de.php | 108 +++++++++++++++---------------- 2015/en.php | 108 +++++++++++++++---------------- 2015/index.php | 129 +++++++++++++++++++------------------- 2015/sitemap.php | 57 ++++++++--------- 20 files changed, 1028 insertions(+), 1012 deletions(-) diff --git a/2012-prosinec/cs.php b/2012-prosinec/cs.php index cf8e5e0..a62f2c4 100644 --- a/2012-prosinec/cs.php +++ b/2012-prosinec/cs.php @@ -1,52 +1,53 @@ URL"; -$CMS["%sbhelp%"]=<<Nápověda
HTML
není podporováno
@@ -59,10 +60,9 @@ $CMS["%sbhelp%"]=<<[yellow]žluté písmo[/yellow]
žluté písmo
EOT; -$CMS["%searchform%"]="006883172923970328180:3wantrdnnzy"; -$CMS["%eustring%"]="Tento projekt byl podpořen z Evropského fondu pro regionální rozvoj, fondu malých projektů Programu Cíl 3 na podporu přeshraniční spolupráce mezi Českou republikou a Svobodným státem Sasko 2007-2013."; -}else{ -header("HTTP/1.0 403 Forbidden"); -header("Location: /en/error/403"); + $CMS['%searchform%'] = '006883172923970328180:3wantrdnnzy'; + $CMS['%eustring%'] = 'Tento projekt byl podpořen z Evropského fondu pro regionální rozvoj, fondu malých projektů Programu Cíl 3 na podporu přeshraniční spolupráce mezi Českou republikou a Svobodným státem Sasko 2007-2013.'; +} else { + header('HTTP/1.0 403 Forbidden'); + header('Location: /en/error/403'); } -?> \ No newline at end of file diff --git a/2012-prosinec/de.php b/2012-prosinec/de.php index cb62a63..0d15124 100644 --- a/2012-prosinec/de.php +++ b/2012-prosinec/de.php @@ -1,52 +1,53 @@ URL"; -$CMS["%sbhelp%"]=<<Help
HTML
not supported
@@ -59,10 +60,9 @@ $CMS["%sbhelp%"]=<<[yellow]yellow text[/yellow]
yellow text
EOT; -$CMS["%searchform%"]="006883172923970328180:bfehocs55i8"; -$CMS["%eustring%"]="Das Projekt wurde von dem Europäischen Fonds für Regionalentwicklung (KPF, Ziel 3 - Programm zur Förderung der grenzübergreifenden Zusammenarbeit zwischen dem Freistaat Sachsen und der Tschechischen Republik 2007-2013) unterstützt."; -}else{ -header("HTTP/1.0 403 Forbidden"); -header("Location: /en/error/403"); + $CMS['%searchform%'] = '006883172923970328180:bfehocs55i8'; + $CMS['%eustring%'] = 'Das Projekt wurde von dem Europäischen Fonds für Regionalentwicklung (KPF, Ziel 3 - Programm zur Förderung der grenzübergreifenden Zusammenarbeit zwischen dem Freistaat Sachsen und der Tschechischen Republik 2007-2013) unterstützt.'; +} else { + header('HTTP/1.0 403 Forbidden'); + header('Location: /en/error/403'); } -?> \ No newline at end of file diff --git a/2012-prosinec/en.php b/2012-prosinec/en.php index c60cca3..075e855 100644 --- a/2012-prosinec/en.php +++ b/2012-prosinec/en.php @@ -1,52 +1,53 @@ URL"; -$CMS["%sbhelp%"]=<<Help
HTML
not supported
@@ -59,10 +60,9 @@ $CMS["%sbhelp%"]=<<[yellow]yellow text[/yellow]
yellow text
EOT; -$CMS["%searchform%"]="006883172923970328180:bfehocs55i8"; -$CMS["%eustring%"]="The project was supported from European fund of regional development, Common fund of small projects, Programme \"Cil 3\" supporting collaboration of the Czech Republic and Free State Saxony 2007-2013."; -}else{ -header("HTTP/1.0 403 Forbidden"); -header("Location: /en/error/403"); + $CMS['%searchform%'] = '006883172923970328180:bfehocs55i8'; + $CMS['%eustring%'] = 'The project was supported from European fund of regional development, Common fund of small projects, Programme "Cil 3" supporting collaboration of the Czech Republic and Free State Saxony 2007-2013.'; +} else { + header('HTTP/1.0 403 Forbidden'); + header('Location: /en/error/403'); } -?> \ No newline at end of file diff --git a/2012-prosinec/index.php b/2012-prosinec/index.php index 6271d31..dddbdcb 100644 --- a/2012-prosinec/index.php +++ b/2012-prosinec/index.php @@ -1,81 +1,84 @@ diff --git a/2012-prosinec/sitemap.php b/2012-prosinec/sitemap.php index 015241d..6ff9216 100644 --- a/2012-prosinec/sitemap.php +++ b/2012-prosinec/sitemap.php @@ -1,30 +1,31 @@ - \ No newline at end of file +echo str_replace('./pages', 'http://' . $_SERVER['HTTP_HOST'], $list); diff --git a/2014/cs.php b/2014/cs.php index cf8e5e0..a62f2c4 100644 --- a/2014/cs.php +++ b/2014/cs.php @@ -1,52 +1,53 @@ URL"; -$CMS["%sbhelp%"]=<<Nápověda
HTML
není podporováno
@@ -59,10 +60,9 @@ $CMS["%sbhelp%"]=<<[yellow]žluté písmo[/yellow]
žluté písmo
EOT; -$CMS["%searchform%"]="006883172923970328180:3wantrdnnzy"; -$CMS["%eustring%"]="Tento projekt byl podpořen z Evropského fondu pro regionální rozvoj, fondu malých projektů Programu Cíl 3 na podporu přeshraniční spolupráce mezi Českou republikou a Svobodným státem Sasko 2007-2013."; -}else{ -header("HTTP/1.0 403 Forbidden"); -header("Location: /en/error/403"); + $CMS['%searchform%'] = '006883172923970328180:3wantrdnnzy'; + $CMS['%eustring%'] = 'Tento projekt byl podpořen z Evropského fondu pro regionální rozvoj, fondu malých projektů Programu Cíl 3 na podporu přeshraniční spolupráce mezi Českou republikou a Svobodným státem Sasko 2007-2013.'; +} else { + header('HTTP/1.0 403 Forbidden'); + header('Location: /en/error/403'); } -?> \ No newline at end of file diff --git a/2014/de.php b/2014/de.php index cb62a63..0d15124 100644 --- a/2014/de.php +++ b/2014/de.php @@ -1,52 +1,53 @@ URL"; -$CMS["%sbhelp%"]=<<Help
HTML
not supported
@@ -59,10 +60,9 @@ $CMS["%sbhelp%"]=<<[yellow]yellow text[/yellow]
yellow text
EOT; -$CMS["%searchform%"]="006883172923970328180:bfehocs55i8"; -$CMS["%eustring%"]="Das Projekt wurde von dem Europäischen Fonds für Regionalentwicklung (KPF, Ziel 3 - Programm zur Förderung der grenzübergreifenden Zusammenarbeit zwischen dem Freistaat Sachsen und der Tschechischen Republik 2007-2013) unterstützt."; -}else{ -header("HTTP/1.0 403 Forbidden"); -header("Location: /en/error/403"); + $CMS['%searchform%'] = '006883172923970328180:bfehocs55i8'; + $CMS['%eustring%'] = 'Das Projekt wurde von dem Europäischen Fonds für Regionalentwicklung (KPF, Ziel 3 - Programm zur Förderung der grenzübergreifenden Zusammenarbeit zwischen dem Freistaat Sachsen und der Tschechischen Republik 2007-2013) unterstützt.'; +} else { + header('HTTP/1.0 403 Forbidden'); + header('Location: /en/error/403'); } -?> \ No newline at end of file diff --git a/2014/en.php b/2014/en.php index c60cca3..075e855 100644 --- a/2014/en.php +++ b/2014/en.php @@ -1,52 +1,53 @@ URL"; -$CMS["%sbhelp%"]=<<Help
HTML
not supported
@@ -59,10 +60,9 @@ $CMS["%sbhelp%"]=<<[yellow]yellow text[/yellow]
yellow text
EOT; -$CMS["%searchform%"]="006883172923970328180:bfehocs55i8"; -$CMS["%eustring%"]="The project was supported from European fund of regional development, Common fund of small projects, Programme \"Cil 3\" supporting collaboration of the Czech Republic and Free State Saxony 2007-2013."; -}else{ -header("HTTP/1.0 403 Forbidden"); -header("Location: /en/error/403"); + $CMS['%searchform%'] = '006883172923970328180:bfehocs55i8'; + $CMS['%eustring%'] = 'The project was supported from European fund of regional development, Common fund of small projects, Programme "Cil 3" supporting collaboration of the Czech Republic and Free State Saxony 2007-2013.'; +} else { + header('HTTP/1.0 403 Forbidden'); + header('Location: /en/error/403'); } -?> \ No newline at end of file diff --git a/2014/index.php b/2014/index.php index dbbf7ab..ed766fd 100644 --- a/2014/index.php +++ b/2014/index.php @@ -1,81 +1,84 @@ diff --git a/2014/sitemap.php b/2014/sitemap.php index 015241d..6ff9216 100644 --- a/2014/sitemap.php +++ b/2014/sitemap.php @@ -1,30 +1,31 @@ - \ No newline at end of file +echo str_replace('./pages', 'http://' . $_SERVER['HTTP_HOST'], $list); diff --git a/2015-prosinec/cs.php b/2015-prosinec/cs.php index cf8e5e0..a62f2c4 100644 --- a/2015-prosinec/cs.php +++ b/2015-prosinec/cs.php @@ -1,52 +1,53 @@ URL"; -$CMS["%sbhelp%"]=<<Nápověda
HTML
není podporováno
@@ -59,10 +60,9 @@ $CMS["%sbhelp%"]=<<[yellow]žluté písmo[/yellow]
žluté písmo
EOT; -$CMS["%searchform%"]="006883172923970328180:3wantrdnnzy"; -$CMS["%eustring%"]="Tento projekt byl podpořen z Evropského fondu pro regionální rozvoj, fondu malých projektů Programu Cíl 3 na podporu přeshraniční spolupráce mezi Českou republikou a Svobodným státem Sasko 2007-2013."; -}else{ -header("HTTP/1.0 403 Forbidden"); -header("Location: /en/error/403"); + $CMS['%searchform%'] = '006883172923970328180:3wantrdnnzy'; + $CMS['%eustring%'] = 'Tento projekt byl podpořen z Evropského fondu pro regionální rozvoj, fondu malých projektů Programu Cíl 3 na podporu přeshraniční spolupráce mezi Českou republikou a Svobodným státem Sasko 2007-2013.'; +} else { + header('HTTP/1.0 403 Forbidden'); + header('Location: /en/error/403'); } -?> \ No newline at end of file diff --git a/2015-prosinec/de.php b/2015-prosinec/de.php index cb62a63..0d15124 100644 --- a/2015-prosinec/de.php +++ b/2015-prosinec/de.php @@ -1,52 +1,53 @@ URL"; -$CMS["%sbhelp%"]=<<Help
HTML
not supported
@@ -59,10 +60,9 @@ $CMS["%sbhelp%"]=<<[yellow]yellow text[/yellow]
yellow text
EOT; -$CMS["%searchform%"]="006883172923970328180:bfehocs55i8"; -$CMS["%eustring%"]="Das Projekt wurde von dem Europäischen Fonds für Regionalentwicklung (KPF, Ziel 3 - Programm zur Förderung der grenzübergreifenden Zusammenarbeit zwischen dem Freistaat Sachsen und der Tschechischen Republik 2007-2013) unterstützt."; -}else{ -header("HTTP/1.0 403 Forbidden"); -header("Location: /en/error/403"); + $CMS['%searchform%'] = '006883172923970328180:bfehocs55i8'; + $CMS['%eustring%'] = 'Das Projekt wurde von dem Europäischen Fonds für Regionalentwicklung (KPF, Ziel 3 - Programm zur Förderung der grenzübergreifenden Zusammenarbeit zwischen dem Freistaat Sachsen und der Tschechischen Republik 2007-2013) unterstützt.'; +} else { + header('HTTP/1.0 403 Forbidden'); + header('Location: /en/error/403'); } -?> \ No newline at end of file diff --git a/2015-prosinec/en.php b/2015-prosinec/en.php index c60cca3..075e855 100644 --- a/2015-prosinec/en.php +++ b/2015-prosinec/en.php @@ -1,52 +1,53 @@ URL"; -$CMS["%sbhelp%"]=<<Help
HTML
not supported
@@ -59,10 +60,9 @@ $CMS["%sbhelp%"]=<<[yellow]yellow text[/yellow]
yellow text
EOT; -$CMS["%searchform%"]="006883172923970328180:bfehocs55i8"; -$CMS["%eustring%"]="The project was supported from European fund of regional development, Common fund of small projects, Programme \"Cil 3\" supporting collaboration of the Czech Republic and Free State Saxony 2007-2013."; -}else{ -header("HTTP/1.0 403 Forbidden"); -header("Location: /en/error/403"); + $CMS['%searchform%'] = '006883172923970328180:bfehocs55i8'; + $CMS['%eustring%'] = 'The project was supported from European fund of regional development, Common fund of small projects, Programme "Cil 3" supporting collaboration of the Czech Republic and Free State Saxony 2007-2013.'; +} else { + header('HTTP/1.0 403 Forbidden'); + header('Location: /en/error/403'); } -?> \ No newline at end of file diff --git a/2015-prosinec/index.php b/2015-prosinec/index.php index ea380c7..abb4f2c 100644 --- a/2015-prosinec/index.php +++ b/2015-prosinec/index.php @@ -1,81 +1,84 @@ diff --git a/2015-prosinec/sitemap.php b/2015-prosinec/sitemap.php index 015241d..6ff9216 100644 --- a/2015-prosinec/sitemap.php +++ b/2015-prosinec/sitemap.php @@ -1,30 +1,31 @@ - \ No newline at end of file +echo str_replace('./pages', 'http://' . $_SERVER['HTTP_HOST'], $list); diff --git a/2015/cs.php b/2015/cs.php index cf8e5e0..a62f2c4 100644 --- a/2015/cs.php +++ b/2015/cs.php @@ -1,52 +1,53 @@ URL"; -$CMS["%sbhelp%"]=<<Nápověda
HTML
není podporováno
@@ -59,10 +60,9 @@ $CMS["%sbhelp%"]=<<[yellow]žluté písmo[/yellow]
žluté písmo
EOT; -$CMS["%searchform%"]="006883172923970328180:3wantrdnnzy"; -$CMS["%eustring%"]="Tento projekt byl podpořen z Evropského fondu pro regionální rozvoj, fondu malých projektů Programu Cíl 3 na podporu přeshraniční spolupráce mezi Českou republikou a Svobodným státem Sasko 2007-2013."; -}else{ -header("HTTP/1.0 403 Forbidden"); -header("Location: /en/error/403"); + $CMS['%searchform%'] = '006883172923970328180:3wantrdnnzy'; + $CMS['%eustring%'] = 'Tento projekt byl podpořen z Evropského fondu pro regionální rozvoj, fondu malých projektů Programu Cíl 3 na podporu přeshraniční spolupráce mezi Českou republikou a Svobodným státem Sasko 2007-2013.'; +} else { + header('HTTP/1.0 403 Forbidden'); + header('Location: /en/error/403'); } -?> \ No newline at end of file diff --git a/2015/de.php b/2015/de.php index cb62a63..0d15124 100644 --- a/2015/de.php +++ b/2015/de.php @@ -1,52 +1,53 @@ URL"; -$CMS["%sbhelp%"]=<<Help
HTML
not supported
@@ -59,10 +60,9 @@ $CMS["%sbhelp%"]=<<[yellow]yellow text[/yellow]
yellow text
EOT; -$CMS["%searchform%"]="006883172923970328180:bfehocs55i8"; -$CMS["%eustring%"]="Das Projekt wurde von dem Europäischen Fonds für Regionalentwicklung (KPF, Ziel 3 - Programm zur Förderung der grenzübergreifenden Zusammenarbeit zwischen dem Freistaat Sachsen und der Tschechischen Republik 2007-2013) unterstützt."; -}else{ -header("HTTP/1.0 403 Forbidden"); -header("Location: /en/error/403"); + $CMS['%searchform%'] = '006883172923970328180:bfehocs55i8'; + $CMS['%eustring%'] = 'Das Projekt wurde von dem Europäischen Fonds für Regionalentwicklung (KPF, Ziel 3 - Programm zur Förderung der grenzübergreifenden Zusammenarbeit zwischen dem Freistaat Sachsen und der Tschechischen Republik 2007-2013) unterstützt.'; +} else { + header('HTTP/1.0 403 Forbidden'); + header('Location: /en/error/403'); } -?> \ No newline at end of file diff --git a/2015/en.php b/2015/en.php index c60cca3..075e855 100644 --- a/2015/en.php +++ b/2015/en.php @@ -1,52 +1,53 @@ URL"; -$CMS["%sbhelp%"]=<<Help
HTML
not supported
@@ -59,10 +60,9 @@ $CMS["%sbhelp%"]=<<[yellow]yellow text[/yellow]
yellow text
EOT; -$CMS["%searchform%"]="006883172923970328180:bfehocs55i8"; -$CMS["%eustring%"]="The project was supported from European fund of regional development, Common fund of small projects, Programme \"Cil 3\" supporting collaboration of the Czech Republic and Free State Saxony 2007-2013."; -}else{ -header("HTTP/1.0 403 Forbidden"); -header("Location: /en/error/403"); + $CMS['%searchform%'] = '006883172923970328180:bfehocs55i8'; + $CMS['%eustring%'] = 'The project was supported from European fund of regional development, Common fund of small projects, Programme "Cil 3" supporting collaboration of the Czech Republic and Free State Saxony 2007-2013.'; +} else { + header('HTTP/1.0 403 Forbidden'); + header('Location: /en/error/403'); } -?> \ No newline at end of file diff --git a/2015/index.php b/2015/index.php index cacec2e..5e98420 100644 --- a/2015/index.php +++ b/2015/index.php @@ -1,81 +1,84 @@ diff --git a/2015/sitemap.php b/2015/sitemap.php index 015241d..6ff9216 100644 --- a/2015/sitemap.php +++ b/2015/sitemap.php @@ -1,30 +1,31 @@ - \ No newline at end of file +echo str_replace('./pages', 'http://' . $_SERVER['HTTP_HOST'], $list);