<style>
	input, select{
		margin-bottom: 20px;
	}
</style>

<h1>Kategória módosítása</h1>
<ul class="projects-ul">

<form enctype='multipart/form-data' action='' method='POST'>
	<input type="hidden" name="do" id="do" value="true">
	<input type="hidden" name="dlid" id="dlid" value="<?if(!$uj):?><?=$kateg->dl_id?><?else:?>uj<?endif;?>">
  <p>
    <b>Típus:</b> <br>
    <select name="tipus">
    		<option value="door"<?if($kateg->tipus == "door"):?> selected="selected"<?endif;?>>door</option>
    		<option value="group"<?if($kateg->tipus == "group"):?> selected="selected"<?endif;?>>group</option>
    		<option value="lamp"<?if($kateg->tipus == "lamp"):?> selected="selected"<?endif;?>>lamp</option>
    		<option value="object"<?if($kateg->tipus == "object"):?> selected="selected"<?endif;?>>object</option>
    		<option value="project"<?if($kateg->tipus == "project"):?> selected="selected"<?endif;?>>project</option>
    		<option value="window"<?if($kateg->tipus == "window"):?> selected="selected"<?endif;?>>window</option>
    	</select>
  </p>
  <p>
    <b>Magyar neve:</b> <br>
    <input type=text name='nev_hun' id='nev_hun' value='<?if(!$uj):?><?=$kateg->nev_hun?><?endif;?>'>
  </p>
  <p>
    <b>Angol neve:</b> <br>
    <input type=text name='nev_eng' id='nev_eng' value='<?if(!$uj):?><?=$kateg->nev_eng?><?endif;?>'>
  </p>

    <br />

    <input type=submit value='MÓDOSÍT'>

</form>
</ul>
