$this->_sections['taetlist']['total'] = $this->_sections['taetlist']['loop']; if ($this->_sections['taetlist']['total'] == 0) $this->_sections['taetlist']['show'] = false; } else $this->_sections['taetlist']['total'] = 0; if ($this->_sections['taetlist']['show']): for ($this->_sections['taetlist']['index'] = $this->_sections['taetlist']['start'], $this->_sections['taetlist']['iteration'] = 1; $this->_sections['taetlist']['iteration'] <= $this->_sections['taetlist']['total']; $this->_sections['taetlist']['index'] += $this->_sections['taetlist']['step'], $this->_sections['taetlist']['iteration']++): $this->_sections['taetlist']['rownum'] = $this->_sections['taetlist']['iteration']; $this->_sections['taetlist']['index_prev'] = $this->_sections['taetlist']['index'] - $this->_sections['taetlist']['step']; $this->_sections['taetlist']['index_next'] = $this->_sections['taetlist']['index'] + $this->_sections['taetlist']['step']; $this->_sections['taetlist']['first'] = ($this->_sections['taetlist']['iteration'] == 1); $this->_sections['taetlist']['last'] = ($this->_sections['taetlist']['iteration'] == $this->_sections['taetlist']['total']); $this->assign('comment', ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_full_desc)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))) ? $this->_run_mod_handler('clearcomment', true, $_tmp) : smarty_modifier_clearcomment($_tmp))); echo smarty_function_math(array('equation' => "21*((timestart - KTA)/60)/15+31+(timestart - KTA)/60/STEP",'timestart' => $this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_start,'KTA' => $this->_tpl_vars['taet']->KTA,'STEP' => $this->_tpl_vars['taet']->STEP,'assign' => 'divtop','format' => "%d"), $this);?> <?php echo smarty_function_math(array('equation' => "21*((timefinish - timestart)/60)/15+(timefinish - timestart)/60/STEP-3",'timefinish' => $this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_finish,'timestart' => $this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_start,'STEP' => $this->_tpl_vars['taet']->STEP,'assign' => 'divheight','format' => "%d"), $this);?> <div id="div<?php echo $this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_id; ?> " onclick="x_getTaetData(<?php echo $this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_id; ?> )" style="position:absolute;width:592px;height:<?php echo $this->_tpl_vars['divheight']; ?> px;border:1px solid #f0f0f0;top:<?php echo $this->_tpl_vars['divtop']; ?> px;left:71px;cursor:pointer;" class="standarddiv" onmouseover="setHoverDiv(<?php echo $this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_id; ?> )" onmouseout="setNormalDiv(<?php echo $this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_id; ?> )"><div <?php if ($this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_full_desc): echo smarty_function_popup(array('text' => ($this->_tpl_vars['comment']),'caption' => $this->_tpl_vars['dict']['commentar'],'fgcolor' => "#fafafa",'width' => '400','offsety' => -70,'offsetx' => -10,'captionsize' => '2','textsize' => '2'), $this); endif; ?>><?php echo ((is_array($_tmp=$this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_short_desc)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); ?> </div></div> <?php endfor; endif; ?></div> <!-- <div style="position:absolute;width:592px;height:102px;background-color:#fafafa;border:1px solid #f0f0f0;top:157px;left:71px;cursor:pointer;">Tätigkeit 2</div> //--> </div>
?> <?php if ($this->_tpl_vars['employeelist'][$this->_sections['employee']['index']]->empl_status == 0) { ?> <?php $this->assign('class', 'completed'); } else { ?> <?php $this->assign('class', ""); } ?> <?php $this->assign('comment', is_array($_tmp = is_array($_tmp = $this->_tpl_vars['employeelist'][$this->_sections['employee']['index']]->empl_comment) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) ? $this->_run_mod_handler('clearcomment', true, $_tmp) : smarty_modifier_clearcomment($_tmp)); ?> <tr id="tr<?php echo $this->_tpl_vars['employeelist'][$this->_sections['employee']['index']]->empl_id; ?> " onmouseover="setHover(<?php echo $this->_tpl_vars['employeelist'][$this->_sections['employee']['index']]->empl_id; ?> )" onmouseout="setNormal(<?php echo $this->_tpl_vars['employeelist'][$this->_sections['employee']['index']]->empl_id; ?> )" > <td style="cursor:pointer;padding-left:4px;" class="standard<?php
if ($this->_sections['taetlist']['show']) { $this->_sections['taetlist']['total'] = $this->_sections['taetlist']['loop']; if ($this->_sections['taetlist']['total'] == 0) { $this->_sections['taetlist']['show'] = false; } } else { $this->_sections['taetlist']['total'] = 0; } if ($this->_sections['taetlist']['show']) { for ($this->_sections['taetlist']['index'] = $this->_sections['taetlist']['start'], $this->_sections['taetlist']['iteration'] = 1; $this->_sections['taetlist']['iteration'] <= $this->_sections['taetlist']['total']; $this->_sections['taetlist']['index'] += $this->_sections['taetlist']['step'], $this->_sections['taetlist']['iteration']++) { $this->_sections['taetlist']['rownum'] = $this->_sections['taetlist']['iteration']; $this->_sections['taetlist']['index_prev'] = $this->_sections['taetlist']['index'] - $this->_sections['taetlist']['step']; $this->_sections['taetlist']['index_next'] = $this->_sections['taetlist']['index'] + $this->_sections['taetlist']['step']; $this->_sections['taetlist']['first'] = $this->_sections['taetlist']['iteration'] == 1; $this->_sections['taetlist']['last'] = $this->_sections['taetlist']['iteration'] == $this->_sections['taetlist']['total']; $this->assign('comment', is_array($_tmp = is_array($_tmp = $this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_full_desc) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) ? $this->_run_mod_handler('clearcomment', true, $_tmp) : smarty_modifier_clearcomment($_tmp)); echo smarty_function_math(array('equation' => "21*((timestart - KTA)/60)/15+31+(timestart - KTA)/60/STEP", 'timestart' => $this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_start, 'KTA' => $this->_tpl_vars['taet']->KTA, 'STEP' => $this->_tpl_vars['taet']->STEP, 'assign' => 'divtop', 'format' => "%d"), $this); ?> <?php echo smarty_function_math(array('equation' => "21*((timefinish - timestart)/60)/15+(timefinish - timestart)/60/STEP-3", 'timefinish' => $this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_finish, 'timestart' => $this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_start, 'STEP' => $this->_tpl_vars['taet']->STEP, 'assign' => 'divheight', 'format' => "%d"), $this); ?> <div id="div<?php echo $this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_id; ?> " onclick="x_getTaetData(<?php echo $this->_tpl_vars['taet']->taetObjList[$this->_sections['taetlist']['index']]->taet_id; ?> )" style="position:absolute;width:592px;height:<?php echo $this->_tpl_vars['divheight'];