🚀 RELEASE: HESK v3.1.1
Signed-off-by: Luke Tainton <Luke.Tainton@mail.bcu.ac.uk>
This commit is contained in:
committed by
Luke Tainton
parent
d7fc040b1e
commit
e0d6aa511b
80
hesk/admin/module_statistics.php
Normal file
80
hesk/admin/module_statistics.php
Normal file
@@ -0,0 +1,80 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* This file is part of HESK - PHP Help Desk Software.
|
||||
*
|
||||
* (c) Copyright Klemen Stirn. All rights reserved.
|
||||
* https://www.hesk.com
|
||||
*
|
||||
* For the full copyright and license agreement information visit
|
||||
* https://www.hesk.com/eula.php
|
||||
*
|
||||
*/
|
||||
|
||||
define('IN_SCRIPT',1);
|
||||
define('HESK_PATH','../');
|
||||
|
||||
/* Get all the required files and functions */
|
||||
require(HESK_PATH . 'hesk_settings.inc.php');
|
||||
require(HESK_PATH . 'inc/common.inc.php');
|
||||
require(HESK_PATH . 'inc/admin_functions.inc.php');
|
||||
require(HESK_PATH . 'inc/reporting_functions.inc.php');
|
||||
hesk_load_database_functions();
|
||||
|
||||
hesk_session_start();
|
||||
hesk_dbConnect();
|
||||
hesk_isLoggedIn();
|
||||
|
||||
// Check permissions for this feature
|
||||
hesk_checkPermission('can_run_reports');
|
||||
|
||||
/* Print header */
|
||||
require_once(HESK_PATH . 'inc/header.inc.php');
|
||||
|
||||
/* Print main manage users page */
|
||||
require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
||||
|
||||
hesk_show_notice(sprintf($hesklang['modules_demo'], '<a href="https://www.hesk.com/get/hesk3-statistics">HESK Cloud</a>'), ' ', false);
|
||||
?>
|
||||
<div class="main__content reports">
|
||||
<form action="module_statistics.php" method="get" name="form1">
|
||||
<div class="reports__head">
|
||||
<h2>
|
||||
<?php echo $hesklang['statistics']['tab']; ?>
|
||||
<div class="tooltype right out-close">
|
||||
<svg class="icon icon-info">
|
||||
<use xlink:href="<?php echo HESK_PATH; ?>img/sprite.svg#icon-info"></use>
|
||||
</svg>
|
||||
<div class="tooltype__content">
|
||||
<div class="tooltype__wrapper">
|
||||
<?php echo $hesklang['statistics']['intro']; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</h2>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<p><?php echo $hesklang['statistics']['intro']; ?></p>
|
||||
|
||||
<ul style="list-style-type: disc ! important; padding-left: 40px ! important; margin-top: 20px; margin-bottom: 20px;">
|
||||
<li><?php echo $hesklang['statistics']['pie_title_ro']; ?>,</li>
|
||||
<li><?php echo $hesklang['statistics']['pie_title_so']; ?>,</li>
|
||||
<li><?php echo $hesklang['statistics']['chart_title_md']; ?>,</li>
|
||||
<li><?php echo $hesklang['statistics']['chart_title_wd']; ?>,</li>
|
||||
<li><?php echo $hesklang['statistics']['chart_title_hd']; ?>,</li>
|
||||
<li><?php echo $hesklang['statistics']['chart_title_tfr']; ?>,</li>
|
||||
<li><?php echo $hesklang['statistics']['chart_title_ttr']; ?>,</li>
|
||||
<li><?php echo $hesklang['statistics']['chart_title_srt']; ?>,</li>
|
||||
<li><?php echo $hesklang['and_more']; ?></li>
|
||||
</ul>
|
||||
|
||||
<p><?php echo sprintf($hesklang['see_demo'], '<a href="https://www.hesk.com/get/hesk3-statistics-demo">HESK Demo</a>'); ?></p>
|
||||
|
||||
<img src="<?php echo HESK_PATH; ?>img/statistics.jpg" alt="<?php echo $hesklang['statistics']['tab']; ?>" style="margin-top:35px;">
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
require_once(HESK_PATH . 'inc/footer.inc.php');
|
||||
exit();
|
||||
Reference in New Issue
Block a user