-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
103 lines (97 loc) · 4 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?php
require('ruubikcms/page.php');
echo $page['doctype'];
?>
<html lang="<?php
echo $page['lang']; ?>">
<head>
<title><?php echo $page['title']; ?></title>
<?php echo $page['gacode']; ?>
<meta charset="<?php echo $page['charset']; ?>"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="<?php echo $page['description']; ?>"/>
<meta name="keywords" content="<?php echo $page['keywords']; ?>"/>
<meta name="robots" content="<?php echo $page['robots']; ?>"/>
<meta name="doc-rights" content="Copywritten Work"/>
<meta name="author" content="<?php echo $page['author']; ?>"/>
<meta name="copyright" content="<?php echo $page['copyright']; ?>"/>
<link rel="shortcut icon" href="<?php echo $siteroot; ?>ruubikcms/website/images/logo.ico"/>
<link rel="stylesheet" href="<?php echo $siteroot; ?>ruubikcms/website/css/default.css"/>
<link rel="stylesheet" href="<?php echo $siteroot; ?>ruubikcms/website/css/styleBody.css"/>
<link rel="stylesheet" href="<?php echo $siteroot; ?>ruubikcms/website/css/styleColLeft.css"/>
<link rel="stylesheet" href="<?php echo $siteroot; ?>ruubikcms/website/css/styleColCenter.css"/>
<link rel="stylesheet" href="<?php echo $siteroot; ?>ruubikcms/website/css/styleColRight.css"/>
<link rel="stylesheet" href="<?php echo $siteroot; ?>ruubikcms/website/css/styleMenus.css"/>
<link rel="stylesheet" href="<?php echo $siteroot; ?>ruubikcms/website/css/styleGallery.css"/>
<link rel="stylesheet" href="<?php echo $siteroot; ?>ruubikcms/website/lightbox/css/lightbox.min.css"/>
<link rel="stylesheet" href="<?php echo $siteroot; ?>default.css"/>
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="<?php
echo $siteroot; ?>ruubikcms/website/lightbox/js/lightbox.min.js"></script>
<script src="<?php
echo $siteroot; ?>ruubikcms/website/scripts/datescripts.js"></script>
</head>
<body>
<div id="wrapper">
<div id="innerWrapper">
<!-- **************** HEADER ******************** -->
<div id="header">
<div id="design"></div>
<div id="mainMenu">
<?php
if (isMobile() && false) {
echo $page['dropdownmenu'];
} else {
echo $page['mainmenu'];
}
?>
</div>
<div class="clear"></div>
</div>
<!-- **************** MAINBODY ******************** -->
<div id="mainBody">
<div id="ColLeft">
<div id="subMenu">
<?php echo $page['submenu1']; ?> </div>
<?php
snippet('dni-wolne');
// echo print_r($page['submenu2'],true);
?>
</div>
<?php
//if(!isMobile()){
// echo '<style> #ColCenter{width: 74%; border-left: none;} </style>';
//}
//End block for menu
?>
<div id="ColCenter">
<div id="content">
<h1><?php echo $page['header1']; ?></h1>
<?php echo $page['content']; ?>
</div>
</div>
<div id="ColRight">
<?php snippet_php('right-column'); ?>
</div>
<div class="clear"></div>
</div>
<!-- **************** FOOTER ******************** -->
<div id="footer">
<div>
<!-- Please leave "Powered by RuubikCMS" notice here! -->
<a href="/link/index.html">.</a><a href="/link/historia-szkoly.html">.</a>
Powered by <a href="http://www.ruubikcms.com/">RuubikCMS</a>
| Copyright © <?php echo date("Y") . " " . $page['sitename']; ?>
</div>
</div>
</div>
</div>
<script>
$(document).ready(() => {
$('#subMenu>ul>li').click(() => {
$('#subMenu>ul>li>ul').slideToggle();
});
});
</script>
</body>
</html>