Files
code-cegled/template/templates_c/f09a8f49095e058d92a0f3b80c517ebb26cc92d3_0.file.training_data_create.tpl.php
2016-11-10 19:08:45 +01:00

113 lines
3.5 KiB
PHP
Executable File

<?php /* Smarty version 3.1.27, created on 2016-10-30 20:09:02
compiled from "template/templates/training_data_create.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:5454241965816454e0692c1_53277471%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'f09a8f49095e058d92a0f3b80c517ebb26cc92d3' =>
array (
0 => 'template/templates/training_data_create.tpl',
1 => 1477847913,
2 => 'file',
),
),
'nocache_hash' => '5454241965816454e0692c1_53277471',
'variables' =>
array (
'training_type_assoc_array' => 0,
'training_type_array' => 0,
'coach_data_assoc_array' => 0,
'coach_data_array' => 0,
),
'has_nocache_code' => false,
'version' => '3.1.27',
'unifunc' => 'content_5816454e0fc5a2_92888657',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_5816454e0fc5a2_92888657')) {
function content_5816454e0fc5a2_92888657 ($_smarty_tpl) {
$_smarty_tpl->properties['nocache_hash'] = '5454241965816454e0692c1_53277471';
?>
<form method="post">
<input type="hidden" name="action" id="action" value="training_data_create">
<table>
<tr>
<td>Dátum: </td>
<td>
<input type="text" id="tr_date" name="tr_date">
</td>
</tr>
<tr>
<td>Típus: </td>
<td>
<select name="tr_training_type_trt_id" id="tr_training_type_trt_id">
<option value="null"> - </option>
<?php
$_from = $_smarty_tpl->tpl_vars['training_type_assoc_array']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['training_type_array'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['training_type_array']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['training_type_array']->value) {
$_smarty_tpl->tpl_vars['training_type_array']->_loop = true;
$foreach_training_type_array_Sav = $_smarty_tpl->tpl_vars['training_type_array'];
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['training_type_array']->value['trt_id'];?>
">
<?php echo $_smarty_tpl->tpl_vars['training_type_array']->value['trt_name'];?>
</option>
<?php
$_smarty_tpl->tpl_vars['training_type_array'] = $foreach_training_type_array_Sav;
}
?>
</select>
</td>
</tr>
<tr>
<td>Edző: </td>
<td>
<select name="tr_user_coach_uc_id" id="tr_user_coach_uc_id">
<option value="null"> - </option>
<?php
$_from = $_smarty_tpl->tpl_vars['coach_data_assoc_array']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['coach_data_array'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['coach_data_array']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['coach_data_array']->value) {
$_smarty_tpl->tpl_vars['coach_data_array']->_loop = true;
$foreach_coach_data_array_Sav = $_smarty_tpl->tpl_vars['coach_data_array'];
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['coach_data_array']->value['ua_id'];?>
">
<?php echo $_smarty_tpl->tpl_vars['coach_data_array']->value['ua_last_name'];?>
<?php echo $_smarty_tpl->tpl_vars['coach_data_array']->value['ua_first_name'];?>
</option>
<?php
$_smarty_tpl->tpl_vars['coach_data_array'] = $foreach_coach_data_array_Sav;
}
?>
</select>
</td>
</tr>
<tr>
<td>Minden héten ebben az időpontban</td>
<td><input type="checkbox" name="every_week"></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="Létrehozás"></td>
</tr>
</table>
</form><?php }
}
?>