<?php
/* Smarty version 3.1.33, created on 2021-12-15 15:09:36
  from '/opt/lampp/htdocs/testlink/gui/templates/results/tcCreatedPerUserOnTestProjectGUI.inc.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.33',
  'unifunc' => 'content_61b9f720527af8_85605663',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '5e0437597a925282074184558ea187a8ddff5109' => 
    array (
      0 => '/opt/lampp/htdocs/testlink/gui/templates/results/tcCreatedPerUserOnTestProjectGUI.inc.tpl',
      1 => 1636032773,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_61b9f720527af8_85605663 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/opt/lampp/htdocs/testlink/vendor/smarty/smarty/libs/plugins/function.html_select_time.php','function'=>'smarty_function_html_select_time',),));
?>
    <div class="workBack">
      <form action="lib/results/tcCreatedPerUserOnTestProject.php" method="post">
        <input type="hidden" id="tproject_id" name="tproject_id" value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->tproject_id, ENT_QUOTES, 'UTF-8', true);?>
" />
        <input type="hidden" id="do_action" name="do_action" value="result" />
        <div>
          <table class="simple" style="text-align: center; margin-left: 0px;">
            <tr>
                <th width="34%"><?php echo $_smarty_tpl->tpl_vars['labels']->value['th_user'];?>
</th>
                <th width="33%"><?php echo $_smarty_tpl->tpl_vars['labels']->value['th_start_time'];?>
</th>
                <th width="33%"><?php echo $_smarty_tpl->tpl_vars['labels']->value['th_end_time'];?>
</th>
            </tr>
            <tr>
            	<td align="center">
                <select name="user_id">
                  <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['gui']->value->users->items, 'login', false, 'user');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['user']->value => $_smarty_tpl->tpl_vars['login']->value) {
?>
                    <option value="<?php echo $_smarty_tpl->tpl_vars['user']->value;?>
" <?php if ($_smarty_tpl->tpl_vars['user']->value == $_smarty_tpl->tpl_vars['gui']->value->user_id) {?> selected="selected" <?php }?>><?php echo htmlspecialchars($_smarty_tpl->tpl_vars['login']->value, ENT_QUOTES, 'UTF-8', true);?>
</option>
                  <?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
		  	        </select>
                </td>
                <td align="center">
                   <table border='0'>
                    <tr>
                        <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['date'];?>
</td>
                        <td>
                            <input type="text" 
                                   name="selected_start_date" id="selected_start_date" 
                                   value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->selected_start_date, ENT_QUOTES, 'UTF-8', true);?>
" 
                                   onclick="showCal('selected_start_date-cal','selected_start_date','<?php echo $_smarty_tpl->tpl_vars['gsmarty_datepicker_format']->value;?>
');" 
                                   readonly="readonly" />
                            <img title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['show_calender'];?>
" src="<?php echo @constant('TL_THEME_IMG_DIR');?>
/calendar.gif"
                                 onclick="showCal('selected_start_date-cal','selected_start_date','<?php echo $_smarty_tpl->tpl_vars['gsmarty_datepicker_format']->value;?>
');" />
                            <div id="selected_start_date-cal" style="position:absolute;width:240px;left:300px;z-index:1;"></div>
                        </td>
                    </tr>
                    <tr>
                        <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['hour'];?>
</td>
                        <td align='left'><?php echo smarty_function_html_select_time(array('prefix'=>"start_",'display_minutes'=>false,'time'=>$_smarty_tpl->tpl_vars['gui']->value->selected_start_time,'display_seconds'=>false,'use_24_hours'=>true),$_smarty_tpl);?>

                        </td>
                    </tr>
                  </table>
                </td>
                <td align="center">
                   <table border='0'>
                       <tr>
                           <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['date'];?>
</td>
                           <td>
                                <input type="text" 
                                       name="selected_end_date" id="selected_end_date" 
                                       value="<?php echo htmlspecialchars($_smarty_tpl->tpl_vars['gui']->value->selected_end_date, ENT_QUOTES, 'UTF-8', true);?>
" 
                                       onclick="showCal('selected_end_date-cal','selected_end_date','<?php echo $_smarty_tpl->tpl_vars['gsmarty_datepicker_format']->value;?>
');" readonly />
                                <img title="<?php echo $_smarty_tpl->tpl_vars['labels']->value['show_calender'];?>
" src="<?php echo @constant('TL_THEME_IMG_DIR');?>
/calendar.gif"
                                     onclick="showCal('selected_end_date-cal','selected_end_date','<?php echo $_smarty_tpl->tpl_vars['gsmarty_datepicker_format']->value;?>
');" >
                                <div id="selected_end_date-cal" style="position:absolute;width:240px;left:300px;z-index:1;"></div>
                           </td>
                       </tr>
                       <tr>
                           <td><?php echo $_smarty_tpl->tpl_vars['labels']->value['hour'];?>
</td>
                           <td align='left'><?php echo smarty_function_html_select_time(array('prefix'=>"end_",'display_minutes'=>false,'time'=>$_smarty_tpl->tpl_vars['gui']->value->selected_end_time,'display_seconds'=>false,'use_24_hours'=>true),$_smarty_tpl);?>
</td>
                       </tr>
                   </table>
                </td>
            </tr>
          </table>
        </div>
        <div>
        	<input type="submit" value="<?php echo $_smarty_tpl->tpl_vars['labels']->value['submit_query'];?>
"/>
        </div>
      </form>
    </div><?php }
}
