{include file="$gentemplates/index_top_popup.tpl"}
	<!-- central part -->
		<div style="width:100%;">
			{if $form.err}
			<p class="error_msg">*&nbsp;{$form.err}</p>
			{/if}
			<!-- header -->
			<form method="post" name="image_form" id="image_form" action="{$site_root}/{$seo.blog}?sel=upload_file&id_profile={$form.id_profile}" enctype="multipart/form-data">
				<p>
					{$lang.blog.image_upload}:
					<input type="file" name="upload_file" id="upload_file">
				</p>
				<p>
					<input type="submit" value="{$button.upload}">&nbsp;&nbsp;
					<input type="button" onclick="javascript: window.opener.focus(); window.close();" value="{$button.close}">
				</p>
			</form>
		</div>
	<!-- /central part -->
