Initial commit: Kimai TMS

Kimai time management system (PHP 5.6 / MySQL) with custom extensions:
- Budget tracking (ki_budget)
- Change request form (ki_changerequest)
- Invoice generation (ki_invoice)
- Expense tracking (ki_expenses)
- Flexi time (ki_flexitime)
- Export, admin panel, timesheets, tasks, summary

Database: ~900K time entries, 2,000+ users, 439 projects.
Config: includes/autoconf.php — localhost/kimai/kimai
This commit is contained in:
TMS
2026-06-18 21:20:26 +00:00
commit eb299c9131
1099 changed files with 359817 additions and 0 deletions

View File

@@ -0,0 +1,139 @@
<?php /* Smarty version 2.6.20, created on 2015-01-21 09:05:35
compiled from export_PDF.tpl */ ?>
<?php echo '
<script type="text/javascript">
$(document).ready(function() {
$(\'#help\').hide();
$(\'#floater input#timeformat\').attr(\'value\',$(\'#xp_ext_timeformat\').attr(\'value\'));
$(\'#floater input#dateformat\').attr(\'value\',$(\'#xp_ext_dateformat\').attr(\'value\'));
$(\'#floater input#default_location\').attr(\'value\',$(\'#xp_ext_default_location\').attr(\'value\'));
$(\'#floater input#axValue\').attr(\'value\',filterUsr.join(":")+\'|\'+filterKnd.join(":")+\'|\'+filterPct.join(":")+\'|\'+filterEvt.join(":"));
$(\'#floater input#filter_cleared\').attr(\'value\',$(\'#xp_ext_tab_filter_cleared\').attr(\'value\'));
$(\'#floater input#filter_refundable\').attr(\'value\',$(\'#xp_ext_tab_filter_refundable\').attr(\'value\'));
$(\'#floater input#filter_type\').attr(\'value\',$(\'#xp_ext_tab_filter_type\').attr(\'value\'));
$(\'#floater input#axColumns\').attr(\'value\',xp_enabled_columns());
$(\'.floater_content fieldset label\').css(\'width\',\'200px\');
$(\'#floater input#first_day\').attr(\'value\',new Date($(\'#pick_in\').val()).getTime()/1000);
$(\'#floater input#last_day\').attr(\'value\',new Date($(\'#pick_out\').val()).getTime()/1000);
});
</script>
'; ?>
<div id="floater_innerwrap">
<div id="floater_handle">
<span id="floater_title"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['exportPDF']; ?>
</span>
<div class="right">
<a href="#" class="close" onClick="floaterClose();"><?php echo $this->_tpl_vars['kga']['lang']['close']; ?>
</a>
</div>
</div>
<div id="help">
<div class="content">
</div>
</div>
<div class="floater_content">
<form id="xp_ext_form_export_PDF" action="../extensions/ki_export/processor.php" method="post" target="_blank">
<fieldset>
<ul>
<li>
<label for="print_comments"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['print_comment']; ?>
:</label>
<input type="checkbox" value="true" name="print_comments" id="print_comments" <?php if ($this->_tpl_vars['prefs']['print_comments']): ?>checked="checked"<?php endif; ?>/>
</li>
<li>
<label for="print_summary"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['print_summary']; ?>
:</label>
<input type="checkbox" value="true" name="print_summary" id="print_summary" <?php if ($this->_tpl_vars['prefs']['print_summary']): ?>checked="checked"<?php endif; ?>>
</li>
<li>
<label for="create_bookmarks"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['create_bookmarks']; ?>
:</label>
<input type="checkbox" value="true" name="create_bookmarks" id="create_bookmarks" <?php if ($this->_tpl_vars['prefs']['create_bookmarks']): ?>checked="checked"<?php endif; ?>/>
</li>
<li>
<label for="download_pdf"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['download_pdf']; ?>
:</label>
<input type="checkbox" value="true" name="download_pdf" id="download_pdf" <?php if ($this->_tpl_vars['prefs']['download_pdf']): ?>checked="checked"<?php endif; ?>/>
</li>
<li>
<label for="customer_new_page"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['customer_new_page']; ?>
:</label>
<input type="checkbox" value="true" name="customer_new_page" id="customer_new_page" <?php if ($this->_tpl_vars['prefs']['customer_new_page']): ?>checked="checked"<?php endif; ?>/>
</li>
<li>
<label for="reverse_order"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['reverse_order']; ?>
:</label>
<input type="checkbox" value="true" name="reverse_order" id="reverse_order" <?php if ($this->_tpl_vars['prefs']['reverse_order']): ?>checked="checked"<?php endif; ?>/>
</li>
<li>
<label for="reverse_order"><?php echo $this->_tpl_vars['kga']['lang']['comment']; ?>
:</label>
<textarea name="document_comment" id="document_comment"></textarea>
</li>
<li>
<label for="axAction"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['pdf_format']; ?>
:</label>
<select name="axAction" id="axAction">
<option value="export_pdf" <?php if ($this->_tpl_vars['prefs']['pdf_format'] == 'export_pdf'): ?>selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['export_pdf']; ?>
</option>
<option value="export_pdf2" <?php if ($this->_tpl_vars['prefs']['pdf_format'] == 'export_pdf2'): ?>selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['export_pdf2']; ?>
</option>
</select>
</li>
<li>
<?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['dl_hint']; ?>
</li>
</ul>
<!-- <input name="id" type="hidden" value="" /> -->
<input name="axValue" id="axValue" type="hidden" value="" />
<input name="first_day" id="first_day" type="hidden" value="" />
<input name="last_day" id="last_day" type="hidden" value="" />
<input name="axColumns" id="axColumns" type="hidden" value=""/>
<input name="timeformat" id="timeformat" type="hidden" value=""/>
<input name="dateformat" id="dateformat" type="hidden" value=""/>
<input name="default_location" id="default_location" type="hidden" value=""/>
<input name="filter_cleared" id="filter_cleared" type="hidden" value=""/>
<input name="filter_refundable" id="filter_refundable" type="hidden" value=""/>
<input name="filter_type" id="filter_type" type="hidden" value=""/>
<div id="formbuttons">
<input class='btn_norm' type='button' value='<?php echo $this->_tpl_vars['kga']['lang']['cancel']; ?>
' onClick='floaterClose(); return false;' />
<input class='btn_ok' type='submit' value='<?php echo $this->_tpl_vars['kga']['lang']['submit']; ?>
' onClick="floaterClose();"/>
</div>
</fieldset>
</form>
</div>
</div>

View File

@@ -0,0 +1,457 @@
<?php /* Smarty version 2.6.20, created on 2015-02-13 13:25:17
compiled from table.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'table.tpl', 1, false),array('modifier', 'date_format', 'table.tpl', 53, false),array('modifier', 'escape', 'table.tpl', 62, false),array('modifier', 'replace', 'table.tpl', 137, false),array('modifier', 'nl2br', 'table.tpl', 211, false),)), $this); ?>
<?php echo smarty_function_cycle(array('values' => "odd,even",'reset' => true,'print' => false), $this);?>
<?php if ($this->_tpl_vars['arr_data']): ?>
<div id="xptable">
<table>
<colgroup>
<col class="date" />
<col class="from" />
<col class="to" />
<col class="time" />
<col class="dec_time" />
<col class="rate" />
<col class="wage" />
<col class="client" />
<col class="division" />
<col class="project" />
<col class="action" />
<col class="comment" />
<col class="location" />
<col class="trackingnr" />
<col class="user" />
<col class="cleared" />
</colgroup>
<tbody>
<?php $this->assign('day_buffer', '0'); ?>
<?php $this->assign('time_in_buffer', 0); ?>
<?php unset($this->_sections['row']);
$this->_sections['row']['name'] = 'row';
$this->_sections['row']['loop'] = is_array($_loop=$this->_tpl_vars['arr_data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['row']['show'] = true;
$this->_sections['row']['max'] = $this->_sections['row']['loop'];
$this->_sections['row']['step'] = 1;
$this->_sections['row']['start'] = $this->_sections['row']['step'] > 0 ? 0 : $this->_sections['row']['loop']-1;
if ($this->_sections['row']['show']) {
$this->_sections['row']['total'] = $this->_sections['row']['loop'];
if ($this->_sections['row']['total'] == 0)
$this->_sections['row']['show'] = false;
} else
$this->_sections['row']['total'] = 0;
if ($this->_sections['row']['show']):
for ($this->_sections['row']['index'] = $this->_sections['row']['start'], $this->_sections['row']['iteration'] = 1;
$this->_sections['row']['iteration'] <= $this->_sections['row']['total'];
$this->_sections['row']['index'] += $this->_sections['row']['step'], $this->_sections['row']['iteration']++):
$this->_sections['row']['rownum'] = $this->_sections['row']['iteration'];
$this->_sections['row']['index_prev'] = $this->_sections['row']['index'] - $this->_sections['row']['step'];
$this->_sections['row']['index_next'] = $this->_sections['row']['index'] + $this->_sections['row']['step'];
$this->_sections['row']['first'] = ($this->_sections['row']['iteration'] == 1);
$this->_sections['row']['last'] = ($this->_sections['row']['iteration'] == $this->_sections['row']['total']);
?>
<tr id="xp<?php echo $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['type']; ?>
<?php echo $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['id']; ?>
" class="<?php echo smarty_function_cycle(array('values' => "odd,even"), $this);?>
<?php if (! $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out']): ?>active<?php endif; ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['type'] == 'exp'): ?>expense<?php endif; ?>">
<td class="date
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['date']): ?>disabled<?php endif; ?>
">
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['dateformat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['dateformat'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<td class="from
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['from']): ?>disabled<?php endif; ?>
">
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['timeformat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['timeformat'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<td class="to
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['to']): ?>disabled<?php endif; ?>
">
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out']): ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['timeformat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['timeformat'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php else: ?>
&ndash;&ndash;:&ndash;&ndash;
<?php endif; ?>
</td>
<td class="time
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['time']): ?>disabled<?php endif; ?>
">
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['zef_time']): ?>
<?php echo $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['zef_duration']; ?>
<?php else: ?>
&ndash;:&ndash;&ndash;
<?php endif; ?>
</td>
<td class="dec_time
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['dec_time']): ?>disabled<?php endif; ?>
">
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['dec_zef_time']): ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['dec_zef_time'])) ? $this->_run_mod_handler('replace', true, $_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator']) : smarty_modifier_replace($_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php else: ?>
&ndash;:&ndash;&ndash;
<?php endif; ?>
</td>
<td class="rate
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['rate']): ?>disabled<?php endif; ?>
">
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['zef_rate'])) ? $this->_run_mod_handler('replace', true, $_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator']) : smarty_modifier_replace($_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<td class="wage
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['wage']): ?>disabled<?php endif; ?>
">
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['wage']): ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['wage'])) ? $this->_run_mod_handler('replace', true, $_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator']) : smarty_modifier_replace($_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php else: ?>
&ndash;
<?php endif; ?>
</td>
<td class="knd
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['knd']): ?>disabled<?php endif; ?>
">
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['knd_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<td class="division
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['division']): ?>disabled<?php endif; ?>
">
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['division'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</td>
<td class="pct
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['pct']): ?>disabled<?php endif; ?>
">
<a href ="#" class="preselect_lnk"
onClick="buzzer_preselect('pct',<?php echo $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['pct_ID']; ?>
,'<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['pct_name'])) ? $this->_run_mod_handler('replace', true, $_tmp, "'", "\\'") : smarty_modifier_replace($_tmp, "'", "\\'")))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
',<?php echo $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['pct_kndID']; ?>
,'<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['knd_name'])) ? $this->_run_mod_handler('replace', true, $_tmp, "'", "\\'") : smarty_modifier_replace($_tmp, "'", "\\'")))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
');
return false;">
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['pct_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php if ($this->_tpl_vars['kga']['conf']['pct_comment_flag'] == 1): ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['pct_comment']): ?>
<span class="lighter">(<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['pct_comment'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
)</span>
<?php endif; ?>
<?php endif; ?>
</a>
</td>
<td class="evt
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['evt']): ?>disabled<?php endif; ?>
">
<a href ="#" class="preselect_lnk"
onClick="buzzer_preselect('evt',<?php echo $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['zef_evtID']; ?>
,'<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['evt_name'])) ? $this->_run_mod_handler('replace', true, $_tmp, "'", "\\'") : smarty_modifier_replace($_tmp, "'", "\\'")))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
',0,0);
return false;">
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['evt_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</a>
</td>
<td class="comment
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['comment']): ?>disabled<?php endif; ?>
">
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['comment'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</td>
<td class="location
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['location']): ?>disabled<?php endif; ?>
">
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['location'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<td class="trackingnr
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['trackingnr']): ?>disabled<?php endif; ?>
">
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['trackingnr'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<td class="user
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['user']): ?>disabled<?php endif; ?>
">
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['username'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<td class="cleared
<?php if (((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d")) != $this->_tpl_vars['day_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_daySeperatorLines']): ?>break_day<?php endif; ?>
<?php else: ?>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'] != $this->_tpl_vars['time_in_buffer']): ?>
<?php if ($this->_tpl_vars['kga']['show_gabBreaks']): ?>break_gap<?php endif; ?>
<?php endif; ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['disabled_columns']['cleared']): ?>disabled<?php endif; ?>
">
<a class ="<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['cleared']): ?>is_cleared<?php else: ?>isnt_cleared<?php endif; ?>" href ="#" onClick="xp_toggle_cleared('<?php echo $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['type']; ?>
<?php echo $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['id']; ?>
'); return false;"></a>
</td>
</tr>
<?php $this->assign('day_buffer', ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%d") : smarty_modifier_date_format($_tmp, "%d"))); ?>
<?php $this->assign('time_in_buffer', $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in']); ?>
<?php endfor; endif; ?>
</tbody>
</table>
</div>
<?php else: ?>
<div style='padding:5px;color:#f00'>
<strong><?php echo $this->_tpl_vars['kga']['lang']['noEntries']; ?>
</strong>
</div>
<?php endif; ?>
<script type="text/javascript">
ts_usr_ann = null;
ts_knd_ann = null;
ts_pct_ann = null;
ts_evt_ann = null;
ts_total = '<?php echo $this->_tpl_vars['total']; ?>
';
<?php if ($this->_tpl_vars['usr_ann']): ?>
ts_usr_ann = new Array();
<?php $_from = $this->_tpl_vars['usr_ann']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['value']):
?>
ts_usr_ann[<?php echo $this->_tpl_vars['id']; ?>
] = '<?php echo $this->_tpl_vars['value']; ?>
';
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['knd_ann']): ?>
ts_knd_ann = new Array();
<?php $_from = $this->_tpl_vars['knd_ann']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['value']):
?>
ts_knd_ann[<?php echo $this->_tpl_vars['id']; ?>
] = '<?php echo $this->_tpl_vars['value']; ?>
';
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['pct_ann']): ?>
ts_pct_ann = new Array();
<?php $_from = $this->_tpl_vars['pct_ann']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['value']):
?>
ts_pct_ann[<?php echo $this->_tpl_vars['id']; ?>
] = '<?php echo $this->_tpl_vars['value']; ?>
';
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['evt_ann']): ?>
ts_evt_ann = new Array();
<?php $_from = $this->_tpl_vars['evt_ann']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
foreach ($_from as $this->_tpl_vars['id'] => $this->_tpl_vars['value']):
?>
ts_evt_ann[<?php echo $this->_tpl_vars['id']; ?>
] = '<?php echo $this->_tpl_vars['value']; ?>
';
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>
<?php echo '
lists_update_annotations(parseInt($(\'#gui div.ki_export\').attr(\'id\').substring(7)),ts_usr_ann,ts_knd_ann,ts_pct_ann,ts_evt_ann);
$(\'#display_total\').html(ts_total);
'; ?>
</script>

View File

@@ -0,0 +1,110 @@
<?php /* Smarty version 2.6.20, created on 2015-01-23 16:04:42
compiled from export_CSV.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'export_CSV.tpl', 50, false),)), $this); ?>
<?php echo '
<script type="text/javascript">
$(document).ready(function() {
$(\'#help\').hide();
$(\'#floater input#timeformat\').attr(\'value\',$(\'#xp_ext_timeformat\').attr(\'value\'));
$(\'#floater input#dateformat\').attr(\'value\',$(\'#xp_ext_dateformat\').attr(\'value\'));
$(\'#floater input#default_location\').attr(\'value\',$(\'#default_location\').attr(\'value\'));
$(\'#floater input#axValue\').attr(\'value\',filterUsr.join(":")+\'|\'+filterKnd.join(":")+\'|\'+filterPct.join(":")+\'|\'+filterEvt.join(":"));
$(\'#floater input#filter_cleared\').attr(\'value\',$(\'#xp_ext_tab_filter_cleared\').attr(\'value\'));
$(\'#floater input#filter_refundable\').attr(\'value\',$(\'#xp_ext_tab_filter_refundable\').attr(\'value\'));
$(\'#floater input#filter_type\').attr(\'value\',$(\'#xp_ext_tab_filter_type\').attr(\'value\'));
$(\'#floater input#axColumns\').attr(\'value\',xp_enabled_columns());
$(\'.floater_content fieldset label\').css(\'width\',\'200px\');
$(\'#floater input#first_day\').attr(\'value\',new Date($(\'#pick_in\').val()).getTime()/1000);
$(\'#floater input#last_day\').attr(\'value\',new Date($(\'#pick_out\').val()).getTime()/1000);
});
</script>
'; ?>
<div id="floater_innerwrap">
<div id="floater_handle">
<span id="floater_title"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['exportCSV']; ?>
</span>
<div class="right">
<a href="#" class="close" onClick="floaterClose();"><?php echo $this->_tpl_vars['kga']['lang']['close']; ?>
</a>
</div>
</div>
<div id="help">
<div class="content">
</div>
</div>
<div class="floater_content">
<form id="xp_ext_form_export_CSV" action="../extensions/ki_export/processor.php" method="post">
<fieldset>
<ul>
<li>
<label for="column_delimiter"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['column_delimiter']; ?>
:</label>
<input type="text" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['prefs']['column_delimiter'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" name="column_delimiter" id="column_delimiter" size="1"/>
</li>
<li>
<label for="quote_char"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['quote_char']; ?>
:</label>
<input type="text" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['prefs']['quote_char'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" name="quote_char" id="quote_char" size="1">
</li>
<li>
<label for="reverse_order"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['reverse_order']; ?>
:</label>
<input type="checkbox" value="true" name="reverse_order" id="reverse_order"/>
</li>
<li>
<?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['dl_hint']; ?>
</li>
</ul>
<!-- <input name="id" type="hidden" value="" /> -->
<input name="axAction" type="hidden" value="export_csv" />
<input name="axValue" id="axValue" type="hidden" value="" />
<input name="first_day" id="first_day" type="hidden" value="" />
<input name="last_day" id="last_day" type="hidden" value="" />
<input name="axColumns" id="axColumns" type="hidden" value=""/>
<input name="timeformat" id="timeformat" type="hidden" value=""/>
<input name="dateformat" id="dateformat" type="hidden" value=""/>
<input name="default_location" id="default_location" type="hidden" value=""/>
<input name="filter_cleared" id="filter_cleared" type="hidden" value=""/>
<input name="filter_refundable" id="filter_refundable" type="hidden" value=""/>
<input name="filter_type" id="filter_type" type="hidden" value=""/>
<div id="formbuttons">
<input class='btn_norm' type='button' value='<?php echo $this->_tpl_vars['kga']['lang']['cancel']; ?>
' onClick='floaterClose(); return false;' />
<input class='btn_ok' type='submit' value='<?php echo $this->_tpl_vars['kga']['lang']['submit']; ?>
' onClick="floaterClose();"/>
</div>
</fieldset>
</form>
</div>
</div>

View File

@@ -0,0 +1,59 @@
<?php /* Smarty version 2.6.20, created on 2015-07-03 11:43:13
compiled from help_timeformat.tpl */ ?>
<div id="floater_innerwrap">
<div id="floater_handle">
<span id="floater_title"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['export_timeformat_help']; ?>
</span>
<div class="right">
<a href="#" class="close" onClick="floaterClose();"><?php echo $this->_tpl_vars['kga']['lang']['close']; ?>
</a>
</div>
</div>
<div class="floater_content">
<table class="xp_time_help_table">
<tr> <td class="xp_time_shortcut">a</td> <td class="xp_time_description">abbreviated weekday name according to the current locale</td> </tr>
<tr> <td class="xp_time_shortcut">A</td> <td class="xp_time_description">full weekday name according to the current locale</td> </tr>
<tr> <td class="xp_time_shortcut">b</td> <td class="xp_time_description">abbreviated month name according to the current locale</td> </tr>
<tr> <td class="xp_time_shortcut">B</td> <td class="xp_time_description">full month name according to the current locale</td> </tr>
<tr> <td class="xp_time_shortcut">c</td> <td class="xp_time_description">preferred date and time representation for the current locale</td> </tr>
<tr> <td class="xp_time_shortcut">C</td> <td class="xp_time_description">century number (the year divided by 100 and truncated to an integer, range 00 to 99)</td> </tr>
<tr> <td class="xp_time_shortcut">d</td> <td class="xp_time_description">day of the month as a decimal number (range 01 to 31)</td> </tr>
<tr> <td class="xp_time_shortcut">D</td> <td class="xp_time_description">same as m/d/y</td> </tr>
<tr> <td class="xp_time_shortcut">e</td> <td class="xp_time_description">day of the month as a decimal number, a single digit is preceded by a space (range 1 to 31)</td> </tr>
<tr> <td class="xp_time_shortcut">g</td> <td class="xp_time_description">Week-based year within century [00,99]</td> </tr>
<tr> <td class="xp_time_shortcut">G</td> <td class="xp_time_description">Week-based year, including the century [0000,9999]</td> </tr>
<tr> <td class="xp_time_shortcut">h</td> <td class="xp_time_description">same as b</td> </tr>
<tr> <td class="xp_time_shortcut">H</td> <td class="xp_time_description">hour as a decimal number using a 24-hour clock (range 00 to 23)</td> </tr>
<tr> <td class="xp_time_shortcut">I</td> <td class="xp_time_description">hour as a decimal number using a 12-hour clock (range 01 to 12)</td> </tr>
<tr> <td class="xp_time_shortcut">j</td> <td class="xp_time_description">day of the year as a decimal number (range 001 to 366)</td> </tr>
<tr> <td class="xp_time_shortcut">k</td> <td class="xp_time_description">Hour (24-hour clock) single digits are preceded by a blank. (range 0 to 23)</td> </tr>
<tr> <td class="xp_time_shortcut">l</td> <td class="xp_time_description">hour as a decimal number using a 12-hour clock, single digits preceeded by a space (range 1 to 12)</td> </tr>
<tr> <td class="xp_time_shortcut">m</td> <td class="xp_time_description">month as a decimal number (range 01 to 12)</td> </tr>
<tr> <td class="xp_time_shortcut">M</td> <td class="xp_time_description">minute as a decimal number</td> </tr>
<tr> <td class="xp_time_shortcut">n</td> <td class="xp_time_description">newline character</td> </tr>
<tr> <td class="xp_time_shortcut">p</td> <td class="xp_time_description"> either `am' or `pm' according to the given time value, or the corresponding strings for the current locale</td> </tr>
<tr> <td class="xp_time_shortcut">r</td> <td class="xp_time_description">time in a.m. and p.m. notation</td> </tr>
<tr> <td class="xp_time_shortcut">R</td> <td class="xp_time_description">time in 24 hour notation</td> </tr>
<tr> <td class="xp_time_shortcut">S</td> <td class="xp_time_description">second as a decimal number</td> </tr>
<tr> <td class="xp_time_shortcut">t</td> <td class="xp_time_description">tab character</td> </tr>
<tr> <td class="xp_time_shortcut">T</td> <td class="xp_time_description">current time, equal to H:M:S</td> </tr>
<tr> <td class="xp_time_shortcut">u</td> <td class="xp_time_description">weekday as a decimal number [1,7], with 1 representing Monday</td> </tr>
<tr> <td class="xp_time_shortcut">U</td> <td class="xp_time_description">week number of the current year as a decimal number, starting with the first Sunday as the first day of the first week</td> </tr>
<tr> <td class="xp_time_shortcut">V</td> <td class="xp_time_description">The ISO 8601:1988 week number of the current year as a decimal number, range 01 to 53, where week
1 is the first week that has at least 4 days in the current year, and with Monday as the first day of the week.</td> </tr>
<tr> <td class="xp_time_shortcut">w</td> <td class="xp_time_description">day of the week as a decimal, Sunday being 0</td> </tr>
<tr> <td class="xp_time_shortcut">W</td> <td class="xp_time_description">week number of the current year as a decimal number, starting with the first Monday
as the first day of the first week</td> </tr>
<tr> <td class="xp_time_shortcut">x</td> <td class="xp_time_description">preferred date representation for the current locale without the time</td> </tr>
<tr> <td class="xp_time_shortcut">X</td> <td class="xp_time_description">preferred time representation for the current locale without the date</td> </tr>
<tr> <td class="xp_time_shortcut">y</td> <td class="xp_time_description">year as a decimal number without a century (range 00 to 99)</td> </tr>
<tr> <td class="xp_time_shortcut">Y</td> <td class="xp_time_description">year as a decimal number including the century</td> </tr>
<tr> <td class="xp_time_shortcut">Z</td> <td class="xp_time_description">time zone or name or abbreviation</td> </tr>
</table>
</div>
</div>

View File

@@ -0,0 +1,100 @@
<?php /* Smarty version 2.6.20, created on 2015-01-21 09:31:05
compiled from export_XLS.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'export_XLS.tpl', 49, false),)), $this); ?>
<?php echo '
<script type="text/javascript">
$(document).ready(function() {
$(\'#help\').hide();
$(\'#floater input#timeformat\').attr(\'value\',$(\'#xp_ext_timeformat\').attr(\'value\'));
$(\'#floater input#dateformat\').attr(\'value\',$(\'#xp_ext_dateformat\').attr(\'value\'));
$(\'#floater input#default_location\').attr(\'value\',$(\'#default_location\').attr(\'value\'));
$(\'#floater input#axValue\').attr(\'value\',filterUsr.join(":")+\'|\'+filterKnd.join(":")+\'|\'+filterPct.join(":")+\'|\'+filterEvt.join(":"));
$(\'#floater input#filter_cleared\').attr(\'value\',$(\'#xp_ext_tab_filter_cleared\').attr(\'value\'));
$(\'#floater input#filter_refundable\').attr(\'value\',$(\'#xp_ext_tab_filter_refundable\').attr(\'value\'));
$(\'#floater input#filter_type\').attr(\'value\',$(\'#xp_ext_tab_filter_type\').attr(\'value\'));
$(\'#floater input#axColumns\').attr(\'value\',xp_enabled_columns());
$(\'.floater_content fieldset label\').css(\'width\',\'200px\');
$(\'#floater input#first_day\').attr(\'value\',new Date($(\'#pick_in\').val()).getTime()/1000);
$(\'#floater input#last_day\').attr(\'value\',new Date($(\'#pick_out\').val()).getTime()/1000);
});
</script>
'; ?>
<div id="floater_innerwrap">
<div id="floater_handle">
<span id="floater_title"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['exportXLS']; ?>
</span>
<div class="right">
<a href="#" class="close" onClick="floaterClose();"><?php echo $this->_tpl_vars['kga']['lang']['close']; ?>
</a>
</div>
</div>
<div id="help">
<div class="content">
</div>
</div>
<div class="floater_content">
<form id="xp_ext_form_export_XLS" action="../extensions/ki_export/processor.php" method="post">
<fieldset>
<ul>
<li>
<label for="decimal_separator"><?php echo $this->_tpl_vars['kga']['lang']['decimal_separator']; ?>
:</label>
<input type="text" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['kga']['conf']['decimalSeparator'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" name="decimal_separator" id="decimal-separator" size="1"/>
</li>
<li>
<label for="reverse_order"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['reverse_order']; ?>
:</label>
<input type="checkbox" value="true" name="reverse_order" id="reverse_order" <?php if ($this->_tpl_vars['prefs']['reverse_order']): ?>checked="checked"<?php endif; ?>/>
</li>
<li>
<?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['dl_hint']; ?>
</li>
</ul>
<input name="axAction" type="hidden" value="export_xls" />
<input name="axValue" id="axValue" type="hidden" value="" />
<input name="first_day" id="first_day" type="hidden" value="" />
<input name="last_day" id="last_day" type="hidden" value="" />
<input name="axColumns" id="axColumns" type="hidden" value=""/>
<input name="timeformat" id="timeformat" type="hidden" value=""/>
<input name="dateformat" id="dateformat" type="hidden" value=""/>
<input name="default_location" id="default_location" type="hidden" value=""/>
<input name="filter_cleared" id="filter_cleared" type="hidden" value=""/>
<input name="filter_refundable" id="filter_refundable" type="hidden" value=""/>
<input name="filter_type" id="filter_type" type="hidden" value=""/>
<div id="formbuttons">
<input class='btn_norm' type='button' value='<?php echo $this->_tpl_vars['kga']['lang']['cancel']; ?>
' onClick='floaterClose(); return false;' />
<input class='btn_ok' type='submit' value='<?php echo $this->_tpl_vars['kga']['lang']['submit']; ?>
' onClick="floaterClose();"/>
</div>
</fieldset>
</form>
</div>
</div>

View File

@@ -0,0 +1,77 @@
<?php /* Smarty version 2.6.20, created on 2015-02-13 11:07:39
compiled from main.tpl */ ?>
<?php echo '
<script type="text/javascript">
$(document).ready(function() {
xp_ext_onload();
});
</script>
'; ?>
<div id="xp_head">
<div class="right">
<a href="#" onClick="$('#xptable td.cleared>a').click(); return false;">invert</a>
</div>
<table>
<colgroup>
<col class="date" />
<col class="from" />
<col class="to" />
<col class="time" />
<col class="dec_time" />
<col class="rate" />
<col class="wage" />
<col class="knd" />
<col class="division" />
<col class="pct" />
<col class="evt" />
<col class="comment" />
<col class="location" />
<col class="trackingnr" />
<col class="user" />
</colgroup>
<tbody>
<tr>
<td class="date <?php if ($this->_tpl_vars['disabled_columns']['date']): ?>disabled<?php endif; ?>"><a onClick="xp_toggle_column('date');"><?php echo $this->_tpl_vars['kga']['lang']['datum']; ?>
</a></td>
<td class="from <?php if ($this->_tpl_vars['disabled_columns']['from']): ?>disabled<?php endif; ?>"><a onClick="xp_toggle_column('from');"><?php echo $this->_tpl_vars['kga']['lang']['in']; ?>
</a></td>
<td class="to <?php if ($this->_tpl_vars['disabled_columns']['to']): ?>disabled<?php endif; ?>"><a onClick="xp_toggle_column('to');"><?php echo $this->_tpl_vars['kga']['lang']['out']; ?>
</a></td>
<td class="time <?php if ($this->_tpl_vars['disabled_columns']['time']): ?>disabled<?php endif; ?>"><a onClick="xp_toggle_column('time');"><?php echo $this->_tpl_vars['kga']['lang']['time']; ?>
</a></td>
<td class="dec_time <?php if ($this->_tpl_vars['disabled_columns']['dec_time']): ?>disabled<?php endif; ?>"><a onClick="xp_toggle_column('dec_time');"><?php echo $this->_tpl_vars['kga']['lang']['timelabel']; ?>
</a></td>
<td class="rate"><a class="rate <?php if ($this->_tpl_vars['disabled_columns']['rate']): ?>disabled<?php endif; ?>" onClick="xp_toggle_column('rate');"><?php echo $this->_tpl_vars['kga']['lang']['rate_short']; ?>
</a></td>
<td class="wage"><a class="wage <?php if ($this->_tpl_vars['disabled_columns']['wage']): ?>disabled<?php endif; ?>" onClick="xp_toggle_column('wage');"><?php echo $this->_tpl_vars['kga']['lang']['total']; ?>
</a></td>
<td class="knd <?php if ($this->_tpl_vars['disabled_columns']['knd']): ?>disabled<?php endif; ?>"><a onClick="xp_toggle_column('knd');"><?php echo $this->_tpl_vars['kga']['lang']['knd']; ?>
</a></td>
<td class="division <?php if ($this->_tpl_vars['disabled_columns']['division']): ?>disabled<?php endif; ?>"><a onClick="xp_toggle_column('division');">Division</a></td>
<td class="pct <?php if ($this->_tpl_vars['disabled_columns']['pct']): ?>disabled<?php endif; ?>"><a onClick="xp_toggle_column('pct');"><?php echo $this->_tpl_vars['kga']['lang']['pct']; ?>
</a></td>
<td class="evt <?php if ($this->_tpl_vars['disabled_columns']['evt']): ?>disabled<?php endif; ?>"><a onClick="xp_toggle_column('evt');"><?php echo $this->_tpl_vars['kga']['lang']['evt']; ?>
</a></td>
<td class="moreinfo" colspan="3">
<a class="comment <?php if ($this->_tpl_vars['disabled_columns']['comment']): ?>disabled<?php endif; ?>" onClick="xp_toggle_column('comment');"><?php echo $this->_tpl_vars['kga']['lang']['comment']; ?>
</a>,
<a class="location <?php if ($this->_tpl_vars['disabled_columns']['location']): ?>disabled<?php endif; ?>" onClick="xp_toggle_column('location');"><?php echo $this->_tpl_vars['kga']['lang']['zlocation']; ?>
</a>,
<a class="trackingnr <?php if ($this->_tpl_vars['disabled_columns']['trackingnr']): ?>disabled<?php endif; ?>" onClick="xp_toggle_column('trackingnr');"><?php echo $this->_tpl_vars['kga']['lang']['trackingnr']; ?>
</a>
</td>
<td class="user <?php if ($this->_tpl_vars['disabled_columns']['user']): ?>disabled<?php endif; ?>"><a onClick="xp_toggle_column('user');"><?php echo $this->_tpl_vars['kga']['lang']['username']; ?>
</a></td>
</tr>
</tbody>
</table>
</div>
<div id="xp"><?php echo $this->_tpl_vars['table_display']; ?>
</div>

View File

@@ -0,0 +1,93 @@
<?php /* Smarty version 2.6.20, created on 2015-01-21 09:08:58
compiled from print.tpl */ ?>
<?php echo '
<script type="text/javascript">
$(document).ready(function() {
$(\'#help\').hide();
$(\'#floater input#timeformat\').attr(\'value\',$(\'#xp_ext_timeformat\').attr(\'value\'));
$(\'#floater input#dateformat\').attr(\'value\',$(\'#xp_ext_dateformat\').attr(\'value\'));
$(\'#floater input#default_location\').attr(\'value\',$(\'#default_location\').attr(\'value\'));
$(\'#floater input#axValue\').attr(\'value\',filterUsr.join(":")+\'|\'+filterKnd.join(":")+\'|\'+filterPct.join(":")+\'|\'+filterEvt.join(":"));
$(\'#floater input#filter_cleared\').attr(\'value\',$(\'#xp_ext_tab_filter_cleared\').attr(\'value\'));
$(\'#floater input#filter_refundable\').attr(\'value\',$(\'#xp_ext_tab_filter_refundable\').attr(\'value\'));
$(\'#floater input#filter_type\').attr(\'value\',$(\'#xp_ext_tab_filter_type\').attr(\'value\'));
$(\'#floater input#axColumns\').attr(\'value\',xp_enabled_columns());
$(\'.floater_content fieldset label\').css(\'width\',\'200px\');
$(\'#floater input#first_day\').attr(\'value\',new Date($(\'#pick_in\').val()).getTime()/1000);
$(\'#floater input#last_day\').attr(\'value\',new Date($(\'#pick_out\').val()).getTime()/1000);
});
</script>
'; ?>
<div id="floater_innerwrap">
<div id="floater_handle">
<span id="floater_title"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['print']; ?>
</span>
<div class="right">
<a href="#" class="close" onClick="floaterClose();"><?php echo $this->_tpl_vars['kga']['lang']['close']; ?>
</a>
</div>
</div>
<div id="help">
<div class="content">
</div>
</div>
<div class="floater_content">
<form id="xp_ext_form_print" action="../extensions/ki_export/processor.php" method="post" target="_blank">
<fieldset>
<ul>
<li>
<?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['print_hint']; ?>
</li>
<li>
<label for="print_summary"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['print_summary']; ?>
:</label>
<input type="checkbox" value="true" name="print_summary" id="print_summary" <?php if ($this->_tpl_vars['prefs']['print_summary']): ?>checked="checked"<?php endif; ?>>
</li>
<li>
<label for="reverse_order"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['reverse_order']; ?>
:</label>
<input type="checkbox" value="true" name="reverse_order" id="reverse_order" <?php if ($this->_tpl_vars['prefs']['reverse_order']): ?>checked="checked"<?php endif; ?>/>
</li>
</ul>
<input name="axAction" type="hidden" value="export_html" />
<input name="axValue" id="axValue" type="hidden" value="" />
<input name="first_day" id="first_day" type="hidden" value="" />
<input name="last_day" id="last_day" type="hidden" value="" />
<input name="axColumns" id="axColumns" type="hidden" value=""/>
<input name="timeformat" id="timeformat" type="hidden" value=""/>
<input name="dateformat" id="dateformat" type="hidden" value=""/>
<input name="default_location" id="default_location" type="hidden" value=""/>
<input name="filter_cleared" id="filter_cleared" type="hidden" value=""/>
<input name="filter_refundable" id="filter_refundable" type="hidden" value=""/>
<input name="filter_type" id="filter_type" type="hidden" value=""/>
<div id="formbuttons">
<input class='btn_norm' type='button' value='<?php echo $this->_tpl_vars['kga']['lang']['cancel']; ?>
' onClick='floaterClose(); return false;' />
<input class='btn_ok' type='submit' value='<?php echo $this->_tpl_vars['kga']['lang']['submit']; ?>
' onClick="floaterClose();"/>
</div>
</fieldset>
</form>
</div>
</div>

View File

@@ -0,0 +1,103 @@
<?php /* Smarty version 2.6.20, created on 2015-01-20 09:05:24
compiled from panel.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'panel.tpl', 34, false),)), $this); ?>
<?php echo '
<script type="text/javascript">
$(document).ready(function() {
xp_ext_onload();
});
</script>
'; ?>
<div id="xp_panel">
<div class="w">
<div class="c">
<div class="w">
<div class="c">
<div id="xp_ext_tab_filter">
<select id="xp_ext_tab_filter_cleared" name="cleared" onChange="xp_ext_reload()">
<option value="-1" <?php if (! $this->_tpl_vars['kga']['conf']['hideClearedEntries']): ?>selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['cleared_all']; ?>
</option>
<option value="1"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['cleared_cleared']; ?>
</option>
<option value="0" <?php if ($this->_tpl_vars['kga']['conf']['hideClearedEntries']): ?>selected="selected"<?php endif; ?>><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['cleared_open']; ?>
</option>
</select>
<select id="xp_ext_tab_filter_refundable" name="refundable" onChange="xp_ext_reload()">
<option value="-1" selected="selected"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['refundable_all']; ?>
</option>
<option value="0"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['refundable_refundable']; ?>
</option>
<option value="1"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['refundable_not_refundable']; ?>
</option>
</select>
<select id="xp_ext_tab_filter_type" name="type" onChange="xp_ext_reload()">
<option value="-1" selected="selected"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['times_and_expenses']; ?>
</option>
<option value="0"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['times']; ?>
</option>
<option value="1"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['expenses']; ?>
</option>
</select>
</div>
<div id="xp_ext_tab_timeformat">
<span><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['timeformat']; ?>
:<a href="#" class="helpfloater"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['export_timeformat_help']; ?>
</a></span>
<input type="text" name="time_format" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['timeformat'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" id="xp_ext_timeformat" onChange="xp_ext_reload()">
<span><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['dateformat']; ?>
:<a href="#" class="helpfloater"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['export_timeformat_help']; ?>
</a></span>
<input type="text" name="date_format" value="<?php echo ((is_array($_tmp=$this->_tpl_vars['dateformat'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
" id="xp_ext_dateformat" onChange="xp_ext_reload()">
</div>
<div id="xp_ext_tab_location">
<span><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['stdrd_location']; ?>
</span>
<input type="text" name="std_loc" value="" id="xp_ext_default_location" onChange="xp_ext_reload()">
</div>
</div>
</div>
<div class="l">&nbsp;</div><div class="r">&nbsp;</div>
</div>
</div>
<div class="l">
<div class="w">
<div class="c">
<a id="xp_ext_select_filter" href="#" class="select_btn"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['filter']; ?>
</a>
<a id="xp_ext_select_location" href="#" class="select_btn"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['location']; ?>
</a>
<a id="xp_ext_select_timeformat" href="#" class="select_btn"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['timeformat']; ?>
</a>
</div>
</div>
<div class="l">&nbsp;</div>
</div>
<div class="r">
<div class="w">
<div class="c">
<a id="xp_ext_export_pdf" href="#" class="output_btn"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['exportPDF']; ?>
</a>
<a id="xp_ext_export_xls" href="#" class="output_btn"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['exportXLS']; ?>
</a>
<a id="xp_ext_export_csv" href="#" class="output_btn"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['exportCSV']; ?>
</a>
<a id="xp_ext_print" href="#" class="output_btn"><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['print']; ?>
</a>
</div>
</div>
<div class="l">&nbsp;</div><div class="r">&nbsp;</div>
</div>
</div>

View File

@@ -0,0 +1,279 @@
<?php /* Smarty version 2.6.20, created on 2015-02-16 08:20:42
compiled from formats/excel.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'date_format', 'formats/excel.tpl', 76, false),array('modifier', 'escape', 'formats/excel.tpl', 76, false),array('modifier', 'replace', 'formats/excel.tpl', 191, false),)), $this); ?>
<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<style>
<?php echo '
.date {
mso-number-format:"Short Date";
}
.time {
mso-number-format:"h\\:mm\\:ss\\;\\@";
}
.duration {
mso-number-format:"h\\:mm\\;\\@";
}
.decimal {
mso-number-format:Fixed;
}
'; ?>
</style>
<!--[if gte mso 9]><xml>
<x:ExcelWorkbook>
<x:ExcelWorksheets>
<x:ExcelWorksheet>
<x:Name>Tabelle1</x:Name>
<x:WorksheetOptions>
<x:DefaultColWidth>10</x:DefaultColWidth>
<x:Selected/>
<x:Panes>
<x:Pane>
<x:Number>3</x:Number>
<x:ActiveRow>4</x:ActiveRow>
<x:ActiveCol>3</x:ActiveCol>
</x:Pane>
</x:Panes>
<x:ProtectContents>False</x:ProtectContents>
<x:ProtectObjects>False</x:ProtectObjects>
<x:ProtectScenarios>False</x:ProtectScenarios>
</x:WorksheetOptions>
</x:ExcelWorksheet>
</x:ExcelWorksheets>
</x:ExcelWorkbook>
</xml><![endif]-->
</head>
<body>
<table>
<thead><tr>
<?php if ($this->_tpl_vars['columns']['date']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['datum']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['from']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['in']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['to']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['out']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['time']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['time']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['dec_time']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['timelabel']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['rate']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['rate']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['wage']): ?> <td><?php echo $this->_tpl_vars['kga']['currency_name']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['knd']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['knd']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['division']): ?> <td>Division</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['pct']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['pct']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['action']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['evt']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['comment']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['comment']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['location']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['zlocation']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['trackingnr']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['trackingnr']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['user']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['username']; ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['cleared']): ?> <td><?php echo $this->_tpl_vars['kga']['lang']['cleared']; ?>
</td> <?php endif; ?>
</tr>
</thead>
<?php unset($this->_sections['row']);
$this->_sections['row']['name'] = 'row';
$this->_sections['row']['loop'] = is_array($_loop=$this->_tpl_vars['arr_data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['row']['show'] = true;
$this->_sections['row']['max'] = $this->_sections['row']['loop'];
$this->_sections['row']['step'] = 1;
$this->_sections['row']['start'] = $this->_sections['row']['step'] > 0 ? 0 : $this->_sections['row']['loop']-1;
if ($this->_sections['row']['show']) {
$this->_sections['row']['total'] = $this->_sections['row']['loop'];
if ($this->_sections['row']['total'] == 0)
$this->_sections['row']['show'] = false;
} else
$this->_sections['row']['total'] = 0;
if ($this->_sections['row']['show']):
for ($this->_sections['row']['index'] = $this->_sections['row']['start'], $this->_sections['row']['iteration'] = 1;
$this->_sections['row']['iteration'] <= $this->_sections['row']['total'];
$this->_sections['row']['index'] += $this->_sections['row']['step'], $this->_sections['row']['iteration']++):
$this->_sections['row']['rownum'] = $this->_sections['row']['iteration'];
$this->_sections['row']['index_prev'] = $this->_sections['row']['index'] - $this->_sections['row']['step'];
$this->_sections['row']['index_next'] = $this->_sections['row']['index'] + $this->_sections['row']['step'];
$this->_sections['row']['first'] = ($this->_sections['row']['iteration'] == 1);
$this->_sections['row']['last'] = ($this->_sections['row']['iteration'] == $this->_sections['row']['total']);
?>
<tr>
<?php if ($this->_tpl_vars['columns']['date']): ?>
<td class=date>
<?php if ($this->_tpl_vars['custom_dateformat']): ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['custom_dateformat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['custom_dateformat'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php else: ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['kga']['date_format']['1']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['kga']['date_format']['1'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php endif; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['from']): ?>
<td align=right class=time>
<?php if ($this->_tpl_vars['custom_timeformat']): ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['custom_timeformat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['custom_timeformat'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php else: ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%H:%M") : smarty_modifier_date_format($_tmp, "%H:%M")))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php endif; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['to']): ?>
<td align=right class=time>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out']): ?>
<?php if ($this->_tpl_vars['custom_timeformat']): ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['custom_timeformat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['custom_timeformat'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php else: ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%H:%M") : smarty_modifier_date_format($_tmp, "%H:%M")))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php endif; ?>
<?php else: ?>
&ndash;&ndash;:&ndash;&ndash;
<?php endif; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['time']): ?>
<td align=right class=duration>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['zef_time']): ?>
<?php echo $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['zef_duration']; ?>
<?php else: ?>
&ndash;:&ndash;&ndash;
<?php endif; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['dec_time']): ?>
<td align=right class=decimal>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['dec_zef_time']): ?>
<?php echo $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['dec_zef_time']; ?>
<?php else: ?>
&ndash;:&ndash;&ndash;
<?php endif; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['rate']): ?>
<td align=right class=decimal>
<?php echo $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['zef_rate']; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['wage']): ?>
<td align=right class=decimal>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['wage']): ?>
<?php echo $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['wage']; ?>
<?php else: ?>
&ndash;
<?php endif; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['knd']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['knd_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['division']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['division'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['pct']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['pct_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['action']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['evt_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['comment']): ?>
<td>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['comment'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('replace', true, $_tmp, "\n", "&#10;") : smarty_modifier_replace($_tmp, "\n", "&#10;")); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['location']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['location'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['trackingnr']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['trackingnr'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['user']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['username'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['cleared']): ?>
<td>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['cleared']): ?>cleared<?php else: ?><?php endif; ?>
</td>
<?php endif; ?>
</tr>
<?php endfor; endif; ?>
</table>
</body>
</html>

View File

@@ -0,0 +1,492 @@
<?php /* Smarty version 2.6.20, created on 2015-02-13 13:26:10
compiled from formats/html.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'formats/html.tpl', 123, false),array('modifier', 'number_format', 'formats/html.tpl', 168, false),array('modifier', 'date_format', 'formats/html.tpl', 214, false),array('modifier', 'replace', 'formats/html.tpl', 267, false),array('modifier', 'nl2br', 'formats/html.tpl', 331, false),array('modifier', 'count', 'formats/html.tpl', 373, false),)), $this); ?>
<html>
<head>
<title></title>
<meta content="">
<?php echo '
<style type="text/css" media="all">
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
margin: 0;
padding: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
margin-bottom:30px;
}
fieldset, img { border: 0; }
address, caption, cite, code, dfn, em, strong, th, var {
font-style: normal;
font-weight: normal;
}
ol, ul { list-style: none; }
caption, th { text-align: left; }
h2 {
margin-bottom:10px;
}
q:before { content: \'\'; }
q:after { content: \'\'; }
abbr, acronym { border: 0; }
th {
text-align: left;
font-weight: bold;
}
th {
border-right: 1px solid #999999;
padding: 5px;
}
th:first-child { border-left: 1px solid #999999; }
td {
border-right: 1px solid #999999;
padding: 5px;
}
td:first-child { border-left: 1px solid #999999; }
h1 {
font-size: 150%;
font-weight: bold;
margin-bottom: 10px;
}
</style>
<style type="text/css" media="print">
body {
color: black;
font-family: Arial, Verdana, sans-serif;
font-size: 11px;
}
th {
background: #ccc;
border-top: 1px solid #999;
border-bottom: 1px solid #999;
font-family: Arial, Verdana, sans-serif;
font-size: 11px;
font-weight: normal;
}
td {
border-bottom: 1px solid #999;
font-family: Arial, Verdana, sans-serif;
font-size: 11px;
}
#div_selectform {
display: none;
}
#div_liste {
}
#invertbtn, .invertclm {
display: none;
}
</style>
<style type="text/css" media="screen">
body {
color: black;
font-family: Arial, Verdana, sans-serif;
font-size: 11px;
padding:10px;
}
th {
background: #ccc;
border-top: 1px solid #999;
border-bottom: 1px solid #999;
font-family: Arial, Verdana, sans-serif;
font-size: 11px;
font-weight: normal;
}
td {
border-bottom: 1px solid #999;
font-family: Arial, Verdana, sans-serif;
font-size: 11px;
}
#div_liste {
margin-top:10px;
float: left;
width: 600px;
}
</style>
'; ?>
</head>
<body>
<h2> <?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['time_period']; ?>
: <?php echo ((is_array($_tmp=$this->_tpl_vars['timespan'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</h2>
<?php if ($this->_tpl_vars['customersFilter'] != ""): ?>
<br/><b><?php echo $this->_tpl_vars['kga']['lang']['knds']; ?>
</b>: <?php echo ((is_array($_tmp=$this->_tpl_vars['customersFilter'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php endif; ?>
<?php if ($this->_tpl_vars['projectsFilter'] != ""): ?>
<br/><b><?php echo $this->_tpl_vars['kga']['lang']['pcts']; ?>
</b>: <?php echo ((is_array($_tmp=$this->_tpl_vars['projectsFilter'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php endif; ?>
<br/>
<?php if ($this->_tpl_vars['summary'] != 0): ?>
<h2><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['summary']; ?>
</h2>
<table border="1">
<tbody>
<tr>
<th><?php echo $this->_tpl_vars['kga']['lang']['evt']; ?>
</th>
<?php if ($this->_tpl_vars['columns']['dec_time']): ?>
<th><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['duration']; ?>
</th>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['wage']): ?>
<th><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['costs']; ?>
</th>
<?php endif; ?>
</tr>
<?php unset($this->_sections['row']);
$this->_sections['row']['name'] = 'row';
$this->_sections['row']['loop'] = is_array($_loop=$this->_tpl_vars['summary']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['row']['show'] = true;
$this->_sections['row']['max'] = $this->_sections['row']['loop'];
$this->_sections['row']['step'] = 1;
$this->_sections['row']['start'] = $this->_sections['row']['step'] > 0 ? 0 : $this->_sections['row']['loop']-1;
if ($this->_sections['row']['show']) {
$this->_sections['row']['total'] = $this->_sections['row']['loop'];
if ($this->_sections['row']['total'] == 0)
$this->_sections['row']['show'] = false;
} else
$this->_sections['row']['total'] = 0;
if ($this->_sections['row']['show']):
for ($this->_sections['row']['index'] = $this->_sections['row']['start'], $this->_sections['row']['iteration'] = 1;
$this->_sections['row']['iteration'] <= $this->_sections['row']['total'];
$this->_sections['row']['index'] += $this->_sections['row']['step'], $this->_sections['row']['iteration']++):
$this->_sections['row']['rownum'] = $this->_sections['row']['iteration'];
$this->_sections['row']['index_prev'] = $this->_sections['row']['index'] - $this->_sections['row']['step'];
$this->_sections['row']['index_next'] = $this->_sections['row']['index'] + $this->_sections['row']['step'];
$this->_sections['row']['first'] = ($this->_sections['row']['iteration'] == 1);
$this->_sections['row']['last'] = ($this->_sections['row']['iteration'] == $this->_sections['row']['total']);
?>
<tr>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['summary'][$this->_sections['row']['index']]['name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php if ($this->_tpl_vars['columns']['dec_time']): ?>
<td><?php if ($this->_tpl_vars['summary'][$this->_sections['row']['index']]['time'] != -1): ?>
<?php echo ((is_array($_tmp=$this->_tpl_vars['summary'][$this->_sections['row']['index']]['time'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php endif; ?></td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['wage']): ?>
<td><?php echo ((is_array($_tmp=$this->_tpl_vars['summary'][$this->_sections['row']['index']]['wage'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
</tr>
<?php endfor; endif; ?>
<tr>
<td>
<i><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['finalamount']; ?>
</i>
</td>
<?php if ($this->_tpl_vars['columns']['dec_time']): ?>
<td><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['timeSum'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2, $this->_tpl_vars['kga']['conf']['decimalSeparator'], "") : number_format($_tmp, 2, $this->_tpl_vars['kga']['conf']['decimalSeparator'], "")))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['wage']): ?>
<td><?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['wageSum'])) ? $this->_run_mod_handler('number_format', true, $_tmp, 2, $this->_tpl_vars['kga']['conf']['decimalSeparator'], "") : number_format($_tmp, 2, $this->_tpl_vars['kga']['conf']['decimalSeparator'], "")))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
</tr>
</tbody>
</table>
<?php endif; ?>
<h2><?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['full_list']; ?>
</h2>
<table border="1">
<tbody>
<tr>
<?php if ($this->_tpl_vars['columns']['date']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['datum']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['from']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['in']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['to']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['out']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['time']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['time']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['dec_time']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['timelabel']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['rate']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['rate']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['wage']): ?> <th><?php echo $this->_tpl_vars['kga']['currency_name']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['knd']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['knd']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['division']): ?> <th>Division</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['pct']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['pct']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['action']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['evt']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['comment']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['comment']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['location']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['zlocation']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['trackingnr']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['trackingnr']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['user']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['username']; ?>
</th> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['cleared']): ?> <th><?php echo $this->_tpl_vars['kga']['lang']['cleared']; ?>
</th> <?php endif; ?>
</tr>
<?php unset($this->_sections['row']);
$this->_sections['row']['name'] = 'row';
$this->_sections['row']['loop'] = is_array($_loop=$this->_tpl_vars['arr_data']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['row']['show'] = true;
$this->_sections['row']['max'] = $this->_sections['row']['loop'];
$this->_sections['row']['step'] = 1;
$this->_sections['row']['start'] = $this->_sections['row']['step'] > 0 ? 0 : $this->_sections['row']['loop']-1;
if ($this->_sections['row']['show']) {
$this->_sections['row']['total'] = $this->_sections['row']['loop'];
if ($this->_sections['row']['total'] == 0)
$this->_sections['row']['show'] = false;
} else
$this->_sections['row']['total'] = 0;
if ($this->_sections['row']['show']):
for ($this->_sections['row']['index'] = $this->_sections['row']['start'], $this->_sections['row']['iteration'] = 1;
$this->_sections['row']['iteration'] <= $this->_sections['row']['total'];
$this->_sections['row']['index'] += $this->_sections['row']['step'], $this->_sections['row']['iteration']++):
$this->_sections['row']['rownum'] = $this->_sections['row']['iteration'];
$this->_sections['row']['index_prev'] = $this->_sections['row']['index'] - $this->_sections['row']['step'];
$this->_sections['row']['index_next'] = $this->_sections['row']['index'] + $this->_sections['row']['step'];
$this->_sections['row']['first'] = ($this->_sections['row']['iteration'] == 1);
$this->_sections['row']['last'] = ($this->_sections['row']['iteration'] == $this->_sections['row']['total']);
?>
<tr>
<?php if ($this->_tpl_vars['columns']['date']): ?>
<td>
<?php if ($this->_tpl_vars['custom_dateformat']): ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['custom_dateformat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['custom_dateformat'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php else: ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['kga']['date_format']['1']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['kga']['date_format']['1'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php endif; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['from']): ?>
<td>
<?php if ($this->_tpl_vars['custom_timeformat']): ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['custom_timeformat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['custom_timeformat'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php else: ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_in'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%H:%M") : smarty_modifier_date_format($_tmp, "%H:%M")))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php endif; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['to']): ?>
<td>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out']): ?>
<?php if ($this->_tpl_vars['custom_timeformat']): ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'])) ? $this->_run_mod_handler('date_format', true, $_tmp, $this->_tpl_vars['custom_timeformat']) : smarty_modifier_date_format($_tmp, $this->_tpl_vars['custom_timeformat'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php else: ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['time_out'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%H:%M") : smarty_modifier_date_format($_tmp, "%H:%M")))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php endif; ?>
<?php else: ?>
&ndash;&ndash;:&ndash;&ndash;
<?php endif; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['time']): ?>
<td>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['zef_time']): ?>
<?php echo $this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['zef_duration']; ?>
<?php else: ?>
&ndash;:&ndash;&ndash;
<?php endif; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['dec_time']): ?>
<td>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['dec_zef_time']): ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['dec_zef_time'])) ? $this->_run_mod_handler('replace', true, $_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator']) : smarty_modifier_replace($_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php else: ?>
&ndash;:&ndash;&ndash;
<?php endif; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['rate']): ?>
<td>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['zef_rate'])) ? $this->_run_mod_handler('replace', true, $_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator']) : smarty_modifier_replace($_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['wage']): ?>
<td>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['wage']): ?>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['wage'])) ? $this->_run_mod_handler('replace', true, $_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator']) : smarty_modifier_replace($_tmp, '.', $this->_tpl_vars['kga']['conf']['decimalSeparator'])))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
<?php else: ?>
&ndash;
<?php endif; ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['knd']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['knd_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['division']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['division'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['pct']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['pct_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['action']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['evt_name'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['comment']): ?>
<td>
<?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['comment'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['location']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['location'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['trackingnr']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['trackingnr'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['user']): ?>
<td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['username'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td>
<?php endif; ?>
<?php if ($this->_tpl_vars['columns']['cleared']): ?>
<td>
<?php if ($this->_tpl_vars['arr_data'][$this->_sections['row']['index']]['cleared']): ?><?php echo $this->_tpl_vars['kga']['lang']['cleared']; ?>
<?php else: ?><?php endif; ?>
</td>
<?php endif; ?>
</tr>
<?php endfor; endif; ?>
<?php if ($this->_tpl_vars['timeSum'] > 0 || $this->_tpl_vars['wageSum'] > 0): ?>
<tr>
<td colspan="<?php echo count($this->_tpl_vars['columns']); ?>
">
<?php echo $this->_tpl_vars['kga']['lang']['xp_ext']['finalamount']; ?>
</td>
</tr>
<tr>
<?php if ($this->_tpl_vars['columns']['date']): ?> <td></td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['from']): ?> <td></td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['to']): ?><td></td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['time']): ?> <td></td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['dec_time']): ?> <td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['timeSum'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['rate']): ?> <td></td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['wage']): ?> <td>
<?php echo ((is_array($_tmp=$this->_tpl_vars['wageSum'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?>
</td><?php endif; ?>
<?php if ($this->_tpl_vars['columns']['knd']): ?> <td></td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['division']): ?> <td></td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['pct']): ?> <td></td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['action']): ?> <td></td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['comment']): ?> <td></td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['location']): ?> <td></td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['trackingnr']): ?> <td></td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['user']): ?> <td></td> <?php endif; ?>
<?php if ($this->_tpl_vars['columns']['cleared']): ?> <td></td> <?php endif; ?>
</tr>
<?php endif; ?>
</tbody>
</table>
</body>
</html>