golden hour
/home/doctorbruno/public_html/doctorbruno.info/taeionline/support/include/staff
⬆️ Go Up
Upload
File/Folder
Size
Actions
apikey.inc.php
4.69 KB
Del
OK
apikeys.inc.php
7.6 KB
Del
OK
banlist.inc.php
8.71 KB
Del
OK
banrule.inc.php
2.96 KB
Del
OK
cannedresponse.inc.php
6.09 KB
Del
OK
cannedresponses.inc.php
8.47 KB
Del
OK
categories.inc.php
7.03 KB
Del
OK
category.inc.php
6.51 KB
Del
OK
dashboard.inc.php
6.35 KB
Del
OK
department.inc.php
22.78 KB
Del
OK
departments.inc.php
10.42 KB
Del
OK
directory.inc.php
5.95 KB
Del
OK
dynamic-form.inc.php
15.2 KB
Del
OK
dynamic-forms.inc.php
5.26 KB
Del
OK
dynamic-list.inc.php
11.12 KB
Del
OK
dynamic-lists.inc.php
4.62 KB
Del
OK
email.inc.php
10.47 KB
Del
OK
emails.inc.php
7.03 KB
Del
OK
faq-categories.inc.php
7.13 KB
Del
OK
faq-category.inc.php
3.52 KB
Del
OK
faq-view.inc.php
3.52 KB
Del
OK
faq.inc.php
10.31 KB
Del
OK
filter.inc.php
18.98 KB
Del
OK
filters.inc.php
9.47 KB
Del
OK
footer.inc.php
3.87 KB
Del
OK
header.inc.php
6.02 KB
Del
OK
helptopic.inc.php
20.78 KB
Del
OK
helptopics.inc.php
9.93 KB
Del
OK
index.php
37 B
Del
OK
login.header.php
1.37 KB
Del
OK
login.tpl.php
6.76 KB
Del
OK
org-view.inc.php
4.45 KB
Del
OK
orgs.inc.php
8.57 KB
Del
OK
page.inc.php
7.87 KB
Del
OK
pages.inc.php
7.64 KB
Del
OK
plugin-add.inc.php
1.84 KB
Del
OK
plugin-instance.inc.php
1.31 KB
Del
OK
plugin.inc.php
4.67 KB
Del
OK
plugins.inc.php
5.81 KB
Del
OK
profile.inc.php
20.72 KB
Del
OK
pwreset.login.php
1.77 KB
Del
OK
pwreset.php
1.7 KB
Del
OK
pwreset.sent.php
1.59 KB
Del
OK
queue.inc.php
15.59 KB
Del
OK
queues-ticket.inc.php
4.56 KB
Del
OK
role.inc.php
4.91 KB
Del
OK
roles.inc.php
5.5 KB
Del
OK
schedule.inc.php
4.53 KB
Del
OK
schedules.inc.php
5.34 KB
Del
OK
settings-agents.inc.php
13.15 KB
Del
OK
settings-alerts.inc.php
10.68 KB
Del
OK
settings-autoresp.inc.php
2.48 KB
Del
OK
settings-emails.inc.php
9.88 KB
Del
OK
settings-kb.inc.php
2.18 KB
Del
OK
settings-pages.inc.php
15.32 KB
Del
OK
settings-system.inc.php
22.99 KB
Del
OK
settings-tasks.inc.php
14.99 KB
Del
OK
settings-tickets.inc.php
13.7 KB
Del
OK
settings-users.inc.php
9.36 KB
Del
OK
slaplan.inc.php
5.96 KB
Del
OK
slaplans.inc.php
7.99 KB
Del
OK
staff.inc.php
21.42 KB
Del
OK
staffmembers.inc.php
12.63 KB
Del
OK
syslogs.inc.php
8.58 KB
Del
OK
system.inc.php
7.82 KB
Del
OK
task-view.inc.php
93 B
Del
OK
tasks.inc.php
17.99 KB
Del
OK
team.inc.php
8.76 KB
Del
OK
teams.inc.php
8.14 KB
Del
OK
template.inc.php
7.21 KB
Del
OK
templates
-
Del
OK
templates.inc.php
8.25 KB
Del
OK
ticket-edit.inc.php
8.62 KB
Del
OK
ticket-open.inc.php
23.7 KB
Del
OK
ticket-relations.inc.php
1.27 KB
Del
OK
ticket-tasks.inc.php
7.32 KB
Del
OK
ticket-view.inc.php
70.54 KB
Del
OK
tickets.inc.php
25.45 KB
Del
OK
tpl.inc.php
5.77 KB
Del
OK
user-view.inc.php
9.22 KB
Del
OK
users.inc.php
12.88 KB
Del
OK
Edit: dashboard.inc.php
<?php $report = new OverviewReport($_POST['start'], $_POST['period']); $plots = $report->getPlotData(); ?> <script type="text/javascript" src="js/raphael-min.js?53339df"></script> <script type="text/javascript" src="js/g.raphael.js?53339df"></script> <script type="text/javascript" src="js/g.line-min.js?53339df"></script> <script type="text/javascript" src="js/g.dot-min.js?53339df"></script> <script type="text/javascript" src="js/dashboard.inc.js?53339df"></script> <link rel="stylesheet" type="text/css" href="css/dashboard.css?53339df"/> <form method="post" action="dashboard.php"> <div id="basic_search"> <div style="min-height:25px;"> <!--<p><?php //echo __('Select the starting time and period for the system activity graph');?></p>--> <?php echo csrf_token(); ?> <label> <?php echo __( 'Report timeframe'); ?>: <input type="text" class="dp input-medium search-query" name="start" placeholder="<?php echo __('Last month');?>" value="<?php echo Format::htmlchars($report->getStartDate()); ?>" /> </label> <label> <?php echo __('period');?>: <select name="period"> <?php foreach ($report::$end_choices as $val=>$desc) echo "<option value='$val'>" . __($desc) . "</option>"; ?> </select> </label> <button class="green button action-button muted" type="submit"> <?php echo __( 'Refresh');?> </button> <i class="help-tip icon-question-sign" href="#report_timeframe"></i> </div> </div> <div class="clear"></div> <div style="margin-bottom:20px; padding-top:5px;"> <div class="pull-left flush-left"> <h2><?php echo __('Ticket Activity'); ?> <i class="help-tip icon-question-sign" href="#ticket_activity"></i></h2> </div> </div> <div class="clear"></div> <!-- Create a graph and fetch some data to create pretty dashboard --> <div style="position:relative"> <div id="line-chart-here" style="height:300px"></div> <div style="position:absolute;right:0;top:0" id="line-chart-legend"></div> </div> <hr/> <h2><?php echo __('Statistics'); ?> <i class="help-tip icon-question-sign" href="#statistics"></i></h2> <p><?php echo __('Statistics of tickets organized by department, help topic, and agent.');?></p> <p><b><?php echo __('Range: '); ?></b> <?php $range = array(); foreach ($report->getDateRange() as $date) { $date = str_ireplace('FROM_UNIXTIME(', '',$date); $date = str_ireplace(')', '',$date); $date = new DateTime('@'.$date); $date->setTimeZone(new DateTimeZone($cfg->getTimezone())); $timezone = $date->format('e'); $range[] = $date->format('F j, Y'); } echo __($range[0] . ' - ' . $range[1] . ' (' . Format::timezone($timezone) . ')'); ?> <ul class="clean tabs"> <?php $first = true; $groups = $report->enumTabularGroups(); foreach ($groups as $g=>$desc) { ?> <li class="<?php echo $first ? 'active' : ''; ?>"><a href="#<?php echo Format::slugify($g); ?>" ><?php echo Format::htmlchars($desc); ?></a></li> <?php $first = false; } ?> </ul> <?php $first = true; foreach ($groups as $g=>$desc) { $data = $report->getTabularData($g); ?> <div class="tab_content <?php echo (!$first) ? 'hidden' : ''; ?>" id="<?php echo Format::slugify($g); ?>"> <table class="dashboard-stats table"><tbody><tr> <?php foreach ($data['columns'] as $j=>$c) { ?> <th <?php if ($j === 0) echo 'width="30%" class="flush-left"'; ?>><?php echo Format::htmlchars($c); switch ($c) { case 'Opened': ?> <i class="help-tip icon-question-sign" href="#opened"></i> <?php break; case 'Assigned': ?> <i class="help-tip icon-question-sign" href="#assigned"></i> <?php break; case 'Overdue': ?> <i class="help-tip icon-question-sign" href="#overdue"></i> <?php break; case 'Closed': ?> <i class="help-tip icon-question-sign" href="#closed"></i> <?php break; case 'Reopened': ?> <i class="help-tip icon-question-sign" href="#reopened"></i> <?php break; case 'Deleted': ?> <i class="help-tip icon-question-sign" href="#deleted"></i> <?php break; case 'Service Time': ?> <i class="help-tip icon-question-sign" href="#service_time"></i> <?php break; case 'Response Time': ?> <i class="help-tip icon-question-sign" href="#response_time"></i> <?php break; } ?></th> <?php } ?> </tr></tbody> <tbody> <?php foreach ($data['data'] as $i=>$row) { echo '<tr>'; foreach ($row as $j=>$td) { if ($j === 0) { ?> <th class="flush-left"><?php echo Format::htmlchars($td); ?></th> <?php } else { ?> <td><?php echo Format::htmlchars($td); if ($td) { // TODO Add head map } echo '</td>'; } } echo '</tr>'; } $first = false; ?> </tbody></table> <div style="margin-top: 5px"><button type="submit" class="link button" name="export" value="<?php echo Format::htmlchars($g); ?>"> <i class="icon-download"></i> <?php echo __('Export'); ?></a></div> </div> <?php } ?> </form> <script> $.drawPlots(<?php echo JsonDataEncoder::encode($report->getPlotData()); ?>); // Set Selected Period For Dashboard Stats and Export <?php if ($report && $report->end) { ?> $("div#basic_search select option").each(function(){ // Remove default selection if ($(this)[0].selected) $(this).removeAttr('selected'); // Set the selected period by the option's value (periods equal // option's values) if ($(this).val() == "<?php echo $report->end; ?>") $(this).attr("selected","selected"); }); <?php } ?> </script>
Save