Files
code-cegled/template/templates_c/f630f58b79cccf8510dd4d524c0401091c5b6621_0.file.user_data_view.tpl.php
2016-11-10 08:19:53 +00:00

276 lines
9.2 KiB
PHP

<?php /* Smarty version 3.1.27, created on 2016-11-06 22:44:01
compiled from "template/templates/user_data_view.tpl" */ ?>
<?php
/*%%SmartyHeaderCode:238806482581fa421e0b266_15047814%%*/
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'f630f58b79cccf8510dd4d524c0401091c5b6621' =>
array (
0 => 'template/templates/user_data_view.tpl',
1 => 1478468640,
2 => 'file',
),
),
'nocache_hash' => '238806482581fa421e0b266_15047814',
'variables' =>
array (
'user_data' => 0,
'shirt_size_assoc_array' => 0,
'shirt_size_array' => 0,
'school_assoc_array' => 0,
'school_array' => 0,
'school_city_assoc_array' => 0,
'school_city_array' => 0,
'parent_assoc_array' => 0,
'parent_array' => 0,
),
'has_nocache_code' => false,
'version' => '3.1.27',
'unifunc' => 'content_581fa421e91aa6_95907828',
),false);
/*/%%SmartyHeaderCode%%*/
if ($_valid && !is_callable('content_581fa421e91aa6_95907828')) {
function content_581fa421e91aa6_95907828 ($_smarty_tpl) {
$_smarty_tpl->properties['nocache_hash'] = '238806482581fa421e0b266_15047814';
?>
<table>
<tr>
<td colspan="2"><a href="/admin/edit_member/<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_id'];?>
">SZERKESZTÉS</a></td>
</tr>
<tr>
<td colspan="2"><?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_name'];?>
</td>
</tr>
<tr>
<td>Aktív: </td>
<td><input type="checkbox" name="uk_is_active" id="uk_is_active" value="1" <?php if (1 == $_smarty_tpl->tpl_vars['user_data']->value['uk_is_active']) {?>checked<?php }?> disabled></td>
</tr>
<tr>
<td>Utolsó módosítás dátuma: </td>
<td><input type="text" name="uk_last_modified" id="uk_last_modified" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_last_modified'];?>
"disabled></td>
</tr>
<tr>
<td>Jelszó: </td>
<td><input type="text" name="uk_password" id="uk_password" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_password'];?>
"disabled></td>
</tr>
<tr>
<td>Nem: </td>
<td>
<input type="radio" name="uk_gender" value="1" <?php if (1 == $_smarty_tpl->tpl_vars['user_data']->value['uk_gender']) {?>checked<?php }?> disabled>Fiú
&nbsp;&nbsp;&nbsp;
<input type="radio" name="uk_gender" value="2" <?php if (2 == $_smarty_tpl->tpl_vars['user_data']->value['uk_gender']) {?>checked<?php }?> disabled>Lány
</td>
</tr>
<tr>
<td>Születési dátum: </td>
<td><input type="text" name="uk_birth_date" id="uk_birth_date" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_birth_date'];?>
"disabled></td>
</tr>
<tr>
<td>Lakcím: </td>
<td><input type="text" name="uk_address" id="uk_address" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_address'];?>
"disabled></td>
</tr>
<tr>
<td>Első edzés dátuma: </td>
<td><input type="text" name="uk_first_training" id="uk_first_training" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_first_training'];?>
"disabled></td>
</tr>
<tr>
<td>Kéz: </td>
<td>
<input type="radio" name="uk_hand" value="1" <?php if (1 == $_smarty_tpl->tpl_vars['user_data']->value['uk_hand']) {?>checked<?php }?> disabled>Balkezes
&nbsp;&nbsp;&nbsp;
<input type="radio" name="uk_hand" value="2" <?php if (2 == $_smarty_tpl->tpl_vars['user_data']->value['uk_hand']) {?>checked<?php }?> disabled>Jobbkezes
</td>
</tr>
<tr>
<td>Email cím: </td>
<td><?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_email'];?>
</td>
</tr>
<tr>
<td>Telefonszám: </td>
<td><?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_phone'];?>
</td>
</tr>
<tr>
<td>Facebbok: </td>
<td><?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_facebook'];?>
</td>
</tr>
<tr>
<td>Pólóméret: </td>
<td>
<select name="shirt_size" id="shirt_size" disabled>
<option value="null"> - </option>
<?php
$_from = $_smarty_tpl->tpl_vars['shirt_size_assoc_array']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['shirt_size_array'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['shirt_size_array']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['shirt_size_array']->value) {
$_smarty_tpl->tpl_vars['shirt_size_array']->_loop = true;
$foreach_shirt_size_array_Sav = $_smarty_tpl->tpl_vars['shirt_size_array'];
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['shirt_size_array']->value['shirt_id'];?>
"<?php if ($_smarty_tpl->tpl_vars['shirt_size_array']->value['shirt_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_shirt_size_ss_id']) {?> selected<?php }?>>
<?php echo $_smarty_tpl->tpl_vars['shirt_size_array']->value['shirt_name'];?>
</option>
<?php
$_smarty_tpl->tpl_vars['shirt_size_array'] = $foreach_shirt_size_array_Sav;
}
?>
</select>
</td>
</tr>
<tr>
<td>Iskola neve: </td>
<td>
<select name="uk_school_sc_id" id="uk_school_sc_id" disabled>
<option value="null"> - </option>
<?php
$_from = $_smarty_tpl->tpl_vars['school_assoc_array']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['school_array'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['school_array']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['school_array']->value) {
$_smarty_tpl->tpl_vars['school_array']->_loop = true;
$foreach_school_array_Sav = $_smarty_tpl->tpl_vars['school_array'];
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['school_array']->value['sc_id'];?>
" <?php if ($_smarty_tpl->tpl_vars['school_array']->value['sc_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_school_sc_id']) {?> selected<?php }?>>
<?php echo $_smarty_tpl->tpl_vars['school_array']->value['sc_name'];?>
</option>
<?php
$_smarty_tpl->tpl_vars['school_array'] = $foreach_school_array_Sav;
}
?>
</select>
</td>
</tr>
<tr>
<td>Iskola települése: </td>
<td>
<select name="uk_school_city_scc_id" id="uk_school_city_scc_id" disabled>
<option value="null"> - </option>
<?php
$_from = $_smarty_tpl->tpl_vars['school_city_assoc_array']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['school_city_array'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['school_city_array']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['school_city_array']->value) {
$_smarty_tpl->tpl_vars['school_city_array']->_loop = true;
$foreach_school_city_array_Sav = $_smarty_tpl->tpl_vars['school_city_array'];
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['school_city_array']->value['scc_id'];?>
" <?php if ($_smarty_tpl->tpl_vars['school_city_array']->value['scc_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_school_city_scc_id']) {?> selected<?php }?>>
<?php echo $_smarty_tpl->tpl_vars['school_city_array']->value['scc_city'];?>
</option>
<?php
$_smarty_tpl->tpl_vars['school_city_array'] = $foreach_school_city_array_Sav;
}
?>
</select>
</td>
</tr>
<tr>
<td>Iskola kerülete: </td>
<td><input type="text" name="uk_school_district" id="uk_school_district" value="<?php echo $_smarty_tpl->tpl_vars['user_data']->value['uk_school_district'];?>
" disabled></td>
</tr>
<tr>
<td>Szülő1: </td>
<td>
<select name="parent1" id="parent1" disabled>
<option value="null"> - </option>
<?php
$_from = $_smarty_tpl->tpl_vars['parent_assoc_array']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['parent_array'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['parent_array']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['parent_array']->value) {
$_smarty_tpl->tpl_vars['parent_array']->_loop = true;
$foreach_parent_array_Sav = $_smarty_tpl->tpl_vars['parent_array'];
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_id'];?>
"<?php if ($_smarty_tpl->tpl_vars['parent_array']->value['up_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_parent_1']) {?> selected<?php }?>>
<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_name'];?>
</option>
<?php
$_smarty_tpl->tpl_vars['parent_array'] = $foreach_parent_array_Sav;
}
?>
</select>
</td>
</tr>
<tr>
<td>Szülő2: </td>
<td>
<select name="parent1" id="parent1" disabled>
<option value="null"> - </option>
<?php
$_from = $_smarty_tpl->tpl_vars['parent_assoc_array']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$_smarty_tpl->tpl_vars['parent_array'] = new Smarty_Variable;
$_smarty_tpl->tpl_vars['parent_array']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['parent_array']->value) {
$_smarty_tpl->tpl_vars['parent_array']->_loop = true;
$foreach_parent_array_Sav = $_smarty_tpl->tpl_vars['parent_array'];
?>
<option value="<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_id'];?>
"<?php if ($_smarty_tpl->tpl_vars['parent_array']->value['up_id'] == $_smarty_tpl->tpl_vars['user_data']->value['uk_parent_2']) {?> selected<?php }?>>
<?php echo $_smarty_tpl->tpl_vars['parent_array']->value['up_name'];?>
</option>
<?php
$_smarty_tpl->tpl_vars['parent_array'] = $foreach_parent_array_Sav;
}
?>
</select>
</td>
</tr>
</table><?php }
}
?>