286 lines
8.1 KiB
PHP
286 lines
8.1 KiB
PHP
<?php /* Smarty version 3.1.27, created on 2016-11-04 09:14:58
|
|
compiled from "template/templates/user_data_create.tpl" */ ?>
|
|
<?php
|
|
/*%%SmartyHeaderCode:783135917581c438256aab2_59237290%%*/
|
|
if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_valid = $_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'70cdad834f07a58eb566592c6047fdf605717fa1' =>
|
|
array (
|
|
0 => 'template/templates/user_data_create.tpl',
|
|
1 => 1478247297,
|
|
2 => 'file',
|
|
),
|
|
),
|
|
'nocache_hash' => '783135917581c438256aab2_59237290',
|
|
'variables' =>
|
|
array (
|
|
'school_assoc_array' => 0,
|
|
'school_array' => 0,
|
|
'school_city_assoc_array' => 0,
|
|
'school_city_array' => 0,
|
|
'shirt_size_assoc_array' => 0,
|
|
'shirt_size_array' => 0,
|
|
'parent_assoc_array' => 0,
|
|
'parent_array' => 0,
|
|
),
|
|
'has_nocache_code' => false,
|
|
'version' => '3.1.27',
|
|
'unifunc' => 'content_581c43825bea77_11262406',
|
|
),false);
|
|
/*/%%SmartyHeaderCode%%*/
|
|
if ($_valid && !is_callable('content_581c43825bea77_11262406')) {
|
|
function content_581c43825bea77_11262406 ($_smarty_tpl) {
|
|
|
|
$_smarty_tpl->properties['nocache_hash'] = '783135917581c438256aab2_59237290';
|
|
?>
|
|
<form method="post">
|
|
<input type="hidden" name="action" id="action" value="user_data_create">
|
|
<table>
|
|
|
|
|
|
<tr>
|
|
<td>Név: </td>
|
|
<td><input type="text" name="uk_name" id="uk_name"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Nem: </td>
|
|
<td>
|
|
<input type="radio" name="uk_gender" value="1" checked>Fiú
|
|
|
|
<input type="radio" name="uk_gender" value="2">Lány
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Születési dátum: </td>
|
|
<td><input type="text" name="uk_birth_date" id="uk_birth_date"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Lakcím: </td>
|
|
<td><input type="text" name="uk_address" id="uk_address"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Első edzés dátuma: </td>
|
|
<td><input type="text" name="uk_first_training" id="uk_first_training"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Kéz: </td>
|
|
<td>
|
|
<input type="radio" name="uk_hand" value="1" checked>Balkezes
|
|
|
|
<input type="radio" name="uk_hand" value="2">Jobbkezes
|
|
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Email cím: </td>
|
|
<td><input type="text" name="uk_email" id="uk_email"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Telefonszám: </td>
|
|
<td><input type="text" name="uk_phone" id="uk_phone"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Facebbok: </td>
|
|
<td><input type="text" name="uk_facebook" id="uk_facebook"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Iskola neve: </td>
|
|
<td>
|
|
<select name="uk_school_sc_id" id="uk_school_sc_id">
|
|
<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 echo $_smarty_tpl->tpl_vars['school_array']->value['sc_name'];?>
|
|
|
|
</option>
|
|
<?php
|
|
$_smarty_tpl->tpl_vars['school_array'] = $foreach_school_array_Sav;
|
|
}
|
|
?>
|
|
</select>
|
|
<input type="text" name="add_school" id="add_school">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Iskola települése: </td>
|
|
<td>
|
|
<select name="uk_school_city_scc_id" id="uk_school_city_scc_id">
|
|
<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 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="0"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Pólóméret: </td>
|
|
<td>
|
|
<select name="uk_shirt_size_ss_id" id="uk_shirt_size_ss_id">
|
|
<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 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>Szülő1: </td>
|
|
<td>
|
|
<select name="uk_parent_1" id="uk_parent_1">
|
|
<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 echo $_smarty_tpl->tpl_vars['parent_array']->value['up_name'];?>
|
|
|
|
</option>
|
|
<?php
|
|
$_smarty_tpl->tpl_vars['parent_array'] = $foreach_parent_array_Sav;
|
|
}
|
|
?>
|
|
</select>
|
|
<input type="text" name="add_parent_1" id="add_parent_1">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Szülő1 email cím: </td>
|
|
<td><input type="text" name="parent_1_email" id="parent_1_email"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Szülő1 facebook: </td>
|
|
<td><input type="text" name="parent_1_facebook" id="parent_1_facebook"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Szülő1 telefonszám: </td>
|
|
<td><input type="text" name="parent_1_phone" id="parent_1_phone"></td>
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
<td>Szülő2: </td>
|
|
<td>
|
|
<select name="uk_parent_2" id="uk_parent_2">
|
|
<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 echo $_smarty_tpl->tpl_vars['parent_array']->value['up_name'];?>
|
|
|
|
</option>
|
|
<?php
|
|
$_smarty_tpl->tpl_vars['parent_array'] = $foreach_parent_array_Sav;
|
|
}
|
|
?>
|
|
</select>
|
|
<input type="text" name="add_parent_2" id="add_parent_2">
|
|
</td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td>Szülő2 email cím: </td>
|
|
<td><input type="text" name="parent_2_email" id="parent_2_email"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Szülő2 facebook: </td>
|
|
<td><input type="text" name="parent_2_facebook" id="parent_2_facebook"></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Szülő2 telefonszám: </td>
|
|
<td><input type="text" name="parent_2_phone" id="parent_2_phone"></td>
|
|
</tr>
|
|
|
|
<tr>
|
|
<td colspan="2"><input type="submit" value="Létrehozás"></td>
|
|
</tr>
|
|
|
|
</table>
|
|
</form><?php }
|
|
}
|
|
?>
|