<?php
/* Smarty version 4.3.1, created on 2026-01-16 23:15:13
  from '/home/sistemasgimnasio/public_html/reservas/tpl/Admin/Users/user-update.tpl' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '4.3.1',
  'unifunc' => 'content_696ac681edf540_89348165',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '915ebe0d3727012d90db3471d93fd4ff19c839c2' => 
    array (
      0 => '/home/sistemasgimnasio/public_html/reservas/tpl/Admin/Users/user-update.tpl',
      1 => 1695632415,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_696ac681edf540_89348165 (Smarty_Internal_Template $_smarty_tpl) {
$_smarty_tpl->_checkPlugins(array(0=>array('file'=>'/home/sistemasgimnasio/public_html/reservas/vendor/smarty/smarty/libs/plugins/function.html_options.php','function'=>'smarty_function_html_options',),));
?>
<div>
	<div id="updateUserResults" class="alert alert-danger no-show validationSummary">
		<ul>
            <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['async_validator'][0], array( array('id'=>"emailformat",'key'=>"ValidEmailRequired"),$_smarty_tpl ) );?>

            <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['async_validator'][0], array( array('id'=>"uniqueemail",'key'=>"UniqueEmailRequired"),$_smarty_tpl ) );?>

            <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['async_validator'][0], array( array('id'=>"uniqueusername",'key'=>"UniqueUsernameRequired"),$_smarty_tpl ) );?>

            <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['async_validator'][0], array( array('id'=>"updateAttributeValidator",'key'=>''),$_smarty_tpl ) );?>

		</ul>
	</div>
	<div class="col-sm-12 col-md-6">

		<div class="form-group has-feedback">
			<label for="username"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"Username"),$_smarty_tpl ) );?>
</label>
			<input type="text" <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['formname'][0], array( array('key'=>"USERNAME"),$_smarty_tpl ) );?>
 class="required form-control" required
				   id="username" value="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['User']->value->Username(), ENT_QUOTES, 'UTF-8', true);?>
"/>
			<i class="glyphicon glyphicon-asterisk form-control-feedback"
			   data-bv-icon-for="username"></i>
		</div>
	</div>

	<div class="col-sm-12 col-md-6">
		<div class="form-group has-feedback">
			<label for="email"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"Email"),$_smarty_tpl ) );?>
</label>
			<input type="text" <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['formname'][0], array( array('key'=>"EMAIL"),$_smarty_tpl ) );?>
 class="required form-control" required
				   id="email" value="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['User']->value->EmailAddress(), ENT_QUOTES, 'UTF-8', true);?>
"/>
			<i class="glyphicon glyphicon-asterisk form-control-feedback"
			   data-bv-icon-for="email"></i>
		</div>
	</div>

	<div class="col-sm-12 col-md-6">
		<div class="form-group has-feedback">
			<label for="fname"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"FirstName"),$_smarty_tpl ) );?>
</label>
			<input type="text" <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['formname'][0], array( array('key'=>"FIRST_NAME"),$_smarty_tpl ) );?>
 class="required form-control" required
				   id="fname" value="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['User']->value->FirstName(), ENT_QUOTES, 'UTF-8', true);?>
"/>
			<i class="glyphicon glyphicon-asterisk form-control-feedback"
			   data-bv-icon-for="fname"></i>
		</div>
	</div>

	<div class="col-sm-12 col-md-6">
		<div class="form-group has-feedback">
			<label for="lname"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"LastName"),$_smarty_tpl ) );?>
</label>
			<input type="text" <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['formname'][0], array( array('key'=>"LAST_NAME"),$_smarty_tpl ) );?>
 class="required form-control" required
				   id="lname" value="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['User']->value->LastName(), ENT_QUOTES, 'UTF-8', true);?>
"/>
			<i class="glyphicon glyphicon-asterisk form-control-feedback"
			   data-bv-icon-for="lname"></i>
		</div>
	</div>

	<div class="col-sm-12 col-md-6">
		<div class="form-group">
			<label for="timezone"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"Timezone"),$_smarty_tpl ) );?>
</label>
			<select <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['formname'][0], array( array('key'=>'TIMEZONE'),$_smarty_tpl ) );?>
 id='timezone' class="form-control">
                <?php echo smarty_function_html_options(array('values'=>$_smarty_tpl->tpl_vars['Timezones']->value,'output'=>$_smarty_tpl->tpl_vars['Timezones']->value,'selected'=>((string)$_smarty_tpl->tpl_vars['User']->value->Timezone())),$_smarty_tpl);?>

			</select>
		</div>
	</div>

	<div class="col-sm-12 col-md-6">

		<div class="form-group">
			<label for="phone"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"Phone"),$_smarty_tpl ) );?>
</label>
			<input type="text" <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['formname'][0], array( array('key'=>"PHONE"),$_smarty_tpl ) );?>
 class="form-control" id="phone" value="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['User']->value->GetAttribute(UserAttribute::Phone), ENT_QUOTES, 'UTF-8', true);?>
"/>
		</div>
	</div>

	<div class="col-sm-12 col-md-6">
		<div class="form-group">
			<label for="organization"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"Organization"),$_smarty_tpl ) );?>
</label>
			<input type="text" <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['formname'][0], array( array('key'=>"ORGANIZATION"),$_smarty_tpl ) );?>
 class="form-control"
				   id="organization" value="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['User']->value->GetAttribute(UserAttribute::Organization), ENT_QUOTES, 'UTF-8', true);?>
"/>
		</div>
	</div>

	<div class="col-sm-12 col-md-6">
		<div class="form-group">
			<label for="position"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"Position"),$_smarty_tpl ) );?>
</label>
			<input type="text" <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['formname'][0], array( array('key'=>"POSITION"),$_smarty_tpl ) );?>
 class="form-control" id="position" value="<?php echo htmlspecialchars((string)$_smarty_tpl->tpl_vars['User']->value->GetAttribute(UserAttribute::Position), ENT_QUOTES, 'UTF-8', true);?>
"/>
		</div>
	</div>

	<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['Attributes']->value, 'attribute');
$_smarty_tpl->tpl_vars['attribute']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['attribute']->value) {
$_smarty_tpl->tpl_vars['attribute']->do_else = false;
?>
		<div class="col-sm-12 col-md-6">
			<?php ob_start();
echo $_smarty_tpl->tpl_vars['User']->value->GetAttributeValue($_smarty_tpl->tpl_vars['attribute']->value->Id());
$_prefixVariable1 = ob_get_clean();
echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['control'][0], array( array('type'=>"AttributeControl",'attribute'=>$_smarty_tpl->tpl_vars['attribute']->value,'value'=>$_prefixVariable1),$_smarty_tpl ) );?>

		</div>
	<?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
		<div class="clearfix">&nbsp;</div>
</div>
<?php }
}
