		
<script language="javascript" type="text/javascript">
urlStatic = '{$urlStatic}';
urlActionUpload = '{url Image=UploadImage}';
</script>

<div class="panelRightTop"></div>
	
		<div class="panelRightBody">
			<div class="paddedContent">
{dropDownContainer title="Zdjecia"}
<!-- Upload Button, use any id you wish-->
{*<div id="upload" ><span>Dodaj zdjęcie<span></div><span id="status" ></span>
			
			<ul id="files" ></ul>*}
			<form action="{url Image=UploadImage}" method="post" enctype="multipart/form-data" >
				<input type="file" name="uploadfile" onchange="submit();" />
			</form>
			<br />
			<form action="{url Image=SortImage}" method="post" enctype="multipart/form-data" >
			<div>
			{foreach from=$arrayPhoto item=image}
				<div style="float: left; margin-right: 5px; margin-bottom: 5px;" >
					<img src="{$urlStatic}/upload/Banner/111/{$image->GetPath()}"/>
					<div> 
					Kolejność <input name="sort[{$image->GetId()}]" size="3" value="{$image->GetPosition()}" />
					<a href="{url Image=DeleteImageBanner reload=true photo=$image->GetId()}"><img src="{$urlStatic}/image/Admin/iconDelete.gif" alt="Usuń" title="Usuń" border="0"/></a>
					</div>
				</div> 
				{/foreach}
			</div>
			
			<div class="clearBoth"></div>
{/dropDownContainer}
			</div>
		</div>
		<div class="panelRightBottom">
			<div class="panelButtons">
					<input type="submit" class="button buttonZapisz" value="" name="save" />
			</div>
		</div>
	</form>
