<?php

/* Smarty version 2.6.28, created on 2015-05-26 18:02:39
   compiled from com_users_edit_profile.tpl */
require_once SMARTY_CORE_DIR . 'core.load_plugins.php';
smarty_core_load_plugins(array('plugins' => array(array('function', 'add_js', 'com_users_edit_profile.tpl', 1, false), array('function', 'add_css', 'com_users_edit_profile.tpl', 2, false), array('function', 'csrf_token', 'com_users_edit_profile.tpl', 23, false), array('function', 'city_input', 'com_users_edit_profile.tpl', 49, false), array('function', 'dateform', 'com_users_edit_profile.tpl', 55, false), array('modifier', 'escape', 'com_users_edit_profile.tpl', 31, false))), $this);
echo cmsSmartyAddJS(array('file' => 'includes/jquery/tabs/jquery.ui.min.js'), $this);
?>

<?php 
echo cmsSmartyAddCSS(array('file' => 'includes/jquery/tabs/tabs.css'), $this);
?>


<?php 
echo '
	<script type="text/javascript">
		$(function(){$(".uitabs").tabs();});
	</script>
';
?>


<div class="con_heading"><?php 
echo $this->_tpl_vars['LANG']['CONFIG_PROFILE'];
?>
</div>

<div id="profiletabs" class="uitabs">
    <ul id="tabs">
        <li><a href="#about"><span><?php 
                <td style="padding-left:5px">
                    <input type="submit" name="show_invite" value="<?php 
        echo $this->_tpl_vars['LANG']['SHOW_INVITE'];
        ?>
" />
                </td>
            </tr>
        </table>
        </form>

        <?php 
    } else {
        ?>

        <?php 
        echo cmsSmartyAddJS(array('file' => 'components/registration/js/check.js'), $this);
        ?>


		 
        <form id="regform" name="regform" method="post" action="/registration/add">
            <input type="hidden" name="csrf_token" value="<?php 
        echo smarty_function_csrf_token(array(), $this);
        ?>
" />
            <table width="100%" border="0" align="center" cellpadding="5" cellspacing="0">
			  <tr>
						<td valign="top" class=""><strong>Тип користувача:</strong></td>
						<td valign="top" class="usertypeinput">

                            <span  ><input id="atos_group" type="radio" name="group_id" value="11" checked /><label class="regtypelabel"  for="atos_group" >Учасник АТО</label></span>
    echo $this->_tpl_vars['LANG']['PHONES'];
    ?>
:</div><div class="value"><?php 
    echo $this->_tpl_vars['usr']['phones'];
    ?>
</div></div>
							<?php 
}
?>
							
							<?php 
if ($this->_tpl_vars['usr']['isfriend'] || $this->_tpl_vars['is_admin']) {
    ?>
					
							<?php 
    echo cmsSmartyAddJS(array('file' => 'includes/jquery/jquery.nospam.js'), $this);
    ?>

							<div class="field">
								<div class="title">E-mail:</div>
								<div class="value"><a href="#" rel="<?php 
    echo is_array($_tmp = $this->_tpl_vars['usr']['email']) ? $this->_run_mod_handler('NoSpam', true, $_tmp) : smarty_modifier_NoSpam($_tmp);
    ?>
" class="email"><?php 
    echo $this->_tpl_vars['usr']['email'];
    ?>
</a></div>
							</div>
							<?php 
    echo '
								<script>
<?php 
if (!$this->_tpl_vars['stop_photo']) {
    if ($this->_tpl_vars['uload_type'] == 'multi') {
        echo cmsSmartyAddJS(array('file' => 'includes/swfupload/swfupload.js'), $this);
        ?>

<?php 
        echo cmsSmartyAddJS(array('file' => 'includes/swfupload/swfupload.queue.js'), $this);
        ?>

<?php 
        echo cmsSmartyAddJS(array('file' => 'includes/swfupload/fileprogress.js'), $this);
        ?>

<?php 
        echo cmsSmartyAddJS(array('file' => 'includes/swfupload/handlers.js'), $this);
        ?>

<?php 
        echo cmsSmartyAddCSS(array('file' => 'includes/swfupload/swfupload.css'), $this);
        ?>


<script type="text/javascript">
    <?php 
        echo '
    var swfu;
    var uploadedCount = 0;

    window.onload = function() {
        var settings = {