		{foreach name=s item=item key=key from=$fields}
		<div class="line">
			<div class="name_side">
				{$item.field_name}{if $item.mandatory=='Y'} *{/if}:
			</div>
			{if $item.control_type!='place'}
			<div class="float_left">
				{if $item.control_type=='file'}
					{$item.html.code}
					{if isset($item.html.href)}
						<br>
						<!--span class="link" style="cursor: pointer; text-decoration: underline;" onclick="window.open(SEO_SITE_ROOT+'/ajax_class.php?sel=view_file&id_attr={$item.id}&id_obj={$id_object}', 'view_img', 'height=300, resizable=yes, scrollbars=no, width=400, menubar=no,status=no, {$default_left}=200, top=20');">{$lang.common.view_file}</span-->
						<a onclick="launchWindowAlbums('{$seo_site_root}/ajax_class.php?sel=view_file&id_attr={$item.id}&id_obj={$id_object}','',{if $item.setup.f_type eq 'image'}300{elseif $item.setup.f_type eq 'audio'}535{else}505{/if},550); return false;" style="position:relative;cursor:pointer;" >{$lang.common.view_file}</a>
						&nbsp;<input type="checkbox" name="delfile_{$item.id}" value="1">&nbsp;{$lang.common.del_file}
					{/if}
				{elseif $item.control_type!='place'}
					{$item.html}
				{/if}
			</div>
			{/if}
		</div>
			{if $item.control_type=='place'}
				<div class="line">
					<div class="name_side">
						{$lang.common.country}:
					</div>
					<div class="float_left">
						{$item.html.country}
					</div>
				</div>
				<div class="line">
					<div class="name_side">
						{$lang.common.region}:
					</div>
					<div class="float_left">
						{$item.html.region}
					</div>
				</div>
				<div class="line">
					<div class="name_side">
						{$lang.common.city}:
					</div>
					<div class="float_left">
						{$item.html.city}
					</div>
				</div>
			{/if}
			{if $item.control_type=='password'}
				<div class="line">
					<div class="name_side">
						{$lang.common.retype}&nbsp;{$item.field_name}{if $item.mandatory=='Y'} <font class="error_msg">*</font>{/if}:
					</div>
					<div class="float_left">
						<input type='password' id='attr_re_{$item.id}' name="repass_{$item.id}" style="width: 305px">
					</div>
				</div>
			{/if}
	{/foreach}

{*<!--JS CODE FOR GENERATED FORM-->*}
	{$js_code}
{*<!--JS-->*}