first commit
This commit is contained in:
24
public/theme/dark/templates/article.php
Executable file
24
public/theme/dark/templates/article.php
Executable file
@@ -0,0 +1,24 @@
|
||||
<?php echo $header; ?>
|
||||
<!-- CONTENT
|
||||
=================================-->
|
||||
|
||||
<div class="container content-padding">
|
||||
<div class="row">
|
||||
<div class="col-md-3"><div class="row">
|
||||
<div class="col-md-12"><h3>Latest Articles:</h3><?php getLatestNewsSidebar(); ?></div>
|
||||
<div class="col-md-12"><h3>Categories:</h3><?php getCategories(); ?></div></div>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="row">
|
||||
<div class="col-md-12"><h2><?php echo $page['pageTitle']; ?></h2><p class="meta">Posted: <?php echo $page['datePosted']; ?>, in category <a href="<?php echo BASE_URL."/category/".$page['categorySlug']; ?>"><?php echo $page['categoryTitle']; ?></a></p></div>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="row">
|
||||
<div class="col-md-12"><?php echo $page['postContent']; ?></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /CONTENT ============-->
|
||||
|
||||
<?php echo $footer; ?>
|
||||
36
public/theme/dark/templates/category.php
Executable file
36
public/theme/dark/templates/category.php
Executable file
@@ -0,0 +1,36 @@
|
||||
<?php echo $header; ?>
|
||||
|
||||
<!-- CONTENT
|
||||
=================================-->
|
||||
<?php $totSegments = $this->uri->total_segments();
|
||||
if(!is_numeric($this->uri->segment($totSegments))){
|
||||
$offset = 0;
|
||||
} else if(is_numeric($this->uri->segment($totSegments))){
|
||||
$offset = $this->uri->segment($totSegments);
|
||||
}
|
||||
$limit = 10;
|
||||
?>
|
||||
<div class="container content-padding">
|
||||
<div class="row">
|
||||
<div class="col-md-3"><div class="row">
|
||||
<div class="col-md-12"><h3>Latest Articles:</h3><?php getLatestNewsSidebar(); ?></div>
|
||||
<div class="col-md-12"><h3>Categories:</h3><?php getCategories(); ?></div></div>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="row">
|
||||
<div class="col-md-12"><?php getCategoryNews($page['categoryID'],$limit,$offset); ?></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<?php getPrevBtnCategory($page['categoryID'],$limit,$offset); ?>
|
||||
<?php getNextBtnCategory($page['categoryID'],$limit,$offset); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12 text-center"><p class="meta"><?php countCategoryPosts($page['categoryID'],$limit,$offset); ?></p></div>
|
||||
</div>
|
||||
</div>
|
||||
<hr>
|
||||
</div>
|
||||
<!-- /CONTENT ============-->
|
||||
|
||||
<?php echo $footer; ?>
|
||||
24
public/theme/dark/templates/error.php
Executable file
24
public/theme/dark/templates/error.php
Executable file
@@ -0,0 +1,24 @@
|
||||
<?php echo $header; ?>
|
||||
<!-- JUMBOTRON
|
||||
=================================-->
|
||||
|
||||
<div class="jumbotron text-center errorpadding">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col col-lg-12 col-sm-12">
|
||||
<img src="<?php echo ADMIN_THEME; ?>/images/large_logo.png" />
|
||||
<h1>Oops, there has been an error.</h1>
|
||||
<p>Sorry this page is currently unavailable.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /JUMBOTRON container-->
|
||||
<!--
|
||||
=================================-->
|
||||
<div class="container">
|
||||
<hr>
|
||||
</div>
|
||||
<!-- /CONTENT ============-->
|
||||
|
||||
<?php echo $footer; ?>
|
||||
23
public/theme/dark/templates/footer.php
Executable file
23
public/theme/dark/templates/footer.php
Executable file
@@ -0,0 +1,23 @@
|
||||
<!-- FOOTER
|
||||
=================================-->
|
||||
<div class="footer">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-5 col-xs-12 pull-left">
|
||||
<p><?php echo $settings['siteFooter']; ?></p>
|
||||
</div>
|
||||
<div class="col-md-5 col-xs-12 pull-right text-right">
|
||||
<?php getSocial(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /FOOTER ============-->
|
||||
|
||||
<!-- script references -->
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script>
|
||||
<script src="<?php echo THEME_FOLDER; ?>/js/bootstrap.min.js"></script>
|
||||
<?php echo $settings['siteAdditionalJS']; ?>
|
||||
</body>
|
||||
</html>
|
||||
36
public/theme/dark/templates/header.php
Executable file
36
public/theme/dark/templates/header.php
Executable file
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta charset="utf-8">
|
||||
<title><?php echo $page['pageTitle']; ?> | <?php echo $settings['siteTitle']; ?> </title>
|
||||
<meta name="description" content="<?php echo $page['pageDescription']; ?> " />
|
||||
<meta name="keywords" content="<?php echo $page['pageKeywords']; ?>" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<?php if ($settings['siteFavicon']!=""){ ?>
|
||||
<link rel="icon" href="<?php echo BASE_URL; ?>/images/<?php echo $settings['siteFavicon']; ?>" />
|
||||
<?php } ?>
|
||||
<link href="<?php echo THEME_FOLDER; ?>/css/bootstrap.min.css" rel="stylesheet">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link href="<?php echo THEME_FOLDER; ?>/css/socicon.css" rel="stylesheet">
|
||||
<link href="<?php echo THEME_FOLDER; ?>/css/styles.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<nav class="navbar navbar-inverse">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="<?php echo BASE_URL; ?>"><img src="<?php echo BASE_URL; ?>/images/<?php echo $settings['siteLogo']; ?>" alt="<?php echo $settings['siteTitle']; ?>"></a>
|
||||
</div>
|
||||
<div class="collapse navbar-collapse">
|
||||
<?php hooskNav('header') ?>
|
||||
</div>
|
||||
</div><!-- /.container -->
|
||||
</nav><!-- /.navbar -->
|
||||
39
public/theme/dark/templates/home.php
Executable file
39
public/theme/dark/templates/home.php
Executable file
@@ -0,0 +1,39 @@
|
||||
<?php echo $header; ?>
|
||||
<!-- JUMBOTRON
|
||||
=================================-->
|
||||
<div class="jumbotron text-center">
|
||||
<?php if ($page['enableSlider'] == 1) { ?>
|
||||
<div id="carousel" class="carousel slide " data-ride="carousel">
|
||||
<?php getCarousel($page['pageID']); ?>
|
||||
<a class="left carousel-control" href="#carousel" role="button" data-slide="prev">
|
||||
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
|
||||
<span class="sr-only">Previous</span>
|
||||
</a>
|
||||
<a class="right carousel-control" href="#carousel" role="button" data-slide="next">
|
||||
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
|
||||
<span class="sr-only">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if ($page['enableJumbotron'] == 1) { ?>
|
||||
<div class="container content-padding">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<?php echo $page['jumbotronHTML']; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<!-- /JUMBOTRON container-->
|
||||
<!-- CONTENT
|
||||
=================================-->
|
||||
<div class="container content-padding">
|
||||
<?php echo $page['pageContentHTML']; ?>
|
||||
</div>
|
||||
<!-- /CONTENT ============-->
|
||||
|
||||
<?php echo $footer; ?>
|
||||
10
public/theme/dark/templates/index.html
Executable file
10
public/theme/dark/templates/index.html
Executable file
@@ -0,0 +1,10 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>403 Forbidden</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<p>Directory access is forbidden.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
35
public/theme/dark/templates/maintenance.php
Executable file
35
public/theme/dark/templates/maintenance.php
Executable file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta charset="utf-8">
|
||||
<title><?php echo $settings['siteMaintenanceHeading']; ?> | <?php echo $settings['siteTitle']; ?> </title>
|
||||
<meta name="description" content="<?php echo $settings['siteMaintenanceMeta']; ?>" />
|
||||
<meta name="keywords" content="" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<?php if ($settings['siteFavicon']!=""){ ?>
|
||||
<link rel="icon" href="<?php echo BASE_URL; ?>/images/<?php echo $settings['siteFavicon']; ?>" />
|
||||
<?php } ?>
|
||||
<link href="<?php echo THEME_FOLDER; ?>/css/bootstrap.min.css" rel="stylesheet">
|
||||
<!--[if lt IE 9]>
|
||||
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<link href="<?php echo THEME_FOLDER; ?>/css/socicon.css" rel="stylesheet">
|
||||
<link href="<?php echo THEME_FOLDER; ?>/css/styles.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div class="maintenance text-center">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col col-lg-12 col-sm-12">
|
||||
<img src="<?php echo BASE_URL; ?>/images/<?php echo $settings['siteLogo']; ?>" alt="<?php echo $settings['siteTitle']; ?>" class="maintenance-logo">
|
||||
<h1><?php echo $settings['siteMaintenanceHeading']; ?></h1>
|
||||
<p><?php echo $settings['siteMaintenanceContent']; ?></p>
|
||||
<p><?php echo $settings['siteFooter']; ?></p>
|
||||
<?php getSocial(); ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
63
public/theme/dark/templates/news.php
Executable file
63
public/theme/dark/templates/news.php
Executable file
@@ -0,0 +1,63 @@
|
||||
<?php echo $header; ?>
|
||||
<!-- JUMBOTRON
|
||||
=================================-->
|
||||
|
||||
<div class="jumbotron text-center">
|
||||
<?php if ($page['enableSlider'] == 1) { ?>
|
||||
<div id="carousel" class="carousel slide " data-ride="carousel">
|
||||
<?php getCarousel($page['pageID']); ?>
|
||||
<a class="left carousel-control" href="#carousel" role="button" data-slide="prev">
|
||||
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
|
||||
<span class="sr-only">Previous</span>
|
||||
</a>
|
||||
<a class="right carousel-control" href="#carousel" role="button" data-slide="next">
|
||||
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
|
||||
<span class="sr-only">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if ($page['enableJumbotron'] == 1) { ?>
|
||||
<div class="container content-padding">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<?php echo $page['jumbotronHTML']; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<!-- /JUMBOTRON container-->
|
||||
<!-- CONTENT
|
||||
=================================-->
|
||||
<?php $totSegments = $this->uri->total_segments();
|
||||
if(!is_numeric($this->uri->segment($totSegments))){
|
||||
$offset = 0;
|
||||
} else if(is_numeric($this->uri->segment($totSegments))){
|
||||
$offset = $this->uri->segment($totSegments);
|
||||
}
|
||||
$limit = 10;
|
||||
?>
|
||||
<div class="container content-padding">
|
||||
<?php echo $page['pageContentHTML']; ?>
|
||||
<div class="row">
|
||||
<div class="col-md-3"><div class="row">
|
||||
<div class="col-md-12"><h3>Latest Articles:</h3><?php getLatestNewsSidebar(); ?></div>
|
||||
<div class="col-md-12"><h3>Categories:</h3><?php getCategories(); ?></div></div>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<div class="row">
|
||||
<div class="col-md-12"><?php getLatestNews($limit,$offset); ?></div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<?php getPrevBtn($limit,$offset); ?>
|
||||
<?php getNextBtn($limit,$offset); ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12 text-center"><p class="meta"><?php countPosts($limit,$offset); ?></p></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /CONTENT ============-->
|
||||
|
||||
<?php echo $footer; ?>
|
||||
38
public/theme/dark/templates/page.php
Executable file
38
public/theme/dark/templates/page.php
Executable file
@@ -0,0 +1,38 @@
|
||||
<?php echo $header; ?>
|
||||
<!-- JUMBOTRON
|
||||
=================================-->
|
||||
|
||||
<div class="jumbotron text-center">
|
||||
<?php if ($page['enableSlider'] == 1) { ?>
|
||||
<div id="carousel" class="carousel slide " data-ride="carousel">
|
||||
<?php getCarousel($page['pageID']); ?>
|
||||
<a class="left carousel-control" href="#carousel" role="button" data-slide="prev">
|
||||
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
|
||||
<span class="sr-only">Previous</span>
|
||||
</a>
|
||||
<a class="right carousel-control" href="#carousel" role="button" data-slide="next">
|
||||
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
|
||||
<span class="sr-only">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
<?php if ($page['enableJumbotron'] == 1) { ?>
|
||||
<div class="container content-padding">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<?php echo $page['jumbotronHTML']; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
<!-- /JUMBOTRON container-->
|
||||
<!-- CONTENT
|
||||
=================================-->
|
||||
<div class="container content-padding">
|
||||
<?php echo $page['pageContentHTML']; ?>
|
||||
<hr>
|
||||
</div>
|
||||
<!-- /CONTENT ============-->
|
||||
|
||||
<?php echo $footer; ?>
|
||||
Reference in New Issue
Block a user