<style type="text/css">

    div.registration_form_container{
        margin: 0;
        padding: 10px;
        border: 1px solid #c4c4c4;
    }
    
    div.error{
        color: red;
        text-align: center;
    }
    
    div.event_chooser td.full{
        background: url('/public/img/bg/jqueryui/c1bebe_light_gray_crossed.png') repeat scroll 50% 50% #c1bebe;
    }
	
	input[type="text"] {
		width: 320px;
	}
	
	#registration_form li{
		list-style-type: none;
	}

</style>


<div class="registration_form_container">
<?=form_open('events/oktatoivizsga', array('id' => 'registration_form'))?>
<?=form_hidden('do', 'OK')?>
<div style="text-align: center">
<ul>
	<?//=print_r($idopontok);?>
	<?foreach($idopontok as $date):?>
		<li>
			<input type="radio" name="test_id" value="<?=$date->test_id?>" <?if($esemid == $date->test_id):?> checked="checked"<?endif;?> />
			<?=substr($date->test_begin_time,0,-3)?>  - <?=substr($date->test_end_time,-8,5)?>
		</li>
	<?endforeach;?>
	
</ul>
</div>

<table cellpadding="5" cellspacing="0" align="center" width="450px">
		<tr>
			<td><strong><?=lang('events_form_name')?>:</strong></td>
			<td><input type="text" name="nev" id="nev" value="<?=$this->input->post('nev')?>" /></td>
		</tr>
		<tr>
			<td><?=lang('events_form_city')?>:</td>
			<td><input type="text" name="varos" value="<?=$this->input->post('varos')?>" /></td>
		</tr>
		<tr>
			<td><?=lang('events_form_company')?>:</td>
			<td><input type="text" name="cegnev" value="<?=$this->input->post('cegnev')?>" /></td>
		</tr>
		<tr>
			<td><?=lang('events_form_zip')?>:</td>
			<td><input type="text" name="irsz" value="<?=$this->input->post('irsz')?>" /></td>
		</tr>
		<tr>
			<td><?=lang('events_form_address')?>:</td>
			<td><input type="text" name="cim" value="<?=$this->input->post('cim')?>" /></td>
		</tr>
		<tr>
			<td><strong><?=lang('events_form_phone')?>:</strong></td>
			<td><input type="text" name="tel" id="tel" value="<?=$this->input->post('tel')?>" /></td>
		</tr>
		<tr>
			<td nowrap="nowrap"><strong><?=lang('events_form_email')?>:</strong></td>
			<td><input type="text" name="email" id="email" value="<?=$this->input->post('email')?>" /></td>
		</tr>
		<tr>
			<td><?=lang('events_form_comment')?>:</td>
			<td><input type="text" name="comment" value="<?=$this->input->post('comment')?>" /></td>
		</tr>
		<tr>
			<td align="center" colspan="4">
				<button name="mehet" type="submit" id="mehet" ><?=lang('events_form_sub_reg')?></button>
			</td>
		</tr>
	</table>
<?=form_close()?>
</div>