first commit
This commit is contained in:
@@ -0,0 +1,106 @@
|
||||
<?php /* Smarty version 3.1.27, created on 2016-10-21 08:55:47
|
||||
compiled from "template/templates/training_data_view.tpl" */ ?>
|
||||
<?php
|
||||
/*%%SmartyHeaderCode:4160927195809bbf3ec32c5_19841586%%*/
|
||||
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
||||
$_valid = $_smarty_tpl->decodeProperties(array (
|
||||
'file_dependency' =>
|
||||
array (
|
||||
'e551c336c657b65c6d3b8bf31bcaee1b52da3391' =>
|
||||
array (
|
||||
0 => 'template/templates/training_data_view.tpl',
|
||||
1 => 1477032946,
|
||||
2 => 'file',
|
||||
),
|
||||
),
|
||||
'nocache_hash' => '4160927195809bbf3ec32c5_19841586',
|
||||
'variables' =>
|
||||
array (
|
||||
'training_data' => 0,
|
||||
'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_5809bbf3f35869_90639789',
|
||||
),false);
|
||||
/*/%%SmartyHeaderCode%%*/
|
||||
if ($_valid && !is_callable('content_5809bbf3f35869_90639789')) {
|
||||
function content_5809bbf3f35869_90639789 ($_smarty_tpl) {
|
||||
|
||||
$_smarty_tpl->properties['nocache_hash'] = '4160927195809bbf3ec32c5_19841586';
|
||||
?>
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="2"><a href="/admin/edit_training/<?php echo $_smarty_tpl->tpl_vars['training_data']->value['tr_id'];?>
|
||||
">SZERKESZTÉS</a></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>Dátum: </td>
|
||||
<td><?php echo $_smarty_tpl->tpl_vars['training_data']->value['tr_date'];?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Típus: </td>
|
||||
<td>
|
||||
<select name="tr_training_type_trt_id" id="tr_training_type_trt_id" disabled>
|
||||
<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 if ($_smarty_tpl->tpl_vars['training_type_array']->value['trt_id'] == $_smarty_tpl->tpl_vars['training_data']->value['tr_training_type_trt_id']) {?> selected<?php }?>>
|
||||
<?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" disabled>
|
||||
<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['trt_id'];?>
|
||||
"<?php if ($_smarty_tpl->tpl_vars['coach_data_array']->value['ua_id'] == $_smarty_tpl->tpl_vars['training_data']->value['tr_user_coach_uc_id']) {?> selected<?php }?>>
|
||||
<?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>
|
||||
</table><?php }
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user