<?php
/* Smarty version 3.1.33, created on 2022-01-28 15:48:30
  from '/home/recursosspa/public_html/testlink/gui/templates/results/resultsTC.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_61f4104e3a3ad6_14956105',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '772e4146a9d14287d6a1d59c8bad22db00a03367' => 
    array (
      0 => '/home/recursosspa/public_html/testlink/gui/templates/results/resultsTC.tpl',
      1 => 1643038971,
      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_61f4104e3a3ad6_14956105 (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'=>"title,date,printed_by,title_test_suite_name,platform,builds,
             title_test_case_title,version,generated_by_TestLink_on, priority,
             info_resultsTC_report,elapsed_seconds,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>

<?php if ($_smarty_tpl->tpl_vars['gui']->value->printDate == '') {?>
<form name="resultsTC" id="resultsTC" METHOD="POST"
      target="avoidPageRefreshWhenSendindMail"
      action="lib/results/resultsTC.php?format=3&do_action=result&tplan_id=<?php echo $_smarty_tpl->tpl_vars['gui']->value->tplan_id;?>
&tproject_id=<?php echo $_smarty_tpl->tpl_vars['gui']->value->tproject_id;?>
&buildListForExcel=<?php echo $_smarty_tpl->tpl_vars['gui']->value->buildListForExcel;?>
">

  <?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 }?>

<h1 class="title"><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->title, ENT_QUOTES, 'UTF-8', true);?>

</h1>

  &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>

<?php } else { ?><table style="font-size: larger;font-weight: bold;">
	<tr><td><?php echo $_smarty_tpl->tpl_vars['labels']->value['title'];?>
</td><td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->title, ENT_QUOTES, 'UTF-8', true);?>
</td><tr>
	<tr><td><?php echo $_smarty_tpl->tpl_vars['labels']->value['date'];?>
</td><td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->printDate, ENT_QUOTES, 'UTF-8', true);?>
</td><tr>
	<tr><td><?php echo $_smarty_tpl->tpl_vars['labels']->value['printed_by'];?>
</td><td><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['user']->value, ENT_QUOTES, 'UTF-8', true);?>
</td><tr>
</table>
<?php }?>

<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,'arg_build_set'=>$_smarty_tpl->tpl_vars['gui']->value->filterFeedback), 0, false);
?>	

<?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 if ($_smarty_tpl->tpl_vars['idx']->value != 0) {?>
  <h2><?php echo $_smarty_tpl->tpl_vars['labels']->value['platform'];?>
: <?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->platforms[$_smarty_tpl->tpl_vars['idx']->value], ENT_QUOTES, 'UTF-8', true);?>
</h2>
  <?php }?>
  <?php echo $_smarty_tpl->tpl_vars['matrix']->value->renderBodySection();?>

<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>

<br />
<p class="italic"><?php echo $_smarty_tpl->tpl_vars['labels']->value['info_resultsTC_report'];?>
</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);?>

<p><?php echo $_smarty_tpl->tpl_vars['labels']->value['elapsed_seconds'];?>
 <?php echo $_smarty_tpl->tpl_vars['gui']->value->elapsed_time;?>
</p>
</div>

<!-- To avoid refresh when sending mail --> 
<iframe name="avoidPageRefreshWhenSendindMail" style="display:none;"></iframe>

</body>
</html><?php }
}
