| 1 | <?php
|
|---|
| 2 | /**
|
|---|
| 3 | * Theme name: admin_default
|
|---|
| 4 | * Template name: main.php
|
|---|
| 5 | * Template author: Nick Ramsay
|
|---|
| 6 | *
|
|---|
| 7 | * PHP version 5
|
|---|
| 8 | *
|
|---|
| 9 | * LICENSE: Hotaru CMS is free software: you can redistribute it and/or
|
|---|
| 10 | * modify it under the terms of the GNU General Public License as
|
|---|
| 11 | * published by the Free Software Foundation, either version 3 of
|
|---|
| 12 | * the License, or (at your option) any later version.
|
|---|
| 13 | *
|
|---|
| 14 | * Hotaru CMS is distributed in the hope that it will be useful, but WITHOUT
|
|---|
| 15 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|---|
| 16 | * FITNESS FOR A PARTICULAR PURPOSE.
|
|---|
| 17 | *
|
|---|
| 18 | * You should have received a copy of the GNU General Public License along
|
|---|
| 19 | * with Hotaru CMS. If not, see http://www.gnu.org/licenses/.
|
|---|
| 20 | *
|
|---|
| 21 | * @category Content Management System
|
|---|
| 22 | * @package HotaruCMS
|
|---|
| 23 | * @author Nick Ramsay <admin@hotarucms.org>
|
|---|
| 24 | * @copyright Copyright (c) 2010, Hotaru CMS
|
|---|
| 25 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
|
|---|
| 26 | * @link http://www.hotarucms.org/
|
|---|
| 27 | */
|
|---|
| 28 |
|
|---|
| 29 | ?>
|
|---|
| 30 |
|
|---|
| 31 | <table id='admin-home'>
|
|---|
| 32 | <tr>
|
|---|
| 33 |
|
|---|
| 34 | <td id='left'>
|
|---|
| 35 |
|
|---|
| 36 | <!-- TITLE FOR ADMIN NEWS -->
|
|---|
| 37 | <h2>
|
|---|
| 38 | <a href="http://feeds2.feedburner.com/hotarucms"><img src="<?php echo BASEURL; ?>content/admin_themes/<?php echo ADMIN_THEME; ?>images/rss_16.png" alt="rss" /></a>
|
|---|
| 39 | <?php echo $h->lang["admin_theme_main_latest"]; ?>
|
|---|
| 40 | </h2>
|
|---|
| 41 |
|
|---|
| 42 | <h3><?php echo $h->lang["admin_theme_main_help"]; ?></h3>
|
|---|
| 43 |
|
|---|
| 44 | <!-- Feed items, number to show content for, max characters for content -->
|
|---|
| 45 | <?php echo $h->adminNews(10, 3, 300); ?>
|
|---|
| 46 |
|
|---|
| 47 | <br/>
|
|---|
| 48 | <h2><?php echo $h->lang["admin_theme_main_join_us"]; ?></h2>
|
|---|
| 49 | </td>
|
|---|
| 50 |
|
|---|
| 51 | <td id='right'>
|
|---|
| 52 | <h2><?php echo SITE_NAME . " " . $h->lang["admin_theme_main_stats"]; ?></h2>
|
|---|
| 53 | <ul id="site-stats">
|
|---|
| 54 | <li>Hotaru CMS v.<?php echo $h->version; ?></li>
|
|---|
| 55 | <?php $h->pluginHook('admin_theme_main_stats_post_version'); ?>
|
|---|
| 56 | <?php $h->pluginHook('admin_theme_main_stats', 'users', array('Summary' => array('total_users', 'admins', 'supermods', 'moderators'))); ?>
|
|---|
| 57 | <?php $h->pluginHook('admin_theme_main_stats', 'users', array('Users' => array('approved_users', 'undermod_users', 'pending_users', 'banned_users', 'killspammed_users'))); ?>
|
|---|
| 58 | <?php $h->pluginHook('admin_theme_main_stats', 'bookmarking', array('Posts' => array('total_posts', 'approved_posts', 'pending_posts', 'buried_posts', 'archived_posts'))); ?>
|
|---|
| 59 | <?php $h->pluginHook('admin_theme_main_stats', 'comments', array('Comments' => array('total_comments', 'approved_comments', 'pending_comments', 'archived_comments'))); ?>
|
|---|
| 60 | </ul>
|
|---|
| 61 | </td>
|
|---|
| 62 |
|
|---|
| 63 | </tr>
|
|---|
| 64 | </table>
|
|---|