summaryrefslogtreecommitdiffstats
path: root/template/admin/html/home.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-02-24 21:27:59 +0100
committerThomas Lange <code@nerdmind.de>2017-02-24 21:27:59 +0100
commit52b077a48c743ba4d08ac00520a0bf1ef6deef5f (patch)
treeb4205c194167e0e03e273957cdd0aab3be9fdf01 /template/admin/html/home.php
downloadblog-52b077a48c743ba4d08ac00520a0bf1ef6deef5f.tar.gz
blog-52b077a48c743ba4d08ac00520a0bf1ef6deef5f.tar.xz
blog-52b077a48c743ba4d08ac00520a0bf1ef6deef5f.zip
Initial commit.v1.0
Diffstat (limited to 'template/admin/html/home.php')
-rw-r--r--template/admin/html/home.php34
1 files changed, 34 insertions, 0 deletions
diff --git a/template/admin/html/home.php b/template/admin/html/home.php
new file mode 100644
index 0000000..6701f35
--- /dev/null
+++ b/template/admin/html/home.php
@@ -0,0 +1,34 @@
+<h1><i class="fa fa-dashboard"></i><?=$Language->template('overview_dashboard_text')?></h1>
+<p><?=$Language->template('overview_dashboard_desc')?></p>
+
+<h2><i class="fa fa-newspaper-o"></i><?=$Language->template('last_post')?></h2>
+<p><strong><?=$Language->text('posts')?>:</strong> <?=$COUNT['POST']?> | <a href="<?=Application::getAdminURL('post/')?>"><?=$Language->text('post_overview')?></a> | <a href="<?=Application::getAdminURL('post/insert.php')?>"><?=$Language->text('insert')?></a></p>
+<?php if(!empty($LAST['POST'])): ?>
+ <ul class="item-list">
+ <?=$LAST['POST']?>
+ </ul>
+<?php else: ?>
+ <p><em><?=$Language->template('home_no_posts')?></em></p>
+<?php endif; ?>
+
+<h2><i class="fa fa-file-text-o"></i><?=$Language->template('last_page')?></h2>
+<p><strong><?=$Language->text('pages')?>:</strong> <?=$COUNT['PAGE']?> | <a href="<?=Application::getAdminURL('page/')?>"><?=$Language->text('page_overview')?></a> | <a href="<?=Application::getAdminURL('page/insert.php')?>"><?=$Language->text('insert')?></a></p>
+
+<?php if(!empty($LAST['PAGE'])): ?>
+ <ul class="item-list">
+ <?=$LAST['PAGE']?>
+ </ul>
+<?php else: ?>
+ <p><em><?=$Language->template('home_no_pages')?></em></p>
+<?php endif; ?>
+
+<h2><i class="fa fa-user"></i><?=$Language->template('last_user')?></h2>
+<p><strong><?=$Language->text('users')?>:</strong> <?=$COUNT['USER']?> | <a href="<?=Application::getAdminURL('user/')?>"><?=$Language->text('user_overview')?></a> | <a href="<?=Application::getAdminURL('user/insert.php')?>"><?=$Language->text('insert')?></a></p>
+
+<?php if(!empty($LAST['USER'])): ?>
+ <ul class="item-list">
+ <?=$LAST['USER']?>
+ </ul>
+<?php else: ?>
+ <p><em><?=$Language->template('home_no_users')?></em></p>
+<?php endif; ?>