<div style="margin: auto; width: 370px;">
		
		<form enctype='multipart/form-data' action='/collection/edit/<?=$object->c_id?>' method='POST' name="feltolt" id="feltolt">
		
		<div style="background: url('/public/img/collection/box_fullwidth-expanding_top.png'); width: 370px; height: 12px;">
		</div>
		
		<div style="background: url('/public/img/collection/box_fullwidth-expanding_bg.png'); width: 355px; color: white; padding: 0px 5px 0px 10px;">
		
		<table width="100%">
		<tbody>
			<tr>
			<td>
				<div style="float: left; width: auto;">
					<?=lang('forum_belepve')?>:&nbsp;&nbsp;
				</div>
				<div style="overflow: hidden; width: 180px;">
					<strong><?=$_COOKIE['azonosito']?></strong>
				</div>
			</td>
			<td align="right">
				<a style="color: rgb(221, 136, 0); text-decoration: none; font-weight: normal;" href="/collection/logout">
					<?=lang('feltolt_kilep')?>
					<img src="/public/img/link_arrow.png" style="margin: 0;" />
				</a>
			</td>
			</tr>
			</tbody>
		</table>
		
		</div>
		
		<div style="background: url('/public/img/collection/box_fullwidth-expanding_bottom.png'); width: 370px; height: 12px;">
		</div>
		
		
		<div style="position: absolute; background: url('/public/img/collection/box_image60.png'); margin-left: -87px; width: 59px; height: 59px; padding: 14px;" id="kepdoboz">
			
			<img src="/<?=$object->kep?>" style="width: 60px; height: 60px; margin: 0px;">
			
		</div>
		
		
		<div style="position: absolute; background: url('/public/img/collection/box_infobubble.png'); margin-left: 375px; width: 214px; height: 82px; padding: 15px 10px 5px 50px; color: #ff8e8e; font-weight: bold; display: none;" id="hibadoboz">
			
			<div style="overflow: hidden; height: 80px;">
				<?=lang('collec_feltoltinfok')?>
			</div>
		
		</div>
		
		<div style="position: absolute; background: url('/public/img/collection/box_infobubble.png'); margin-left: 375px; width: 244px; height: 0px; padding: 0px 10px 0px 20px; color: #ff8e8e;" id="infodoboz">
		</div>
		
		
		
		
		<div style="background: url('/public/img/collection/box_fullwidth-expanding_top.png'); width: 370px; height: 12px;">
		</div>
		
		<div style="background: url(/public/img/collection/box_fullwidth-expanding_bg.png); width: 355px; color: white; padding: 0px 5px 0px 10px;">
		
			<table style="width: 350px;">
			<tr>
				<td colspan="2"><h1 style="border: 0px none; margin-bottom: 0px;"><?=lang('collec_infok')?></h1></td>
			</tr>
			<tr>
				<td style="width: 80px;"><?=lang('collec_szerzo')?>: *</td>
				<td><input type="text" name="SzerzoField" id="SzerzoField" style="width: 250px;" value="<?=$object->szerzo?>" /></td>
			</tr>
			<tr>
				<td><?=lang('name')?>: *</td>
				<td><input type="text" name="projhectNameField" id="projhectNameField" value="<?=$object->title?>" style="width: 250px;" /></td>
			</tr>
			<tr>
				<td valign="top"><?=lang('collec_leiras')?>:</td>
				<td>
					<textarea cols="3" rows="10" name="projectDescriptionField" id="projectDescriptionField" style="width: 250px; height: 60px;"><?=$object->desc?></textarea>
				</td>
			</tr>
			<tr>
				<td style="width: 65px;"><?=lang('collec_kep')?>:
				</td>
				<td>
					<input type="file" name="kep" id="kep" style="width: 255px;" />
				</td>
			</tr>
			<tr>
				<td><?=lang('collec_kategoria')?>: *</td>
				<td>
					<select name="kategoria" id="kategoria" onchange="valtas(this.value)" style="width: 255px;">
						<option value="999">-- <?=lang('collec_valasszon')?> --</option>
						<?foreach($kategoriak as $kategoria):?>
							<option value="<?=$kategoria->dl_id?>" <?if($object->kat_id == $kategoria->dl_id):?> selected="selected"<?endif;?>>
								<?=$kategoria->nev?> (<?=$kategoria->darab?>)
							</option>
						<?endforeach;?>
						<option value="999999">-- <?=lang('collec_ujkategoria')?> --</option>
					</select>
				</td>
			</tr>
			<tr>
				<td><?if(hun()):?>Új kategória<?else:?>New Category<?endif;?>:</td>
				<td>
					<input type=text name='ujkat' id='ujkat' value='' readonly="readonly" style="width: 250px; background: #2f2f2f;" >
				</td>
			</tr>
			<tr>
				<td colspan="2" align="right">
					<input type="button" value='<?=lang('forum_szerk')?>' onclick="waitMsg()" style="background: url('/public/img/collection/button_normal.png') no-repeat; width: 120px; height: 32px; border: 0px none; padding-bottom: 3px; font-weight: bold;"><input type="button" value='Cancel' onclick="javascript:history.go(-1);" style="background: url('/public/img/collection/button_cancel.png') no-repeat; width: 98px; height: 32px; border: 0px none; padding-bottom: 3px; font-weight: bold;">
				</td>
			</tr>
			</table>
			
		</div>
		
		<div style="background: url('/public/img/collection/box_fullwidth-expanding_bottom.png'); width: 370px; height: 12px;">
		</div>
		
		
			
			
			<div style="text-align: right; color: #8d8d8d; font-size: 0.8em;">* <?=lang('collec_kozelezomezok')?></div>
			
			<input type="hidden" name="kepalap" id="kepalap" value="<?=$object->kep?>" />
			<input type="hidden" name="cid" id="cid" value="<?=$object->c_id?>" />
			<input type="hidden" name="do" id="do" value="go" />
			
		</div>
			
		</form>
		
		<div id="kategoriaklista" style="display: none;"><?foreach($kategoriak as $kategoria):?><?=$kategoria->nev?>,<?endforeach;?>
		</div>
		
	
	</div>


<script type="text/javascript">

	function waitMsg(){
		
		feltoltesellenorzes("<?=lang('feltolt_noszerzo')?>","<?=lang('feltolt_nocim')?>","<?=lang('feltolt_kathiba1')?>","<?=lang('feltolt_kathiba2')?>","<?=lang('feltolt_vanilyencsoport')?>","<?=lang('feltolt_ujkatmegerosites')?>","<?=lang('feltolt_hiba')?>");
	
	}

</script>
