<?php /* Smarty version 2.6.12, created on 2011-01-18 14:25:53
         compiled from assignment_view_main_report.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'escape', 'assignment_view_main_report.html', 5, false),array('modifier', 'timezone_date_format', 'assignment_view_main_report.html', 29, false),array('modifier', 'sprintf', 'assignment_view_main_report.html', 38, false),array('modifier', 'wysiwig_convert_url', 'assignment_view_main_report.html', 63, false),)), $this); ?>
<?php echo '';  echo '';  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['submit_user_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != "" && ((is_array($_tmp=$this->_tpl_vars['action']['hasSubmitListView'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "assignment_view_back_title.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '';  endif;  echo '';  echo '<table class="assignment_reporter_view"><tr><td class="assignment_poster">';  echo '<div class="float-left">';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['submit_user_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != "" || ((is_array($_tmp=$this->_tpl_vars['action']['hasSubmitListView'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['assignment_grade_item'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "assignment_view_grade_value.html", 'smarty_include_vars' => array('submit_flag' => ((is_array($_tmp=$this->_tpl_vars['action']['report']['submit_flag'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')),'grade_value' => $this->_tpl_vars['action']['report']['grade_value'],'report_status' => $this->_tpl_vars['action']['report']['status'])));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '';  else:  echo '&nbsp;';  endif;  echo '</div><div class="float-right">';  echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "assignment_view_handle.html", 'smarty_include_vars' => array('handle' => $this->_tpl_vars['action']['report']['insert_user_name'],'user_id' => ((is_array($_tmp=$this->_tpl_vars['action']['report']['insert_user_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '';  echo $this->_tpl_vars['lang']['_separator'];  echo '';  echo '';  echo ((is_array($_tmp=$this->_tpl_vars['action']['report']['insert_time'])) ? $this->_run_mod_handler('timezone_date_format', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['_full_date_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : timezone_date_format($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['_full_date_format'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '';  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['report']['hasEditAuthority'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '&nbsp;&nbsp;&nbsp;<a class="syslink" href="#" title="" onclick="assignmentCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].showModifyForm(\'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['report']['submit_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\',\'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['report']['report_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'); return false;">';  echo $this->_tpl_vars['lang']['_edit'];  echo '</a>';  echo $this->_tpl_vars['lang']['_separator'];  echo '<a class="syslink" href="#" title="" onclick="assignmentCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].deleteReport(\'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['report']['submit_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\',\'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['report']['report_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\',\'';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['_del_confirm'])) ? $this->_run_mod_handler('sprintf', true, $_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['assignment_report_body'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))) : sprintf($_tmp, ((is_array($_tmp=$this->_tpl_vars['lang']['assignment_report_body'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'))));  echo '\'); return false;">';  echo $this->_tpl_vars['lang']['_delete'];  echo '</a>';  endif;  echo '</div></td>';  echo '<td rowspan="3" class="assignment_report_history"><div class="assignment_report_history">';  $_from = ((is_array($_tmp=$this->_tpl_vars['action']['reports'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['report'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['report']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['report']):
        $this->_foreach['report']['iteration']++;
 echo '';  if (( empty ( $this->_tpl_vars['action']['report'] ) && ((is_array($_tmp=($this->_foreach['report']['iteration'] <= 1))) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) || ((is_array($_tmp=$this->_tpl_vars['action']['report']['report_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) == ((is_array($_tmp=$this->_tpl_vars['report']['report_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "assignment_view_report_history.html", 'smarty_include_vars' => array('report' => ((is_array($_tmp=$this->_tpl_vars['report'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')),'current' => ((is_array($_tmp=@_ON)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '';  else:  echo '';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "assignment_view_report_history.html", 'smarty_include_vars' => array('report' => ((is_array($_tmp=$this->_tpl_vars['report'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')),'current' => ((is_array($_tmp=@_OFF)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')))));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '';  endif;  echo '';  endforeach; endif; unset($_from);  echo '</div></td></tr>';  echo '<tr><td class="assignment_report_body"><div title="';  echo ((is_array($_tmp=@_DBLCLICK_EDIT)) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['report']['hasEditAuthority'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo ' ondblclick="assignmentCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].showModifyForm(\'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['report']['submit_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\',\'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['report']['report_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\')" onmouseover="commonCls.blockNotice(event, this);"';  endif;  echo '>';  echo ((is_array($_tmp=$this->_tpl_vars['action']['report']['report_body'])) ? $this->_run_mod_handler('wysiwig_convert_url', true, $_tmp) : wysiwig_convert_url($_tmp));  echo '</div></td></tr><tr><td class="assignment_report_comment">';  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['submit_user_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != "" && ((is_array($_tmp=$this->_tpl_vars['action']['report']['hasGradeAuthority'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '<div class="align-right"><a class="syslink" href="#" title="" onclick="assignmentCls[\'';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'].showGradeForm(event,\'';  echo ((is_array($_tmp=$this->_tpl_vars['action']['report']['submit_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '\'); return false;">';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['assignment_report_grade'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '</a></div>';  endif;  echo '';  echo '<div class="hr"></div><div id="assignment_comment_view';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '">';  $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "assignment_view_main_comment.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
  echo '</div></td></tr>';  echo '';  if (( ((is_array($_tmp=$this->_tpl_vars['action']['submit_user_id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) != "" && ((is_array($_tmp=$this->_tpl_vars['action']['hasSubmitListView'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html')) )):  echo '<tr><td><div class="hr"></div><div class="btn-bottom"><input class="btn-width assignment_back_btn" type="button" value="';  echo ((is_array($_tmp=$this->_tpl_vars['lang']['assignment_submitter_list_btn'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '" onclick=\'assignmentCls["';  echo ((is_array($_tmp=$this->_tpl_vars['id'])) ? $this->_run_mod_handler('escape', true, $_tmp, 'html') : smarty_modifier_escape($_tmp, 'html'));  echo '"].backSubmitters(); return false;\' /></div></td></tr>';  endif;  echo '</table>'; ?>