<?PHP if($weblink == "attitudes-language-datax.php"){setcookie("xlanguage",$adlanguage,time() +1209600,"/".$wssiteL."/".$wssiteA."/");}
else{setcookie("xlanguage",$tlanguage,time()+1209600,"/".$wssiteL."/".$wssiteA."/");}
if($checkerrA == "on"){include("./../configure/checkerror-b.inc.php");}
include("./../languages/".$tlanguage."/-general.inc.php");
?>
<!DOCTYPE html>
<html lang="<?PHP echo $languageW;?>">
<head>
<meta charset="<?PHP echo $wcodeweb;?>">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="HandheldFriendly" content="True">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title><?PHP echo $project1." | ".$tsys." | ".$system." ".$project." (".$tversion." ";include("./../".$filename1."/configure/version.inc.php");echo ")";?></title>
<?PHP include("./../languages/metacodes.inc.php");?>
<meta name="robots" content="noindex,nofollow">
<meta name="language" content="<?PHP echo $tlanguage;?>">
<meta name="LMs-check" content="LMsOS4">
<meta name="software" content="© 2007-<?PHP echo $year;?> LMs® Software">
<link rel="shortcut icon" href="../images/favicon.ico">
<link href="./../styles/fonts2/raleway-v12-latin.css?family=Raleway" rel="stylesheet">
<?PHP 
if($googleTranslate == 1){echo "<link href=\"./../styles/fonts2/pt-sans-narrow-v8-latin.css?family=PT+Sans+Narrow:400,700\" rel=\"stylesheet\">
";
}else{
echo "<link href=\"./../styles/fonts2/source-sans-pro-v11-latin.css?family=Source+Sans+Pro:400,600\" rel=\"stylesheet\">
";}
?>
<link href="./../styles/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="./../styles/css/bootstrap-editable.css" rel="stylesheet" type="text/css">
<link href="./../styles/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href="./../styles/css/animate.min.css" rel="stylesheet" type="text/css">
<link href="./../styles/css/LMs-animate.min.css" rel="stylesheet" type="text/css">
<link href="./../styles/css/LMs-admin.min.css" rel="stylesheet" type="text/css">
<?PHP 
if($skin == "skin-black-SE"){$skin="skin-black";$skinSE="skin-black-SE";}else{$skin=$skin;$skinSE="";}
if($skin == "" || $skin == "skin-night" || $skin == "skin-black"){$skin=$skin;}else{$skin=$skinX;}
if($skin != ""){echo "<link href='./../styles/css/".$skin.".min.css' rel='stylesheet' type='text/css'>
";}
if($skinSE == "skin-black-SE"){echo "<link href='./../styles/css/".$skinSE.".min.css' rel='stylesheet' type='text/css'>
";}
?>
<?PHP if($checkCssT = join("\n",file("./../styles/css/testing.css")));$checkCssTx=strlen($checkCssT);if($checkCssTx != ""){ ?>
<link href="./../styles/css/testing.css" rel="stylesheet" type="text/css">
<?PHP }?>
<?PHP $topSum=$googleTranslate + $infoDesk;
if($topSum == 1){echo "<link href=\"./../styles/css/standardTop1.css\" rel=\"stylesheet\" type=\"text/css\">
";}
else if($topSum == 2){echo "<link href=\"./../styles/css/standardTop2.css\" rel=\"stylesheet\" type=\"text/css\">
";}
?>
<?PHP if($adlanguage != "de" or $tlanguage != "de"){?>
<link href="./../styles/css/LMs-admin-lang.css" rel="stylesheet" type="text/css">
<?PHP } ?>
<!--[if lt IE 9]>
<script src="./../styles/js/html5shiv.min.js"></script>
<script src="./../styles/js/respond.min.js"></script>
<![endif]-->
<?PHP include("./../languages/comments.inc.php");?>
<!-- <?PHP echo $tlicenseInfo3.": ".$firstname." ".$lastname;?> - <?PHP echo $tproduct;?>: <?PHP echo $productid;?> -->
</head>
<?PHP if($topSum == 1){$topStyle="topM1";}else if($topSum == 2){$topStyle="topM2";}else{$topStyle="";}?>
<?PHP include("./../".$SYSX."/functions/distance.inc.php");?>
<?PHP if($googleTranslate == 1){$onloadZ="";}else{if($onloadX == "on"){$onloadZ="onload=\"content();\" ";}else{$onloadZ="";}}
?>
<?PHP if($sidebarX == "on"){$sidebarC="sidebar-collapse";}else{$sidebarC="";}?>
<body <?PHP echo $onloadZ;?> id="<?PHP echo $asys;?>" class="sidebar-mini <?PHP echo $skin." ".$topStyle. " ".$sidebarC;?>" <?PHP if($scrollspy == "on"){echo 'data-spy="scroll" data-target="#scrollspy"';}?>>

<?PHP if(file_exists("./../".$SYSZ."/configloader-".$filename1.".inc.php")){
if($construction == "1"){echo "<a href='#' data-toggle='modal' data-target='#myModal2c'><i class='fa fa-circle constX'></i></a>";}
}
include("./../function/constructinfo.inc.php");
?>

<header class="main-header">

<!-- Google-Translate + Infoboard -->
<?PHP include("./../".$SYSX."/functions/nav-specials.inc.php");?>

<nav class="navbar">
<span class="logo1"><a href="<?PHP echo $wsCreator2;?>" target="_blank"><img src="../images/<?PHP include("./../function/skin2.inc.php");echo $adstyle1."/".$logoImage;?>" alt="<?PHP echo $wsCreator2Text1;?>"></a></span>
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button"><span class="sr-only">Navigation</span></a>
<?PHP include("./function/nav-top.inc.php");?>
</nav><!-- ./nav navbar -->

</header><!-- ./main-header -->

<div class="clear"></div>

<div class="wrapper">

<aside class="main-sidebar <?PHP echo $topStyleX;?>">
<section class="sidebar">
<?PHP include("./function/nav-left.inc.php");?>
</section>
</aside>

<!-- Content -->
<div class="content-wrapper">
<div class="content-navinfo">
<?PHP include("./../".$SYSX."/functions/nav-info.inc.php");?>
</div><!-- ./content-navinfo -->
<section class="content">
<?PHP include("./../function/loading.inc.php");?>

<main>
<?PHP include("./".$siteA);?>
</main><!-- ./main -->

</section><!-- ./content -->
</div><!-- ./content-wrapper -->

<!-- Footer -->
<footer class="main-footer">
<?PHP include("./../".$filename1."/functions/footer.inc.php");?>
</footer>

<?PHP include("./../".$SYSX."/function/nav-right.inc.php");?>

<?PHP include("./../".$SYSX."/functions/modal.inc.php");?>

<?PHP if($pageS == "on"){
echo "<div id=\"back-topS\"><a href=\"#top\"><span></span></a></div>";
}else{
echo "<div id=\"back-top\"><a href=\"#top\"><span></span></a></div>";
}
?>

</div><!-- ./wrapper -->

<script src="./../styles/plugins/jQuery/jquery.min.js"></script>
<script src="./../styles/js/bootstrap.min.js"></script>
<script src="./../styles/js/app.min.js"></script>

<script src="./../styles/js/adcalendar.js"></script>
<script src="./../configure/countdown.js"></script>
<script src="./../styles/js/countdown.js"></script>

<?PHP if($editableX == "on"){ ?>
<script src="./../styles/js/jquery.mockjax.js"></script>
<script src="./../styles/js/valib.js"></script>
<script src="./../styles/js/bootstrap-editable.min.js"></script>
<?PHP include("./functions/".$vlink."-savex.inc.php");
} ?>
<?PHP if($chartX == "on"){ ?>
<script src="./../styles/plugins/chartjs/chart.min.js"></script>
<?PHP if (file_exists("./functions/".$wlink)){include("./functions/".$wlink);}?>
<?PHP } ?>

<script src="./../styles/js/LMs-admin.min.js"></script>

<?PHP 
if($checkerrX == "on"){include("./../".$SYSX."/functions/errorlogfile.inc.php");}

include("./../function/timestamp.inc.php");
$actiondateX="";
$actionclockX="";
$lastactionY="<?PHP 
\$lastactionX='$timestamp';
\$actiondateX='$timestampA';
\$actionclockX='$timestampB';
?>";
$saveLastAction="./../configure/lastaction.inc.php";
$handle=fopen($saveLastAction, "w");
fwrite($handle,$lastactionY);
fclose($handle);
$oldumask = umask(0);
chmod($saveLastAction, 0644);
umask($oldumask);
?>

</body>
</html>