94 lines
3.0 KiB
PHP
94 lines
3.0 KiB
PHP
<?php
|
|
$page = $_GET['page'] ?? 'cyklogaining';
|
|
?>
|
|
<!doctype html public "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<link type="image/png" href="/images/logo_krk16.png" rel="shortcut icon">
|
|
<link rel="stylesheet" type="text/css" href="highslide4/highslide.css">
|
|
<link rel="stylesheet" href="/style.css" type="text/css">
|
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
|
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
|
<script type="text/javascript" src="simple.js"></script>
|
|
<script type="text/javascript" src="highslide4/highslide-with-gallery.js"></script>
|
|
<script type="text/javascript">
|
|
hs.graphicsDir = 'highslide4/graphics/';
|
|
hs.align = 'center';
|
|
hs.transitions = ['expand', 'crossfade'];
|
|
hs.outlineType = 'rounded-white';
|
|
hs.wrapperClassName = 'controls-in-heading';
|
|
hs.fadeInOut = true;
|
|
//hs.dimmingOpacity = 0.75;
|
|
|
|
// Add the controlbar
|
|
if (hs.addSlideshow) hs.addSlideshow({
|
|
//slideshowGroup: 'group1',
|
|
interval: 5000,
|
|
repeat: false,
|
|
useControls: true,
|
|
fixedControls: false,
|
|
overlayOptions: {
|
|
opacity: 1,
|
|
position: 'top right',
|
|
hideOnMouseOut: false
|
|
}
|
|
});
|
|
|
|
</script>
|
|
<script type="text/javascript">
|
|
hs.lang = {
|
|
loadingText : 'Načítá se...',
|
|
loadingTitle : 'Klikněte pro zrušení',
|
|
focusTitle : 'Klikněte pro přenesení do popředí',
|
|
fullExpandTitle : 'Zvětšit na původní velikost',
|
|
fullExpandText : 'Plná velikost',
|
|
creditsText : 'Powered by <i>Highslide JS</i>',
|
|
creditsTitle : 'Přejít na stránky Highslide JS',
|
|
previousText : 'Předchozí',
|
|
previousTitle : 'Předchozí (šipka vlevo)',
|
|
nextText : 'Další',
|
|
nextTitle : 'Další (šipka vpravo)',
|
|
moveTitle : 'Přesunout',
|
|
moveText : 'Přesunout',
|
|
closeText : 'Zavřít',
|
|
closeTitle : 'Zavřít (esc)',
|
|
resizeTitle : 'Změnit velikost',
|
|
playText : 'Přehrát',
|
|
playTitle : 'Přehrát slideshow (mezerník)',
|
|
pauseText : 'Pozastavit',
|
|
pauseTitle : 'Pozastavit slideshow (mezerník)',
|
|
restoreTitle : 'Klikněte pro zavření obrázku, klikněte a táhněte pro jeho přesunutí. Použijte šipky na klávesnici pro přesun na další a předchozí.'
|
|
};
|
|
</script>
|
|
<title><?php include './pages/title_cg.php'; ?></title>
|
|
</head>
|
|
<body>
|
|
<div class="content">
|
|
<div class="header"><span class="title"><?php include './pages/title_cg.php'; ?></span><br><span class="slogan"><?php include './pages/slogan.php'; ?></span>
|
|
</div>
|
|
<div class="top-menu">
|
|
<?php
|
|
include './pages/cg_topmenu.php';
|
|
?>
|
|
</div>
|
|
<div class="sidebar"><div class="sidebar-content">
|
|
<ul>
|
|
<?php
|
|
include './pages/menucg.php';
|
|
?>
|
|
</ul><br><br><br>
|
|
</div></div><div class="main"><div class="main-content">
|
|
<?php $escaped_page = str_replace([')', '(', '\\', '"', "\'", ';', '{', '}', '$', '[', ']', '<', '>'], '', $page);
|
|
if (file_exists("pages/$escaped_page.php")) {
|
|
include "./pages/$escaped_page.php";
|
|
} else {
|
|
include './pages/404.php';
|
|
}
|
|
?>
|
|
</div></div>
|
|
<div class="footer">
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|