<?php
/* Smarty version 3.1.33, created on 2022-01-28 15:50:23
  from '/home/recursosspa/public_html/testlink/gui/templates/results/resultsByStatus.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_61f410bfc19083_70860755',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '622217640cf03252e5c1a5d020a8fb83a0374e7d' => 
    array (
      0 => '/home/recursosspa/public_html/testlink/gui/templates/results/resultsByStatus.tpl',
      1 => 1643038969,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
    'file:inc_head.tpl' => 1,
    'file:inc_ext_js.tpl' => 1,
    'file:inc_ext_table.tpl' => 1,
    'file:inc_result_tproject_tplan.tpl' => 1,
  ),
),false)) {
function content_61f410bfc19083_70860755 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/recursosspa/public_html/testlink/vendor/smarty/smarty/libs/plugins/modifier.date_format.php','function'=>'smarty_modifier_date_format',),));
?>

<?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang_get'][0], array( array('var'=>'labels','s'=>'th_test_suite,test_case,version,th_build,th_run_by,th_bugs_not_linked,
          th_date,title_execution_notes,th_bugs,summary,generated_by_TestLink_on,
          th_assigned_to,th_platform,platform,info_failed_tc_report,
          info_blocked_tc_report,info_notrun_tc_report,
          export_as_spreadsheet,send_spreadsheet_by_email'),$_smarty_tpl ) );?>


<?php $_smarty_tpl->_subTemplateRender("file:inc_head.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('openHead'=>"yes"), 0, false);
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['gui']->value->tableSet, 'matrix', false, 'idx', 'initializer', array (
  'first' => true,
  'index' => true,
));
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['idx']->value => $_smarty_tpl->tpl_vars['matrix']->value) {
$_smarty_tpl->tpl_vars['__smarty_foreach_initializer']->value['index']++;
$_smarty_tpl->tpl_vars['__smarty_foreach_initializer']->value['first'] = !$_smarty_tpl->tpl_vars['__smarty_foreach_initializer']->value['index'];
?>
  <?php $_smarty_tpl->_assignInScope('tableID', $_smarty_tpl->tpl_vars['matrix']->value->tableID);?>
  <?php if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_initializer']->value['first']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_initializer']->value['first'] : null)) {?>
    <?php echo $_smarty_tpl->tpl_vars['matrix']->value->renderCommonGlobals();?>

    <?php if ($_smarty_tpl->tpl_vars['matrix']->value instanceof tlExtTable) {?>
        <?php $_smarty_tpl->_subTemplateRender("file:inc_ext_js.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('bResetEXTCss'=>1), 0, true);
?>
        <?php $_smarty_tpl->_subTemplateRender("file:inc_ext_table.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array(), 0, true);
?>
    <?php }?>
  <?php }?>
  <?php echo $_smarty_tpl->tpl_vars['matrix']->value->renderHeadSection();?>

<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
</head>
<body>
<form name="resultsByStatus" id="resultsByStatus" METHOD="POST"
      target="avoidPageRefreshWhenSendindMail"
      action="lib/results/resultsByStatus.php?type=<?php echo $_smarty_tpl->tpl_vars['gui']->value->type;?>
&format=3&tplan_id=<?php echo $_smarty_tpl->tpl_vars['gui']->value->tplan_id;?>
&tproject_id=<?php echo $_smarty_tpl->tpl_vars['gui']->value->tproject_id;?>
">

<h1 class="title"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->title, ENT_QUOTES, 'UTF-8', true);?>

</h1>
  <?php if ($_smarty_tpl->tpl_vars['gui']->value->apikey != '') {?>
  <input type="hidden" name="apikey" id="apikey" value="<?php echo $_smarty_tpl->tpl_vars['gui']->value->apikey;?>
">
  <?php }?>

  &nbsp;&nbsp;
  <input type="image" name="exportSpreadSheet" id="exportSpreadSheet" 
         src="<?php echo $_smarty_tpl->tpl_vars['tlImages']->value['export_excel'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['export_as_spreadsheet'];?>
">

  <input type="image" name="sendSpreadSheetByMail" id="sendSpreadSheetByMail" 
         src="<?php echo $_smarty_tpl->tpl_vars['tlImages']->value['email'];?>
" title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['send_spreadsheet_by_email'];?>
">

</form>

<div class="workBack">
<?php $_smarty_tpl->_subTemplateRender("file:inc_result_tproject_tplan.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('arg_tproject_name'=>$_smarty_tpl->tpl_vars['gui']->value->tproject_name,'arg_tplan_name'=>$_smarty_tpl->tpl_vars['gui']->value->tplan_name), 0, false);
?>

<?php if ($_smarty_tpl->tpl_vars['gui']->value->warning_msg == '') {?>
	<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['gui']->value->tableSet, 'matrix', false, 'idx');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['idx']->value => $_smarty_tpl->tpl_vars['matrix']->value) {
?>
		<?php $_smarty_tpl->_assignInScope('tableID', "table_".((string)$_smarty_tpl->tpl_vars['idx']->value));?>
   	<?php echo $_smarty_tpl->tpl_vars['matrix']->value->renderBodySection($_smarty_tpl->tpl_vars['tableID']->value);?>

	<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
	<br />
	
	<?php if ($_smarty_tpl->tpl_vars['gui']->value->bugs_msg != '') {?>
	  <h2 class="simple"><?php echo $_smarty_tpl->tpl_vars['gui']->value->bugs_msg;
echo $_smarty_tpl->tpl_vars['gui']->value->without_bugs_counter;?>
</h2>
	  <br />
	<?php }?>


  <p class="italic"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->report_context, ENT_QUOTES, 'UTF-8', true);?>
</p>
	<p class="italic"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->info_msg, ENT_QUOTES, 'UTF-8', true);?>
</p>
	<br />
	<?php echo $_smarty_tpl->tpl_vars['labels']->value['generated_by_TestLink_on'];?>
 <?php echo smarty_modifier_date_format(time(),$_smarty_tpl->tpl_vars['gsmarty_timestamp_format']->value);?>

<?php } else { ?>
	<br \>
	<?php echo $_smarty_tpl->tpl_vars['gui']->value->warning_msg;?>

<?php }?>
</div>

<!-- To avoid refresh when sending mail --> 
<iframe name="avoidPageRefreshWhenSendindMail" style="display:none;"></iframe>

</body>
</html><?php }
}
