You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.4 KiB
55 lines
1.4 KiB
<?php
|
|
|
|
@include 'cgi-bin/functions.inc';
|
|
@include 'cgi-bin/params.inc';
|
|
|
|
$GLOBALS['getQ'][0]="home";
|
|
$GLOBALS['isHome'] = true;
|
|
|
|
if(@$_GET['q']){
|
|
$GLOBALS['getQ']=explode("/",$_GET['q']);
|
|
}
|
|
|
|
if($getQ[0]!="home"){ $isHome = false; }
|
|
|
|
?>
|
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
|
|
<title>COZe</title>
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="description" content="COZe">
|
|
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
|
|
|
<base href="<?php echo $BASE_URL;?>/">
|
|
<link href="<?php echo $BASE_URL;?>/css/styles.css" rel="stylesheet" type="text/css"/>
|
|
<link href='http://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
|
|
|
|
</head>
|
|
<body itemscope itemtype="http://schema.org/WebPage" class="<?php if($isHome){echo "is-home";}?>">
|
|
|
|
<?php
|
|
@include 'header.php';
|
|
?>
|
|
<section>
|
|
<div id="MainContent" class="container">
|
|
<div class="row">
|
|
<?php
|
|
@include $getQ[0].'.php';
|
|
?>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<script type="text/javascript" src="<?php echo $BASE_URL;?>/node_modules/jquery/dist/jquery.min.js"></script>
|
|
<script type="text/javascript" src="<?php echo $BASE_URL;?>/js/scripts.js"></script>
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|