aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/www/skin/sulix/base
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/www/skin/sulix/base')
-rw-r--r--mayor-orig/www/skin/sulix/base/css/base.css268
-rw-r--r--mayor-orig/www/skin/sulix/base/html/base.phtml332
-rw-r--r--mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.pngbin0 -> 3447 bytes
-rw-r--r--mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.pngbin0 -> 3712 bytes
-rw-r--r--mayor-orig/www/skin/sulix/base/img/favicon.icobin0 -> 1150 bytes
-rw-r--r--mayor-orig/www/skin/sulix/base/img/fur.pngbin0 -> 167469 bytes
-rw-r--r--mayor-orig/www/skin/sulix/base/img/mayor_small_ssl.pngbin0 -> 38044 bytes
-rw-r--r--mayor-orig/www/skin/sulix/base/img/powered_by_mayor.pngbin0 -> 3874 bytes
-rw-r--r--mayor-orig/www/skin/sulix/base/img/powered_by_mayor_small.pngbin0 -> 4361 bytes
9 files changed, 600 insertions, 0 deletions
diff --git a/mayor-orig/www/skin/sulix/base/css/base.css b/mayor-orig/www/skin/sulix/base/css/base.css
new file mode 100644
index 00000000..fbffc38f
--- /dev/null
+++ b/mayor-orig/www/skin/sulix/base/css/base.css
@@ -0,0 +1,268 @@
+/* @override https://sy.ulx.hu:1743/sulixnaplo/skin/sulix/base/css/base.css?ver=2719 */
+
+/*
+ Module: base
+*/
+@media screen {
+
+ html body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin:0px; padding:0px; }
+
+ a { text-decoration:none; }
+
+ div.errorMsg { margin: 20px 20%; background: #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 { position: absolute; top: 0;
+ left: 5px;
+}
+
+ #head { position: absolute; width: 100%; height: 60px; background: #3496B9 url(../img/powered_by_mayor_small.png) no-repeat right center; }
+/*
+ #egyeb { float: right; padding: 23px 20px; margin-right: 100px; text-align: right; }
+ #egyeb span { color: white; cursor: pointer; background: #3facc7; padding: 23px 20px; }
+ #settings { display: none; width: 100px;
+ margin-top: 5px; position:relative; right: 0px;
+ background: #f496b9;
+ }
+ #egyeb:hover #settings { display: block; }
+ #settings table { width: 100%; background: #3facc7; margin-top: 23px; border-spacing: 1px;}
+ #settings td { width: 100%; text-align: left; padding-left: 10px; border-bottom: solid 1px #ffacc7; background: #3496B9; }
+ #settings td:last-child { border-bottom: none; }
+ #settings td a {
+ display: inline-block; width: 100%;
+ padding: 2px 0px 2px 0px;
+ text-align: left; text-decoration: none;
+ color: white;
+ }
+ #settings td a:hover { }
+*/
+
+
+ #nav, #nav ul { list-style: none; }
+ #nav { margin: 0; height: 60px; padding-left: 180px; }
+ #nav li { position: relative; }
+
+ #nav > li { float: left; z-index: 20; min-width: 100px; text-align: center; padding: 20px; height: 20px; background: #47c980; }
+ #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: #3facc7; }
+ #nav li a { display: block; padding: 3px 8px; color: white; }
+ #nav li a:hover { color:#fdb933; }
+ #nav li:hover > ul, #nav li.over ul { display: block; }
+#nav > li.active { padding-right: 0; padding-left: 0; width: 140px; }
+#nav > li > a { padding: 23px 8px; position: relative; top: -20px; }
+ #nav li.nav1szin { background: #3496B9; }
+ #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 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: 20px; min-width: 0; padding-right: 0px; padding-left: 6px;
+ background: #D2DFE9; border-right: 4px solid #D2DFE9; border-radius: 0px 30px 30px 0px;
+ }
+
+ #poz { list-style: none; background-color: rgb(230,230,230); margin: 0; height: 20px; border-bottom: #f3f3f3 solid 5px; }
+ #poz > li { float: right; padding: 2px; width: auto; }
+
+ #nav1 { z-index: 4; position: absolute; margin-left: 330px; margin-right: 10px; background: rgba(52,150,185,0.6); }
+ #nav1 div a { padding: 22px 8px 23px 8px; display: inline-block; text-decoration: none; color: #fff; background: #3496B9; margin-top: 1px; }
+
+ #nav1 div a:hover { color: #fdb933; /*background: #5FCCE7; */}
+ #nav1 div a.aktiv { color:#fdb933; /*background: #4FBCD7; */}
+
+ #nav2 { width: 120px; position: absolute; margin: 0; height: 100%;
+ 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%);
+ }
+ #nav2 ul { margin: 0; padding: 0; list-style: none; }
+ #nav2 ul li { border-bottom: solid 1px rgba(100,100,100,0.4); }
+ #nav2 ul li a { display: block; color: black; font-size: 11px; background: #D2DFE9; padding: 6px 6px; text-decoration: none; }
+ #nav2 ul li a.aktiv { color: #175970; color: #ee7f00; font-size: 12px; }
+ #nav2 ul li a:hover { color: white; background: #9abcd8; }
+
+
+ #takaro { z-index:150;position: fixed;top:0px; left:0px; right:0px; bottom:0px; background-color: rgba(0,0,0,0.7); }
+ #updateWindow {background-color: white; position: absolute;z-index:200;margin:auto auto; width:400px;}
+ #keyHelp { z-index:151;position: absolute; top:200px; left: 200px; right:200px; margin: auto; padding: 20px; width: 300px;
+ 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; }
+ #keyHelp td.desc { color: white; text-align: left; }
+
+ div.mayorbody { margin-left: 121px; }
+/*
+ #logo, #head, #nav1, #nav2, #nav, #poz { position: fixed; }
+ #head { top: 0; left: 0; }
+ #nav { top: 0; left: 0; }
+ #nav1 { top: 0; }
+ #poz { top: 60px; width: 100%; }
+ #nav2 { top: 85px; }
+ div.mayorbody { margin-top: 85px; }
+ #nav2 { top: 60px; }
+ div.mayorbody { margin-top: 60px; }
+ */
+
+ #mayorErrorSmall.mayorErrorSmallInfo {
+border-bottom: solid 4px rgb(106,128,250);
+padding:4px; height:100%; width:100%;
+background-color:rgba(250,250,250,0.9);
+ }
+
+ #mayorErrorSmall.mayorErrorSmallError {
+border-bottom: solid 4px red;
+padding:4px; height:100%; width:100%;
+background-color:rgba(250,250,250,0.9);
+ }
+
+}
+
+form {
+ background-color: #eeeeee !important;
+ color: black !important;
+}
+
+form.hiba {
+ background-color: #eeeeee !important;
+ color: black !important;
+}
+
+form.kepzes {
+ background-color: #eeeeee !important;
+ color: black !important;
+}
+
+form.tanar {
+ background-color: #eeeeee !important;
+ color: black !important;
+}
+
+form.terem {
+ background-color: #eeeeee !important;
+ color: black !important;
+}
+
+table.toolBar form {
+ background: #3496b9 !important;
+}
+
+form h2 {
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form h3 {
+ color: black !important;
+ font-size: 14px !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+}
+
+#mayorbody table th
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.terem h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.hiba h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.export h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.osztalyForm h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.tanar h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.updateTable h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+form.kepzes h1
+{
+ background: #d2d2d2 !important;
+ font-weight: normal !important;
+ font-style: normal !important;
+ font-size: 16px !important;
+ color: black !important;
+}
+
+#mayorbody .toolBar th
+{color: white !important;
+background: #3496b9 !important;
+font-size: 10px !important;}
+
+
+
+ form.hiba input
+ form.hiba select
+ {
+ margin:2px 10px;
+ background-color: white;
+ border: solid 1px rgb(120,220,240);
+ padding:0px 10px;
+ color: black;
+} \ No newline at end of file
diff --git a/mayor-orig/www/skin/sulix/base/html/base.phtml b/mayor-orig/www/skin/sulix/base/html/base.phtml
new file mode 100644
index 00000000..5848a7b7
--- /dev/null
+++ b/mayor-orig/www/skin/sulix/base/html/base.phtml
@@ -0,0 +1,332 @@
+<?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()
+*/
+
+
+// -------------------------------------------------------------------
+// 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>';
+ echo '<div class="mayorbody" 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;
+
+ 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');
+ ## -----------------------------------------------
+ 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 (_SULIX_DESIGN !== true) {
+// if (defined('_SITE')) echo ' - '._SITE.' - ';
+// echo _MAIN_TITLE;
+// echo '.';
+// echo _MAYORREV;
+// } else {
+ echo _SITE;
+// }
+ 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 ($SSSHH!=null && $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);
+ }
+ }
+// if (_SULIX_DESIGN !== true) echo '<link rel="shortcut icon" href="/skin/sulix/base/img/favicon.ico" />'."\n";
+// else
+ echo '<link type="image/x-ico" rel="icon" href="/sulixlearning/theme/image.php?theme=leatherbound&image=favicon&rev=171&component=theme">';
+ echo "</head>\n<body>\n";
+
+}
+// -------------------------------------------------------------------
+// mayor_menu(): a menü kiiratása
+// -------------------------------------------------------------------
+
+function mayor_menu($MENU,$sessionID,$lang = _DEFAULT_LANG,$skin = _DEFAULT_SKIN) {
+
+ global $policy, $page, $sub, $f, $LANGUAGES, $SKINSSHOW;
+
+ echo '<ul id="nav" class="hideShowContainer">'."\n";
+
+ if (is_array($MENU)) {
+ foreach ($MENU as $aModule => $pItems) {
+ if ($aModule != 'modules') {
+ for ($i = 0; $i < count($pItems); $i++) {
+ if ($page == $aModule and
+ ((!isset($pItems[$i]['url'])) || strpos($_SERVER["REQUEST_URI"],$pItems[$i]['url']) !== false)
+ ) {
+// if (_SULIX_DESIGN === true)
+ echo '<li class="active">';
+// else echo '<li class="active nav1szin">';
+ } 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
+ }
+// if (_SULIX_DESIGN !== true) echo '<li class="start onClickHideShow">&nbsp</li>';
+ echo '</ul>'."\n";
+
+ // ------------------------
+
+}
+
+// -------------------------------------------------------------------
+// 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();
+
+ //if (date('m')==12) $imgextra = '-santa'; else $imgextra = '';
+
+// if (defined('_HOME_LOGO') && file_exists(_HOME_LOGO)) $HOME_LOGO=_HOME_LOGO;
+// else
+ if (!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">';
+/* ---
+ if ($policy == 'parent') {
+ echo '<div id="egyeb" class="hideShowContainer"><span class="onClickHideShow">Egyéb</span>';
+ echo '<div id="settings" class="openable" style="">';
+ echo '<table>';
+ echo '<tr>';
+ echo '<td><a href="'.href('index.php?policy=public&page=session&f=logout', array('sessionID','skin','lang')).'">'._LOGOUT.'</a></td>';
+ echo '</tr><tr>';
+ echo '<td><a href="'.href('index.php?policy=public&page=password&f=changeMyPassword&userAccount='._USERACCOUNT.'&toPolicy=parent',array('sessionID','skin','lang')).'">'._PASSWORD.'</a></td>';
+ echo '</tr>';
+ echo '</table>';
+ echo '</div>';
+ echo '</div>';
+ }
+/* --- */
+echo '</div>';
+
+ echo "<!--// NAV1 start //-->\n";
+ echo '<div id="nav1">';
+ echo '<div>';
+
+ 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 ($page == $N1['page'] && $sub == $N1['sub'] && (!isset($N1['f']) || $f == $N1['f'])) $class = ' class="aktiv" '; else $class = '';
+ if ($txt != '') { // Hibás hivatkozás ne rontsa el a menüt!
+ echo '<a href="'.$href.'"'.$class.'>';
+ echo $txt;
+ echo '</a>';
+ }
+ }
+
+ echo '</div>';
+ echo '</div>'."\n<!--// NAV1 end //-->\n";
+
+
+ mayor_menu($MENU,$sessionID,$lang,$skin);
+// if (_SULIX_DESIGN !== true) echo '<a href="'.href('index.php').'"><img src="'.$HOME_LOGO.'" alt="MaYoR" id="logo" /></a>';
+// else
+ echo '<img src="'.$HOME_LOGO.'" alt="MaYoR" id="logo" />';
+
+
+ echo "<!--// NAV2 start //-->\n";
+ echo '<div id="nav2">';
+ 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() {
+ //echo '<div class="mayorfoot" id="mayorfoot">'._MAIN_FOOTER.'</div>'."\n\n";
+ echo "</body>\n</html>";
+}
+
+
+?>
diff --git a/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.png b/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.png
new file mode 100644
index 00000000..3816f6de
--- /dev/null
+++ b/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_140x26.png
Binary files differ
diff --git a/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.png b/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.png
new file mode 100644
index 00000000..524d0a83
--- /dev/null
+++ b/mayor-orig/www/skin/sulix/base/img/bejelentkezes_gomb_66x28.png
Binary files differ
diff --git a/mayor-orig/www/skin/sulix/base/img/favicon.ico b/mayor-orig/www/skin/sulix/base/img/favicon.ico
new file mode 100644
index 00000000..5c819e56
--- /dev/null
+++ b/mayor-orig/www/skin/sulix/base/img/favicon.ico
Binary files differ
diff --git a/mayor-orig/www/skin/sulix/base/img/fur.png b/mayor-orig/www/skin/sulix/base/img/fur.png
new file mode 100644
index 00000000..f537e6da
--- /dev/null
+++ b/mayor-orig/www/skin/sulix/base/img/fur.png
Binary files differ
diff --git a/mayor-orig/www/skin/sulix/base/img/mayor_small_ssl.png b/mayor-orig/www/skin/sulix/base/img/mayor_small_ssl.png
new file mode 100644
index 00000000..44e007cb
--- /dev/null
+++ b/mayor-orig/www/skin/sulix/base/img/mayor_small_ssl.png
Binary files differ
diff --git a/mayor-orig/www/skin/sulix/base/img/powered_by_mayor.png b/mayor-orig/www/skin/sulix/base/img/powered_by_mayor.png
new file mode 100644
index 00000000..0f88bfc3
--- /dev/null
+++ b/mayor-orig/www/skin/sulix/base/img/powered_by_mayor.png
Binary files differ
diff --git a/mayor-orig/www/skin/sulix/base/img/powered_by_mayor_small.png b/mayor-orig/www/skin/sulix/base/img/powered_by_mayor_small.png
new file mode 100644
index 00000000..aa65a706
--- /dev/null
+++ b/mayor-orig/www/skin/sulix/base/img/powered_by_mayor_small.png
Binary files differ