aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/skin/blue
diff options
context:
space:
mode:
authorM.Gergo2018-07-06 11:14:41 +0200
committerM.Gergo2018-07-06 11:14:41 +0200
commit43de9af71f7f4ca5731b94a06d688ae8412ba427 (patch)
tree54835de1dfcda504c02da261f0dc26885aed2e89 /mayor-orig/www/skin/blue
parent50310b0e4513ee3fcce67351ae61e8fff851130e (diff)
downloadmayor-43de9af71f7f4ca5731b94a06d688ae8412ba427.tar.gz
mayor-43de9af71f7f4ca5731b94a06d688ae8412ba427.zip
2018/Feb/28 -i állapot hozzáadva, mint a módosítások kiindulási állapota
Diffstat (limited to 'mayor-orig/www/skin/blue')
-rw-r--r--mayor-orig/www/skin/blue/base/color_schemes.php93
-rw-r--r--mayor-orig/www/skin/blue/base/css/base.css209
-rw-r--r--mayor-orig/www/skin/blue/base/css/base.php212
-rw-r--r--mayor-orig/www/skin/blue/base/html/base.phtml401
-rw-r--r--mayor-orig/www/skin/blue/base/img/favicon.icobin0 -> 1406 bytes
-rw-r--r--mayor-orig/www/skin/blue/base/img/mayor_small_ssl.pngbin0 -> 6178 bytes
-rw-r--r--mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png.origbin0 -> 8648 bytes
-rw-r--r--mayor-orig/www/skin/blue/module-auth/css/login.css46
8 files changed, 961 insertions, 0 deletions
diff --git a/mayor-orig/www/skin/blue/base/color_schemes.php b/mayor-orig/www/skin/blue/base/color_schemes.php
new file mode 100644
index 00000000..68fcc9dc
--- /dev/null
+++ b/mayor-orig/www/skin/blue/base/color_schemes.php
@@ -0,0 +1,93 @@
+<?php
+
+ // default
+ $_COLOR_SCHEMES['blue'] = array(
+ 'head' => '#3496B9', // a fő szín a felső sávban/menüben
+ 'login' => '#00c0ff', // bejelentkezés:hover, svg-k színe
+ 'active' => '#3facc7', // első szint aktív eleme, 3. szint alap,...
+ 'hover' => '#4fbcd7', // hover a menüben és almenüben
+ 'hover-color' => '#fdb933', // !! Betűszín - hover, aktív...
+ 'nav' => '#3fa79c', // a menü kinyíló része
+ 'nav2' => '#d2dfe9', // nav kettő, kinyitó fül, stb
+ );
+ // yellow
+ $_COLOR_SCHEMES['yellow'] = array(
+ 'head' => '#B99634',
+ 'login' => '#ffc000',
+ 'active' => '#c7ac3f',
+ 'hover' => '#d7bc4f',
+ 'hover-color' => '#800',
+ 'nav' => '#9ca73f',
+ 'nav2' => '#e9dfd2',
+ );
+ // red
+ $_COLOR_SCHEMES['red'] = array(
+ 'head' => '#B93234',
+ 'login' => '#ff4000',
+ 'active' => '#c7393f',
+ 'hover' => '#d73f4f',
+ 'hover-color' => '#fdb933',
+ 'nav' => '#9c383f',
+ 'nav2' => '#e9dfd2',
+ );
+ // black
+ $_COLOR_SCHEMES['black'] = array(
+ 'head' => '#000000',
+ 'login' => '#000000',
+ 'active' => '#888888',
+ 'hover' => '#070f0f',
+ 'hover-color' => '#fdb933',
+ 'nav' => '#666666',
+ 'nav2' => '#e0e0e0',
+ );
+ // nemzeti
+ $_COLOR_SCHEMES['nemzeti'] = array(
+ 'head' => '#006000',
+ 'login' => '#a00000',
+ 'active' => '#a00000',
+ 'hover' => '#ffffff',
+ 'hover-color' => '#ff0000',
+ 'nav' => '#666666',
+ 'nav2' => '#e0ffe0',
+ );
+ // green
+ $_COLOR_SCHEMES['green'] = array(
+ 'head' => '#32B934',
+ 'login' => '#40ff00',
+ 'active' => '#39c73f',
+ 'hover' => '#3fd74f',
+ 'hover-color' => '#b9fd33',
+ 'nav' => '#389c3f',
+ 'nav2' => '#dfe9d2',
+ );
+ // dark-blue
+ $_COLOR_SCHEMES['dark-blue'] = array(
+ 'head' => '#008',
+ 'login' => '#008',
+ 'active' => '#36a',
+ 'hover' => '#4ac',
+ 'hover-color' => '#fdb933',
+ 'nav' => '#44b',
+ 'nav2' => '#bcd',
+ );
+
+ function colorToRGBA($color, $opacity) {
+ if ($color[0] == '#') {
+ $hex = str_replace("#", "", $color);
+ if(strlen($hex) == 3) {
+ $r = hexdec(substr($hex,0,1).substr($hex,0,1));
+ $g = hexdec(substr($hex,1,1).substr($hex,1,1));
+ $b = hexdec(substr($hex,2,1).substr($hex,2,1));
+ } else {
+ $r = hexdec(substr($hex,0,2));
+ $g = hexdec(substr($hex,2,2));
+ $b = hexdec(substr($hex,4,2));
+ }
+ $rgb = array($r, $g, $b);
+ } else {
+ $rgb = explode(',', str_replace(' ','',substr($color,4,strlen($color)-1)));
+ }
+ return 'rgba('.implode(', ', $rgb).', '.$opacity.')';
+ }
+
+?> \ No newline at end of file
diff --git a/mayor-orig/www/skin/blue/base/css/base.css b/mayor-orig/www/skin/blue/base/css/base.css
new file mode 100644
index 00000000..350a7f96
--- /dev/null
+++ b/mayor-orig/www/skin/blue/base/css/base.css
@@ -0,0 +1,209 @@
+/*
+ Module: base
+
+ A rétegek sorrendje: nav2(1), head(2), poz(2), nav1(3), nav(3), logo(3), logobadge(4)
+*/
+
+@media screen {
+
+ html { height: 100%; }
+ html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; height: 100%; overflow: auto; }
+ #debug {
+ padding: 20px; background: rgba(0,0,0,0.7); color: yellow; border: 0px red solid;
+ position: absolute; z-index: 1000; top: 0px; left: 0px; right: 0px;
+ }
+ #debug pre { background: rgba(240,240,240,0.9); color: #880000; padding: 10px; margin: 0px;}
+ #help { box-shadow: 3px 3px 15px 0px rgba(100,100,100,5.0);
+ position: absolute; top: 10px; left: 50%; height: 600px; width: 1000px; z-index: 500; margin: 0 -500px;
+ border: 1px solid rgb(0,0,0); background: white; }
+ #help iframe { width: 1000px; height: 558px; margin: 0; border: none; }
+ #helpHeader { text-align: center; font-size: 16px; width: 980px; height: 20px; margin: 0px; background: #194a5b; cursor: pointer; color: white; font-weight: bold; padding: 10px; }
+ #hideHelp {
+ position: absolute; top:6px; right: 4px;
+ cursor: pointer; background: #822; color: white; padding: 2px 5px; font-size: 16px;
+ border: #822 1px solid; border-radius: 3px; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
+ box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);
+ }
+
+ a { text-decoration:none; }
+ .onClickHideShow, .onClickHide, .onClickShow { cursor: pointer; }
+
+ div.errorMsg { margin: 10px 20%; background: #fee; border: solid 1px red; border-radius: 2px; padding: 10px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); }
+ div.errorMsg span { font-weight: bold; color: #f00; }
+ div.infoMsg { margin: 10px 20%; background-color: #eee; border: solid 1px rgb(90,133,184); border-radius: 2px; padding: 10px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); }
+ div.infoMsg span { font-weight: bold; color: rgb(21,71,123); }
+ div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; font-style: italic; color: green; }
+
+ #logo { z-index: 3; height: 40px; position: absolute; top: 8px; left: 14px; border: 0px none; }
+ #logobadge { z-index: 4; height: 25px; position: fixed; top: 28px; left: 90px; border: 0px none; }
+
+ #head { z-index: 2; position: absolute; width: 100%; height: 60px; background: #3496B9 no-repeat right center; }
+
+ #nav, #nav ul { list-style: none; }
+ #nav { z-index: 3; margin: 0; height: 60px; padding-left: 140px; }
+ #nav li { position: relative; }
+/*!*/
+ #nav > li { float: left; z-index: 20; text-align: center; padding: 0; height: 60px;
+ /* background: #47c980; background: #3facc7; */ background: #3fa79c; border-bottom: 1px solid #D2DFE9; }
+ #nav > li.active { max-width: 160px; }
+/* #nav > li:nth-child(odd) { background: #929cb3; }*/
+ #nav > li:hover { z-index: 22; }
+ #nav > li > ul { top: 50px; left: -1px; /* background: #1A4B5C; */}
+ #nav > li > ul > li > a { margin-left: 10px; }
+
+ #nav li:hover { background: #4fbcd7;}
+/*!*/
+ #nav li.active { background: #3496B9; background: #3facc7; }
+ #nav li a { display: block; padding: 3px 10px; color: white; }
+/* #nav > li > a { padding: 23px 40px; height: 60px; display: inline-block;} */
+ #nav > li > a { padding: 0px 20px; height: 60px; vertical-align: middle; display: table-cell; min-width: 100px; }
+ #nav li a:hover { color:#fdb933; }
+ #nav li:hover > ul { display: block; }
+/* #nav li.over ul { display: block; }*/
+
+ #nav li.nav1szin { background: #3496B9; border-bottom: 1px solid white; }
+ #nav ul.sub { background: #3facc7; }
+
+
+ #nav ul { display: none; position: absolute; width: 160px; padding: 0px; }
+ #nav ul span { float: left; margin: 6px 5px; color: white; }
+/*!*/
+ #nav > li > ul { top: 61px; }
+ #nav ul > li { background: #3496B9; }
+ #nav ul li { text-align: left; margin-bottom: 1px; }
+ #nav ul li a { padding: 6px 10px; }
+ #nav ul li.active > a { color:#fdb933; }
+
+ #nav ul ul { top: 0px; left: -145px; z-index: 30; background: #3facc7; background: #3496B9}
+ #nav ul ul a { background: #3facc7; }
+ #nav ul ul a:hover { background: #4fbcd7; }
+
+ #nav li.start {
+ height: 60px; min-width: 0; padding-right: 0px; padding-left: 6px;
+ background: #D2DFE9; border-right: 4px solid #D2DFE9; border-radius: 0px 30px 30px 0px; border-bottom: 0px;
+ z-index: 20;
+ }
+
+ #poz { z-index: 2; padding: 0; list-style: none; background-color: rgb(230,230,230); margin: 0; height: 20px; border-bottom: #f3f3f3 solid 4px; text-shadow: 0px 1px rgba(52, 150, 185, 0.1); }
+ #poz > li { padding: 2px 6px; }
+ #poz > li div.nev { float: right; padding: 2px; width: auto; color: #3496b9; text-align: right; }
+ #poz > li div.nev span { margin-right: 0px; font-size:12px; }
+ #poz > li div.nev span:hover { color:#00c0ff; }
+ #poz > li a { margin-right:5px; margin-left:15px; padding:0px; margin-top:0px; vertical-align: middle;}
+
+ #settings { width: 300px;
+ margin-top: 5px; position:relative; right: 20px;
+ background: white;
+ box-shadow: rgba(0, 0, 0, 0.117188) 0px 2px 4px 0px;
+ border: 1px solid rgb(230,230,230);
+ border-top-width: 0px;
+ }
+ #settings div { padding: 20px 10px; box-shadow: rgba(0, 0, 0, 0.117188) 0px 2px 4px 0px;
+ border-bottom: 1px solid rgb(230,230,230); margin-bottom: 2px;}
+ #settings div p { margin: 0; padding: 0; text-align: center; }
+ #settings div p.name { font-weight: bold; }
+ #settings table { width: 100%; background: #D2DFE9; background: rgb(245,245,245);}
+ #settings td { width: 50%; text-align: center; padding: 10px; }
+ #settings td a {
+ display: inline-block;
+ vertical-align: baseline; line-height: 29px;
+ position: static;
+ padding: 0px 8px; height: 29px; margin: 0px 8px;
+ text-align: center; text-decoration: none; font-weight: bold; font-size: 10px;
+ background: white; color: #444;
+ border: solid 1px rgba(0, 0, 0, 0.0976563); border-radius: 2px;
+ }
+ #settings td a:hover { border: #c6c6c6 1px solid; }
+ #poz > li span.school {
+ font-variant: small-caps;
+ font-size: 14px;
+ color: white;
+ letter-spacing: 0.4em;
+ overflow: hidden;
+ }
+
+ #nav1 { z-index: 3; position: absolute; margin-left: 310px; margin-right: 0px; width: 100%;}
+ #nav1 div { background: rgba(52,150,185,0.6); }
+ #nav1 div a { padding: 22px 12px 23px 12px; display: inline-block; text-decoration: none; color: #fff; background: #3496b9; margin-top: 1px; line-height: 14px; }
+ #nav1 div a:hover { color: #fdb933; /*background: #5FCCE7; */}
+ #nav1 div a.aktiv { color:#fdb933; /*background: #4FBCD7; */}
+ #nav1 div span.onClickHideShow { cursor: pointer; color: white; background: rgba(255,255,255,0.2); padding: 23px 12px 23px 12px; float: right; margin-right: 310px/* annyi, amennyi a #nav1 bal margója!*/; }
+
+ #nav2.vertical { z-index: 1; width: 140px; margin: 0; height: 100%;
+ background-color: #D2DFE9;
+
+ background: -webkit-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ background: -moz-linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ background: linear-gradient(top, #D2DFE9 0%,#D2DFE9 50%,#ffffff 100%);
+ margin-top: -25px;
+ padding-top: 25px;
+ position: fixed;
+ overflow: auto;
+ top:83px;
+ }
+ #nav2.vertical ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.vertical ul li { border-bottom: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li:first-child { border-top: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li a { display: block; color: black; font-size: 11px; width: 128px; padding: 6px 6px; text-decoration: none; }
+ #nav2.vertical ul li a.aktiv { color: #ee7f00; font-size: 12px; }
+ #nav2.vertical ul li a:hover { color: white; background: #9abcd8; }
+
+ #nav2.horizontal { z-index: 1; width: 100%;
+ margin-top: 0px;
+ top: 83px;
+ text-align: center;
+ padding-top: 5px; padding-bottom: 5px;
+ position: fixed;
+ overflow: none;
+ border-bottom: solid 3px #eeeeee;
+ background-color: #82bfd5;
+ color: white;
+ font-size:x-small;
+ }
+ #nav2.horizontal ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.horizontal ul li { display: inline; border-right: solid 1px #888888; }
+ #nav2.horizontal ul li:last-child { display: inline; border-right: solid 0px #888888; }
+ #nav2.horizontal ul li a {display: inline; color: white; width: 128px; padding: 0px 6px; text-decoration: none; }
+ #nav2.horizontal ul li a.aktiv { color: white; background-color: orange;}
+ #nav2.horizontal ul li a:hover { color: white; background: orange; }
+ #nav2.horizontal:hover {
+
+ }
+
+ div.mayorfoot { text-align: center; font-size:smaller; color: #aaa; }
+ div.mayorfoot a { color: rgba(52, 150, 185, 0.6);}
+ div.mayorfoot:hover a { color: rgba(52, 150, 185, 1);}
+ #mayorfoot.leftpad { margin-top:2em; margin-left: 141px; }
+ #mayorfoot.toppad { margin-top: 40px; margin-left: 0px; }
+
+ #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); }
+ #updateWindow { z-index: 152; position: fixed; background: rgb(255,255,255); min-height: 100px; min-width: 200px; border: #3496B9 3px solid; border-radius: 10px;}
+ #updateWindow #updateHeader { min-height: 20px; min-width: 100px; background: #1a4c5c; color: white; text-align: center; line-height: 20px; position: relative; top: -13px; border-radius: 20px; margin: 0 50px; border: solid 3px #3496b9; }
+ #updateWindow #updateCloseButton { position: absolute; right: -20px; top: -20px; z-index: 0; background : white; border: solid 3px #3496b9; border-radius: 20px;}
+ #updateWindow #updateCloseButton:hover { background : #eeeeee;}
+ #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 400px;
+ border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4);
+ }
+ #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; }
+ #keyHelp td.key { color: yellow; text-align: right; width: 100px; }
+ #keyHelp td.desc { color: white; text-align: left; }
+
+ #logo, #head, #nav1, #nav, #poz { position: fixed; }
+ #head { top: 0; left: 0; }
+ #nav { top: 0; left: 0; }
+ #nav1 { top: 0; }
+ #poz { top: 60px; width: 100%; }
+
+ #mayorbody { padding-top: 1px; padding-right: 0px;
+ /*margin-left:0px;*/ margin-top: 83px;
+ }
+ #mayorbody.leftpad {
+ margin-left: 141px; }
+ #mayorbody.toppad {
+ margin-left: 0px; top:33px; position: relative;
+ }
+
+}
+@media print {
+ #nav, #nav1, #nav2, #poz, #head, #logo, #mayorfoot, #logobadge { display: none; }
+}
diff --git a/mayor-orig/www/skin/blue/base/css/base.php b/mayor-orig/www/skin/blue/base/css/base.php
new file mode 100644
index 00000000..36b8db17
--- /dev/null
+++ b/mayor-orig/www/skin/blue/base/css/base.php
@@ -0,0 +1,212 @@
+<?php header('Content-type: text/css');
+
+ require('../color_schemes.php'); // keretrendszeren kívül fut le!!
+ if (!isset($_GET['scheme']) || !is_array($_COLOR_SCHEMES[$_GET['scheme']]))
+ $_COLORS = $_COLOR_SCHEMES['blue'];
+ else
+ $_COLORS = $_COLOR_SCHEMES[$_GET['scheme']];
+
+?>/*
+ Module: base
+
+ A rétegek sorrendje: nav2(1), head(2), poz(2), nav1(3), nav(3), logo(3), logobadge(4)
+*/
+@media screen {
+
+ html { height: 100%; }
+ html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; height: 100%; overflow: auto; }
+ #debug {
+ padding: 20px; background-color: rgba(0,0,0,0.7); color: yellow; border: 0px red solid;
+ position: absolute; z-index: 1000; top: 0px; left: 0px; right: 0px;
+ }
+ #debug pre { background-color: rgba(240,240,240,0.9); color: #880000; padding: 10px; margin: 0px;}
+ #help { box-shadow: 3px 3px 15px 0px rgba(100,100,100,5.0);
+ position: absolute; top: 10px; left: 50%; height: 600px; width: 1000px; z-index: 500; margin: 0 -500px;
+ border: 1px solid rgb(0,0,0); background-color: white; }
+ #help iframe { width: 1000px; height: 558px; margin: 0; border: none; }
+ #helpHeader { text-align: center; font-size: 16px; width: 980px; height: 20px; margin: 0px; background-color: #194a5b; cursor: pointer; color: white; font-weight: bold; padding: 10px; }
+ #hideHelp {
+ position: absolute; top:6px; right: 4px;
+ cursor: pointer; background-color: #822; color: white; padding: 2px 5px; font-size: 16px;
+ border: #822 1px solid; border-radius: 3px; text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
+ box-shadow: inset 0px -3px 1px rgba(0, 0, 0, 0.45), 0px 2px 2px rgba(0, 0, 0, 0.25);
+ }
+
+ a { text-decoration:none; }
+ .onClickHideShow, .onClickHide, .onClickShow { cursor: pointer; }
+
+ div.errorMsg { margin: 20px 20%; background-color: #fee; border: solid 1px red; border-radius: 2px; padding: 15px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); }
+ div.errorMsg span { font-weight: bold; color: #f00; }
+ div.infoMsg { margin: 20px 20%; background-color: #eef; border: groove 1px #0000ff; border-radius: 2px; padding: 15px; box-shadow: 0px 1px 10px rgba(0,0,0,0.5); }
+ div.infoMsg span { font-weight: bold; color: #00a; }
+ div.errorMsg span.alertParam, div.infoMsg span.alertParam { font-weight: normal; font-style: italic; color: green; }
+
+ #logo { z-index: 3; height: 40px; position: absolute; top: 8px; left: 14px; border: 0px none; }
+ #logobadge { z-index: 4; height: 25px; position: fixed; top: 28px; left: 90px; border: 0px none; }
+
+ #head { z-index: 2; position: absolute; width: 100%; height: 60px; background: <?php echo $_COLORS['head']; ?> no-repeat right center; }
+
+ #nav, #nav ul { list-style: none; }
+ #nav { z-index: 3; margin: 0; height: 60px; padding-left: 140px; }
+ #nav li { position: relative; }
+/*!*/
+ #nav > li { float: left; z-index: 20; text-align: center; padding: 0; height: 60px; background-color: <?php echo $_COLORS['nav']; ?>; border-bottom: 1px solid <?php echo $_COLORS['nav2']; ?>; }
+ #nav > li.active { max-width: 160px; }
+ #nav > li:hover { z-index: 22; }
+ #nav > li > ul { top: 50px; left: -1px; }
+ #nav > li > ul > li > a { margin-left: 10px; }
+
+ #nav li:hover { background-color: <?php echo $_COLORS['hover']; ?>;}
+/*!*/
+ #nav li.active { background-color: <?php echo $_COLORS['active']; ?>; }
+ #nav li a { display: block; padding: 3px 10px; color: white; }
+ #nav > li > a { padding: 0px 20px; height: 60px; vertical-align: middle; display: table-cell; min-width: 100px; }
+ #nav li a:hover { color: <?php echo $_COLORS['hover-color']; ?>; }
+ #nav li:hover > ul { display: block; }
+
+ #nav li.nav1szin { background-color: <?php echo $_COLORS['head']; ?>; border-bottom: 1px solid white; }
+ #nav ul.sub { background-color: <?php echo $_COLORS['active']; ?>; }
+
+
+ #nav ul { display: none; position: absolute; width: 160px; padding: 0px; }
+ #nav ul span { float: left; margin: 6px 5px; color: white; }
+/*!*/
+ #nav > li > ul { top: 61px; }
+ #nav ul > li { background-color: <?php echo $_COLORS['head']; ?>; }
+ #nav ul li { text-align: left; margin-bottom: 1px; }
+ #nav ul li a { padding: 6px 10px; }
+ #nav ul li.active > a { color: <?php echo $_COLORS['hover-color']; ?>; }
+
+ #nav ul ul { top: 0px; left: -145px; z-index: 30; background-color: <?php echo $_COLORS['head']; ?>; }
+ #nav ul ul a { background-color: <?php echo $_COLORS['active']; ?>; }
+ #nav ul ul a:hover { background-color: <?php echo $_COLORS['hover']; ?>; }
+
+ #nav li.start {
+ height: 60px; min-width: 0; padding-right: 0px; padding-left: 6px;
+ background-color: <?php echo $_COLORS['nav2']; ?>; border-right: 4px solid <?php echo $_COLORS['nav2']; ?>; border-radius: 0px 30px 30px 0px; border-bottom: 0px;
+ z-index: 20;
+ }
+
+ #poz { z-index: 2; padding: 0; list-style: none; background-color: rgb(230,230,230); margin: 0; height: 20px; border-bottom: #f3f3f3 solid 4px; text-shadow: 0px 1px rgba(52, 150, 185, 0.1); }
+ #poz > li { padding: 2px 6px; }
+ #poz > li div.nev { float: right; padding: 2px; width: auto; color: <?php echo $_COLORS['head']; ?>; text-align: right; }
+ #poz > li div.nev span { margin-right: 0px; font-size:12px; }
+ #poz > li div.nev span:hover { color:<?php echo $_COLORS['login']; ?>; }
+ #poz > li a { margin-right:5px; margin-left:15px; padding:0px; margin-top:0px; vertical-align: middle;}
+
+ #settings { width: 300px;
+ margin-top: 5px; position:relative; right: 20px;
+ background-color: white;
+ box-shadow: rgba(0, 0, 0, 0.117188) 0px 2px 4px 0px;
+ border: 1px solid rgb(230,230,230);
+ border-top-width: 0px;
+ }
+ #settings div { padding: 20px 10px; box-shadow: rgba(0, 0, 0, 0.117188) 0px 2px 4px 0px;
+ border-bottom: 1px solid rgb(230,230,230); margin-bottom: 2px;}
+ #settings div p { margin: 0; padding: 0; text-align: center; }
+ #settings div p.name { font-weight: bold; }
+ #settings table { width: 100%; background-color: rgb(245,245,245); }
+ #settings td { width: 50%; text-align: center; padding: 10px; }
+ #settings td a {
+ display: inline-block;
+ vertical-align: baseline; line-height: 29px;
+ position: static;
+ padding: 0px 8px; height: 29px; margin: 0px 8px;
+ text-align: center; text-decoration: none; font-weight: bold; font-size: 10px;
+ background-color: white; color: #444;
+ border: solid 1px rgba(0, 0, 0, 0.0976563); border-radius: 2px;
+ }
+ #settings td a:hover { border: #c6c6c6 1px solid; }
+ #poz > li span.school {
+ font-variant: small-caps;
+ font-size: 14px;
+ color: white;
+ letter-spacing: 0.4em;
+ overflow: hidden;
+ }
+
+ #nav1 { z-index: 3; position: absolute; margin-left: 310px; margin-right: 0px; width: 100%;}
+ #nav1 div { background-color: <?php echo colorToRGBA($_COLORS['head'], 0.6); ?>; }
+ #nav1 div a { padding: 22px 12px 23px 12px; display: inline-block; text-decoration: none; color: #fff; background-color: <?php echo $_COLORS['head']; ?>; margin-top: 1px; line-height: 14px; }
+ #nav1 div a:hover { color: <?php echo $_COLORS['hover-color']; ?>; }
+ #nav1 div a.aktiv { color: <?php echo $_COLORS['hover-color']; ?>; }
+ #nav1 div span.onClickHideShow { cursor: pointer; color: white; background-color: rgba(255,255,255,0.2); padding: 23px 12px 23px 12px; float: right; margin-right: 310px/* annyi, amennyi a #nav1 bal margója!*/; }
+
+ #nav2.vertical { z-index: 1; width: 140px; margin: 0; height: 100%;
+ background-color: <? echo $_COLORS['nav2']; ?>;
+
+ background: -webkit-linear-gradient(top, <? echo $_COLORS['nav2']; ?> 0%,<? echo $_COLORS['nav2']; ?> 50%,#ffffff 100%);
+ background: -moz-linear-gradient(top, <? echo $_COLORS['nav2']; ?> 0%,<? echo $_COLORS['nav2']; ?> 50%,#ffffff 100%);
+ background: linear-gradient(top, <? echo $_COLORS['nav2']; ?> 0%,<? echo $_COLORS['nav2']; ?> 50%,#ffffff 100%);
+ margin-top: -25px;
+ padding-top: 25px;
+ position: fixed;
+ overflow: auto;
+ top:83px;
+ }
+ #nav2.vertical ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.vertical ul li { border-bottom: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li:first-child { border-top: solid 1px rgba(100,100,100,0.4); }
+ #nav2.vertical ul li a { display: block; color: black; font-size: 11px; width: 128px; padding: 6px 6px; text-decoration: none; }
+ #nav2.vertical ul li a.aktiv { color: #ee7f00; font-size: 12px; }
+ #nav2.vertical ul li a:hover { color: white; background-color: #9abcd8; }
+
+ #nav2.horizontal { z-index: 1; width: 100%;
+ margin-top: 0px;
+ top: 83px;
+ text-align: center;
+ padding-top: 5px; padding-bottom: 5px;
+ position: fixed;
+ overflow: none;
+ border-bottom: solid 3px #eeeeee;
+ background-color: #82bfd5;
+ color: white;
+ font-size:x-small;
+ }
+ #nav2.horizontal ul { margin: 0; padding: 0; list-style: none; }
+ #nav2.horizontal ul li { display: inline; border-right: solid 1px #888888; }
+ #nav2.horizontal ul li:last-child { display: inline; border-right: solid 0px #888888; }
+ #nav2.horizontal ul li a {display: inline; color: white; width: 128px; padding: 0px 6px; text-decoration: none; }
+ #nav2.horizontal ul li a.aktiv { color: white; background-color: orange;}
+ #nav2.horizontal ul li a:hover { color: white; background-color: orange; }
+ #nav2.horizontal:hover {
+
+ }
+
+ div.mayorfoot { text-align: center; font-size:smaller; color: #aaa; }
+ div.mayorfoot a { color: rgba(52, 150, 185, 0.6);}
+ div.mayorfoot:hover a { color: rgba(52, 150, 185, 1);}
+ #mayorfoot.leftpad { margin-top:2em; margin-left: 141px; }
+ #mayorfoot.toppad { margin-top: 40px; margin-left: 0px; }
+
+ #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); }
+ #updateWindow { z-index: 152; position: fixed; background-color: rgb(255,255,255); min-height: 100px; min-width: 200px; border: <?php echo $_COLORS['head']; ?> 3px solid; border-radius: 10px;}
+ #updateWindow #updateHeader { min-height: 20px; min-width: 100px; background-color: #1a4c5c; color: white; text-align: center; line-height: 20px; position: relative; top: -13px; border-radius: 20px; margin: 0 50px; border: solid 3px <?php echo $_COLORS['head']; ?>; }
+ #updateWindow #updateCloseButton { position: absolute; right: -20px; top: -20px; z-index: 0; background-color: white; border: solid 3px <?php echo $_COLORS['head']; ?>; border-radius: 20px;}
+ #updateWindow #updateCloseButton:hover { background-color: #eeeeee;}
+ #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 400px;
+ border: solid 1px yellow; border-radius: 20px; border-spacing: 15px; background-color: rgba(0,0,0,0.4);
+ }
+ #keyHelp th { color: white; text-align: center; border-bottom: yellow 2px solid; font-size: 20px; font-weight: bold; }
+ #keyHelp td.key { color: yellow; text-align: right; width: 100px; }
+ #keyHelp td.desc { color: white; text-align: left; }
+
+ #logo, #head, #nav1, #nav, #poz { position: fixed; }
+ #head { top: 0; left: 0; }
+ #nav { top: 0; left: 0; }
+ #nav1 { top: 0; }
+ #poz { top: 60px; width: 100%; }
+
+ #mayorbody { padding-top: 1px; padding-right: 0px;
+ /*margin-left:0px;*/ margin-top: 83px;
+ }
+ #mayorbody.leftpad {
+ margin-left: 141px; }
+ #mayorbody.toppad {
+ margin-left: 0px; top:33px; position: relative;
+ }
+
+}
+@media print {
+ #nav, #nav1, #nav2, #poz, #head, #logo, #mayorfoot, #logobadge { display: none; }
+}
diff --git a/mayor-orig/www/skin/blue/base/html/base.phtml b/mayor-orig/www/skin/blue/base/html/base.phtml
new file mode 100644
index 00000000..ebe1161b
--- /dev/null
+++ b/mayor-orig/www/skin/blue/base/html/base.phtml
@@ -0,0 +1,401 @@
+<?php
+/*
+ Module: base
+
+ html_base($sessionID,$page,$sub,$f,$lang,$skin,$MENU)
+ html_head($page,$f,$lang,$skin)
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = 'default')
+ html_mayor_foot()
+ //page($page,$sub,$f,$lang,$skin) --> base.php
+ putValidXHTML()
+*/
+
+ require('skin/blue/base/color_schemes.php');
+ if (!defined('__COLOR_SCHEME') || !is_array($_COLOR_SCHEMES[__COLOR_SCHEME]))
+ $_COLORS = $_COLOR_SCHEMES['blue'];
+ else
+ $_COLORS = $_COLOR_SCHEMES[__COLOR_SCHEME];
+
+
+// -------------------------------------------------------------------
+// html_base() : a html oldal szerkezete
+// -------------------------------------------------------------------
+
+function html_base($sessionID,$policy,$page,$sub,$f,$lang,$skin,$MENU) {
+
+ _httpHeader();
+
+ if ($MENU['set'][$policy][$page][$sub][$f]['refresh'] > 0) {
+ @header("Refresh:".intval($MENU['set'][$policy][$page][$sub][$f]['refresh']));
+ }
+
+ html_head($page,$sub,$f,$lang,$skin);
+ _debugLayer();
+ html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin);
+ echo '<div id="mayorerror"></div>';
+ $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad';
+ echo '<div class="mayorbody '.$_defaultPageLayout.'" id="mayorbody">';
+ page($page,$sub,$f,$lang,$skin,$policy);
+ echo '</div>';
+ html_mayor_foot();
+}
+
+// -------------------------------------------------------------------
+// html_head() : html fejlec kiirasa
+// -------------------------------------------------------------------
+
+function html_head($page,$sub,$f,$lang,$skin) {
+
+ global $INCLUDES, $SSSHH, $SSSBB;
+
+ if ($f == '') $f = $page;
+ ## ----------------------------------------------
+ ## Note http://hixie.ch/advocacy/xhtml
+ ## But this is crazy! Using Doctype sniffing instead...
+ ## Also read: http://www.mozilla.org/docs/web-developer/faq.html
+ ## header('Content-type: application/xhtml+xml');
+ ## -----------------------------------------------
+
+ // debug üzenetek layer-ének lezárása
+// if (defined('__START_DEBUG') && __START_DEBUG === true) echo "</div>\n<!--// debug end //-->";
+
+ echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
+ echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'."\n";
+ echo '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="hu">'."\n";
+ echo '<head>'."\n";
+ echo '<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />'."\n";
+ echo '<title>';
+ if (defined('_SITE')) echo ' - '._SITE.' - ';
+ echo _MAIN_TITLE;
+ echo '.';
+ echo _MAYORREV;
+ echo '</title>'."\n";
+ includeCSS($page,$sub,$f,$skin);
+ includeCSS($page,$sub,$f,$skin,'handheld'); // install css for handheld devices
+ includeJS($page,$sub,$f,$skin);
+ if (is_string($SSSHH) && $SSSHH!='') echo $SSSHH;
+
+ if (is_array(@$INCLUDES['html_head']['global'])) foreach ($INCLUDES['html_head']['global'] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ if (is_array(@$INCLUDES['html_head'][$page])) foreach ($INCLUDES['html_head'][$page] as $key => $include) {
+ if (file_exists("skin/$skin/$include")) {
+ include("skin/$skin/$include");
+ } elseif (file_exists('skin/'._DEFAULT_SKIN.'/'.$include)) {
+ include('skin/'._DEFAULT_SKIN.'/'.$include);
+ }
+ }
+ echo '<link rel="shortcut icon" href="/skin/blue/base/img/favicon.ico" />'."\n";
+ echo "</head>\n<body>\n";
+ if (is_string($SSSBB) && $SSSBB!='') echo $SSSBB;
+
+}
+
+// -------------------------------------------------------------------
+// mayor_menu(): a menü kiiratása
+// -------------------------------------------------------------------
+
+function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) {
+
+ global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW, $_COLORS;
+
+ echo '<ul id="nav" class="hideShowContainer">'."\n";
+ if (is_array($MENU)) {
+ $active_page=false;
+ foreach ($MENU as $aModule => $pItems) {
+ if ($aModule != 'modules') {
+ for ($i = 0; $i < count($pItems); $i++) {
+ if ($page == $aModule and
+ ( $active_page===false && ( $_SERVER["REQUEST_URI"]=='/' || (!isset($pItems[$i]['url'])) || strpos($_SERVER["REQUEST_URI"],$pItems[$i]['url']) !== false || strpos($pItems[$i]['url'],"page=$page") !== false) )
+ ) {
+ echo '<li class="active">';
+ $active_page=true;
+ } else {
+ echo '<li style="display: none;" class="openable">';
+ }
+ if (isset($pItems[$i]['url']) && $pItems[$i]['url'] != '') {
+ if ($pItems[$i]['url'][0] == '&') $href = href("index.php?page=$aModule".$pItems[$i]['url']);
+ elseif (substr($pItems[$i]['url'],0,4) == 'http') $href = href($pItems[$i]['url'], array());
+ elseif (isset($pItems[$i]['get']) && is_array($pItems[$i]['get'])) $href = href($pItems[$i]['url'], $pItems[$i]['get']);
+ else $href = href($pItems[$i]['url']);
+ } else {
+ $href = href("index.php?page=$aModule");
+ }
+ echo '<a href="'.$href.'"'.((isset($pItems[$i]['target']))?' target="'.$pItems[$i]['target'].'" ':'').'>'
+ .$pItems[$i]['txt']
+ .'</a>'."\n";
+ // --- sub ---
+
+ @$pageArray = $MENU['modules'][$aModule];
+
+ if (is_array($pageArray) && count($pageArray)>0) {
+ echo '<ul class="sub">'."\n";
+ foreach ($pageArray as $aSub => $sItems) {
+ if ($aSub != 'sub') {
+ for ($j=0;$j<count($sItems);$j++) {
+ if (
+ $page == $aModule and
+ (
+ (!isset($sItems[$j]['url']) && $f == $aSub)
+ || (isset($sItems[$j]['url']) && strpos($_SERVER["REQUEST_URI"],$sItems[$j]['url']) !== false)
+ )
+ ) {
+ echo '<li class="active">'; $activeSub = true;
+ } else {
+ echo '<li>'; $activeSub = false;
+ }
+ if (isset($sItems[$j]['url']) && $sItems[$j]['url'] != '') {
+ if ($sItems[$j]['url'][0] == '&') $href = href("index.php?page=$aModule&f=$aSub".$sItems[$j]['url']);
+ elseif (substr($sItems[$j]['url'],0,4) == 'http') $href = href($sItems[$j]['url'], array());
+ elseif (isset($sItems[$j]['get']) && is_array($sItems[$j]['get'])) $href = href($sItems[$j]['url'], $sItems[$j]['get']);
+ else $href = href($sItems[$j]['url']);
+ } else {
+ $href = href("index.php?page=$aModule&f=$aSub",array('policy','sessionID','lang','skin'));
+ }
+ @$subArray = $MENU['modules'][$aModule]['sub'][$aSub];
+ if (!is_array($subArray) || count($subArray) == 0) {
+ echo '<a href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>'
+ .$sItems[$j]['txt'].'</a>';
+ } else { // vannak al-al menúk (f - menü)
+ echo '<span>&laquo;</span><a href="'.$href.'"'.((isset($sItems[$j]['target']))?' target="'.$sItems[$j]['target'].'" ':'').'>'
+ .$sItems[$j]['txt'].'</a>';
+ // -- f menü --
+ echo '<ul class="fmenu">'."\n";
+
+ foreach ($subArray as $anF => $items) {
+ for ($k=0;$k<count($items);$k++) {
+ if ($aModule == $page and
+ $aSub == $sub and
+ $anF == $f and
+ (!isset($items[$k]['url']) or strpos($_SERVER["REQUEST_URI"],$items[$k]['url']) !== false)
+ ) { echo '<li class="active">'."\n"; }
+ else { echo '<li>'."\n"; }
+
+ if (isset($items[$k]['url']) && $items[$k]['url'] != '') {
+ if ($items[$k]['url'][0] == '&') $href = href("index.php?page=$aModule&sub=$aSub&f=$anF".$items[$k]['url']);
+ elseif (substr($items[$k]['url'],0,4) == 'http') $href = href($items[$k]['url'], array());
+ elseif (isset($items[$k]['get']) && is_array($items[$k]['get'])) $href = href($items[$k]['url'], $items[$k]['get']);
+ else $href = href($items[$k]['url']);
+ } else {
+ $href = href("index.php?page=$aModule&sub=$aSub&f=$anF");
+ }
+ echo '<a href="'.$href.'"'.((isset($items[$k]['target']))?' target="'.$items[$k]['target'].'" ':'').'> '
+ .$items[$k]['txt'].' </a>'."\n";
+
+ echo '</li>'."\n"; // al-al menüpont vége (f)
+ } // for - on items
+ } // foreach - on subArray
+
+ echo '</ul>'."\n"; // fmenu
+ } // vannak al-al menük (f -menü)
+
+ echo '</li>'."\n"; // almenü-pont vége (sub)
+ } // for - on sItems
+ } // ha nem sub == aSub
+ } // foreach pageArray
+ echo '</ul>'."\n"; // submenu
+ } // vannak almenük (sub)
+ echo '</li>'."\n"; // menüpont vége (page)
+ } // for - on pItems
+ } // ha aModule != 'modules'
+ } // foreach on MENU
+ }
+ echo '<li class="start onClickHideShow">&nbsp</li>';
+ echo '</ul>'."\n";
+
+ $loginout_img = _svgLoginout(array('print'=>false, 'color' => $_COLORS['login']));
+ $down_svg = _svgDown(array('print'=>false, 'color' => $_COLORS['login']));
+ // ------------------------
+
+ echo '<ul id="poz">';
+ echo '<li>';
+ if (!defined('_SCHOOL_NAME')) define('_SCHOOL_NAME',_SITE/*.' - '._MAIN_TITLE.'.'._MAYORREV*/);
+ echo '<span class="school">'._SCHOOL_NAME.'</span>';
+
+ if ($policy == 'public') {
+ echo '<div class="nev hideShowContainer">'.$down_svg.'<span class="onClickHideShow" style="padding-left:14px;" > '._LOGIN.'</span>';
+ echo '<a id="logout" title="'._LOGIN.'" href="'.href('index.php?page=auth&f=login&toPolicy=private',array('skin','lang','sessionID')).'">';
+ echo $loginout_img;
+ echo '</a>';
+ echo '<div id="settings" class="openable" style="display: none">';
+ echo '<table>';
+ echo '<tr>';
+ echo '<td><a href="'.href('index.php?page=auth&f=login&toPolicy=parent').'">'.str_replace(' ','&nbsp;',_PARENT_LOGIN).'</a></td>';
+ echo '<td><a href="'.href('index.php?page=auth&f=login&toPolicy=private').'">'._LOGIN.'</a></td>';
+ echo '</tr>';
+ echo '</table>';
+ formBegin();
+ formEnd();
+ echo '</div>';
+ echo '</div>';
+ } else {
+ echo '<div class="nev hideShowContainer">'.$down_svg.'<span class="onClickHideShow" style="padding-left:14px;" > '._USERCN.'</span>';
+ echo '<a id="logout" title="'._LOGOUT.'" href="'.href('index.php?page=session&f=logout&policy=public',array('skin','lang','sessionID')).'">';
+ echo $loginout_img;
+ echo '</a>';
+ echo '<div id="settings" class="openable" style="display: none">';
+ echo '<div>';
+ echo '<p class="name">'._USERCN.'</p>';
+ echo '<p class="account">'._USERACCOUNT.'</p>';
+ echo '</div>';
+ echo '<table>';
+ echo '<tr>';
+ echo '<td><a href="'.href('index.php?page=password&f=changeMyPassword&userAccount='._USERACCOUNT.'&policy=public',array('skin','lang','sessionID')).'">'._PASSWORD.'</a></td>';
+ echo '<td><a href="'.href('index.php?page=session&f=logout&policy=public',array('skin','lang','sessionID')).'">'._LOGOUT.'</a></td>';
+ echo '</tr>';
+ echo '</table>';
+ formBegin();
+ /* Némi javascipt támogatás a session kezelésre ebben a formban */
+ $sessionMaxIdleTime=$sessionAlertTime=0;
+ if ((_SESSIONID!='' && _POLICY!='public') && defined('_SESSION_MAX_IDLE_TIME') && _SESSION_MAX_IDLE_TIME>0) {
+ $sessionMaxIdleTime=((_SESSION_MAX_IDLE_TIME*1000*60*60)+1000);
+ if (defined('_SESSION_ALERT_TIME')) $sessionAlertTime = ((_SESSION_MAX_IDLE_TIME*1000*60*60)-(_SESSION_ALERT_TIME*1000*60));
+ }
+ echo '<input type="hidden" id="SESSION_MAX_IDLE_TIME" value="'.$sessionMaxIdleTime.'" />';
+ echo '<input type="hidden" id="SESSION_ALERT_TIME" value="'.$sessionAlertTime.'" />';
+ /* --- */
+ formEnd();
+ echo '</div>';
+ echo '</div>';
+ } // policy != punlic
+//var_dump(substr($_SERVER["REQUEST_URI"],0,strpos($_SERVER["REQUEST_URI"],'sessionID=')));
+
+ echo '</li>';
+ echo '</ul>';
+
+
+}
+
+// -------------------------------------------------------------------
+// html_mayor_head() : fejlec kiirasa (logo+menu+lastupdated)
+// -------------------------------------------------------------------
+
+function html_mayor_head($sessionID,$page,$sub,$f,$lang,$MENU,$skin = _DEFAULT_SKIN) {
+
+ global $INCLUDES, $INSTALLED_MODULES, $LANGUAGES, $SKINS, $SKINSSHOW, $policy, $SCHOOL_LOGO, $SCHOOL_IDENTITY, $SCHOOL_URL, $NAV;
+
+
+ _updateWindow();
+ _keyHelp();
+
+ //if (date('m')==12) $imgextra = '-santa'; else $imgextra = '';
+ if (defined('_HOME_LOGO') && file_exists(_HOME_LOGO)) $HOME_LOGO=_HOME_LOGO;
+ elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png'))
+ $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png';
+
+ if (defined('_HOME_LOGO_BADGE') && file_exists(_HOME_LOGO_BADGE)) $HOME_LOGO_BADGE=_HOME_LOGO_BADGE;
+// elseif (!file_exists($HOME_LOGO = 'skin/'.$skin.'/base/img/mayor_small_ssl'.$imgextra.'.png'))
+// $HOME_LOGO = 'skin/'._DEFAULT_SKIN.'/base/img/mayor_small_ssl'.$imgextra.'.png';
+
+echo '<div id="head"></div>';
+
+ echo "<!--// NAV1 start //-->\n";
+ echo '<div id="nav1">';
+ echo '<div class="hideShowContainer">';
+
+ $db = 0; $max = __MAX_MENU; // Az egy sorba megjeleníthető menüpontok maximális száma
+ if (is_array($NAV[1])) foreach ($NAV[1] as $N1) {
+ $txt = '';
+ $i = intval($N1['index']);
+ if (isset($N1['sub'])) {
+ if (!isset($N1['f'])) {
+ $M = $MENU['modules'][ $N1['page'] ][ $N1['sub'] ][ $i ];
+ } else {
+ $M = $MENU['modules'][ $N1['page'] ]['sub'][ $N1['sub'] ][ $N1['f'] ][ $i ];
+ }
+ } elseif (isset($N1['f'])) {
+ $M = $MENU['modules'][ $N1['page'] ][ $N1['f'] ][ $i ];
+ } else {
+ $M = $MENU[$N1['page']][ $i ];
+ }
+ $txt = $M['txt'];
+ $url = $M['url'];
+ $get = $M['get'];
+ if (isset($get)) $href = href( isset($url)?$url:'index.php?page='.$N1['page'].'&sub='.$N1['sub'].'&f='.$N1['f'], $get);
+ else $href = href( isset($url)?$url:'index.php?page='.$N1['page'].'&sub='.$N1['sub'].'&f='.$N1['f']);
+
+ if ($db<$max) {
+ if ($page == $N1['page'] && $sub == $N1['sub'] && (!isset($N1['f']) || $f == $N1['f'])) $class = ' class="aktiv" '; else $class = '';
+ } else {
+ if ($page == $N1['page'] && $sub == $N1['sub'] && (!isset($N1['f']) || $f == $N1['f'])) $class = ' class="openable aktiv" '; else $class = ' class="openable" ';
+ $style = ' style="display: none;" ';
+ }
+
+ if ($txt != '') { // Hibás hivatkozás ne rontsa el a menüt!
+ if ($db == $max) echo '<span class="onClickHideShow openable">&nabla;</span><span class="onClickHideShow openable" style="display: none;">&Delta;</span><br />';
+ echo '<a href="'.$href.'"'.$class.$style.'>';
+ echo $txt;
+ echo '</a>';
+ $db++;
+ }
+
+
+ }
+ echo '</div>';
+ echo '</div>'."\n<!--// NAV1 end //-->\n";
+
+ mayor_menu($MENU,$sessionID,$lang,$skin);
+ echo '<a href="'.href('index.php').'">';
+ echo '<img src="'.$HOME_LOGO.'" alt="MaYoR" id="logo" />';
+ if ($HOME_LOGO_BADGE!='') echo '<img src="'.$HOME_LOGO_BADGE.'" alt="" id="logobadge" />';
+ echo '</a>';
+
+
+ echo "<!--// NAV2 start //-->\n";
+ $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'vertical' : 'horizontal';
+ echo '<div id="nav2" class="'.$_defaultPageLayout.'">';
+// echo '<span id="hideNav2:tavtarto" class="onClickHide">X</span>';
+ if (is_array($NAV[2])) {
+ echo '<ul>';
+ foreach ($NAV[2] as $N2) {
+ $txt = '';
+ $i = intval($N2['index']);
+ if (isset($N2['sub'])) {
+ if (!isset($N2['f'])) {
+ $M = $MENU['modules'][ $N2['page'] ][ $N2['sub'] ][ $i ];
+ } else {
+ $M = $MENU['modules'][ $N2['page'] ]['sub'][ $N2['sub'] ][ $N2['f'] ][ $i ];
+ }
+ } elseif (isset($N2['f'])) {
+ $M = $MENU['modules'][ $N2['page'] ][ $N2['f'] ][ $i ];
+ } else {
+ $M = $MENU[$N2['page']][ $i ];
+ }
+ $txt = $M['txt'];
+ $url = $M['url'];
+ $get = $M['get'];
+ if (isset($get)) $href = href( isset($url)?$url:'index.php?page='.$N2['page'].'&sub='.$N2['sub'].'&f='.$N2['f'], $get);
+ else $href = href( isset($url)?$url:'index.php?page='.$N2['page'].'&sub='.$N2['sub'].'&f='.$N2['f']);
+
+ if ($page == $N2['page'] && $sub == $N2['sub'] && (!isset($N2['f']) || $f == $N2['f'])) $class = ' class="aktiv" '; else $class = '';
+ if ($txt != '') {
+ echo '<li>';
+ echo '<a href="'.$href.'"'.$class.'>';
+ echo $txt;
+ echo '</a>';
+ echo '</li>';
+ }
+ }
+ echo '</ul>';
+ }
+ echo '</div>'."\n<!--// NAV2 end //-->\n";
+
+}
+
+
+// -------------------------------------------------------------------
+// html_mayor_foot() : lablec kiirasa ( )
+// -------------------------------------------------------------------
+
+function html_mayor_foot() {
+ $_defaultPageLayout = ($_SESSION['pageLayout']==0) ? 'leftpad' : 'toppad';
+ echo '<div class="mayorfoot '.$_defaultPageLayout.'" id="mayorfoot">'._MAIN_FOOTER.'</div>'."\n\n";
+ echo "</body>\n</html>";
+}
+
+
+?>
diff --git a/mayor-orig/www/skin/blue/base/img/favicon.ico b/mayor-orig/www/skin/blue/base/img/favicon.ico
new file mode 100644
index 00000000..5720d1ed
--- /dev/null
+++ b/mayor-orig/www/skin/blue/base/img/favicon.ico
Binary files differ
diff --git a/mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png b/mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png
new file mode 100644
index 00000000..ca42a8d0
--- /dev/null
+++ b/mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png
Binary files differ
diff --git a/mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png.orig b/mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png.orig
new file mode 100644
index 00000000..c2b3d41b
--- /dev/null
+++ b/mayor-orig/www/skin/blue/base/img/mayor_small_ssl.png.orig
Binary files differ
diff --git a/mayor-orig/www/skin/blue/module-auth/css/login.css b/mayor-orig/www/skin/blue/module-auth/css/login.css
new file mode 100644
index 00000000..872d000f
--- /dev/null
+++ b/mayor-orig/www/skin/blue/module-auth/css/login.css
@@ -0,0 +1,46 @@
+@media screen {
+
+div.mayorbody img { border-width: 0px; }
+div.mayorbody h1 {text-align: center; margin:10px; font-size:20px; }
+div.mayorbody h2 {text-align: center; margin:10px; font-size: 15px; }
+div.mayorbody table { font-size: 12px; }
+div.mayorbody table.main {width: 100%; border-width: 0px;}
+div.mayorbody table.loginablak {
+ background-color: #ffffff;
+ border-width: 1px;
+ border-style: solid;
+ border-color: #555550;
+ width:400px}
+div.mayorbody td { padding: 2px }
+div.mayorbody form { margin: 30px;padding: 0px; }
+div.mayorbody input { font-size: 12px; font-family:Verdana,Arial; background-color: #fffff0; border: solid 1px #666690;}
+div.mayorbody select.pp { padding: 0px; margin: 0px; border: none 0px #778890; font-size: 12px; background-color: #eeeee0; font-family: Verdana,Arial; }
+div.mayorbody select.pp>option { border: none 0px black; }
+div.mayorbody input.submit { border: solid 1px #776650; }
+div.mayorbody table.loginablak thead td {
+ background-color: #666690;
+ text-align: center;
+ font-family: Verdana,arial;
+ font-size: 10pt;
+ font-weight: bold;
+ color: white;
+ border-bottom: solid 1px white;
+div.mayorbody }
+div.mayorbody table.loginablak tbody tr.top td { border-top: solid 1px #666690; }
+
+div.mayorbody tfoot td { background-color: #888880; text-align: center; }
+div.mayorbody td.co { text-align: center; vertical-align: bottom; font-family: Verdana,arial; font-size:8pt; }
+div.mayorbody img.aauthImg {
+ border-top: solid 1px #666690;
+ border-bottom: solid 1px #888880;
+ border-left: solid 1px #666690;
+ border-right: solid 1px #888880;
+}
+#warning { height: 40px; }
+#capsLockWarning {
+ background: #ffffaa; color: #ffaaaa;
+ text-align: center; font-size: 20px; font-weight: bold;
+ padding: 20px; margin: 10px auto; width: 300px;
+}
+
+} \ No newline at end of file