First Version Ready for Beta
This commit is contained in:
41
index.php
Normal file
41
index.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="<?php echo Theme::lang() ?>">
|
||||
<head>
|
||||
<?php include(THEME_DIR_PHP.'head.php'); ?>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<?php Theme::plugins('siteBodyBegin'); ?>
|
||||
<div class="container-fluid text-left">
|
||||
<div class="row">
|
||||
<div class="col-md-1"> </div>
|
||||
<div class="col-md-8">
|
||||
<div class="title">
|
||||
<h1><?php echo $site->title() ?></h1>
|
||||
<h2><?php echo $site->slogan() ?></h2>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3"> </div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-1"> </div>
|
||||
<div class="col-md-8">
|
||||
<?php
|
||||
if ($WHERE_AM_I=='page') {
|
||||
include(THEME_DIR_PHP.'page.php');
|
||||
} else {
|
||||
include(THEME_DIR_PHP.'home.php');
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div class="col-md-2"><?php include(THEME_DIR_PHP.'sidebar.php'); ?></div>
|
||||
<div class="col-md-1"> </div>
|
||||
</div> <!-- Row -->
|
||||
</div> <!-- Container -->
|
||||
|
||||
<!-- Footer -->
|
||||
<?php include(THEME_DIR_PHP.'footer.php'); ?>
|
||||
|
||||
<?php Theme::plugins('siteBodyEnd'); ?>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user