<style type="text/css">
form table input[type=text], form table select, form table textarea{
	width: 240px;
}
</style>
<script type='text/javascript'>
function checkForm(){
	var nyelv = <?if(hun()):?>'hun'<?else:?>'eng'<?endif;?>;
	if( checkFormPersonal(nyelv) ){
		jQuery('#urlap').submit();
	}
}
</script>


<h1><?=$this->lang->line('business_act_h1')?></h1>

<div class="float-50">
	<h2><?if($this->muser->user['lang']=='hun'):?>Adatok kitöltése<?else:?>Submit form<?endif;?></h2>
	<?if(substr($ser,0,2)=='99'):?>
	<?=form_open('business/activate_30_99',array('id'=>'urlap'))?>
	<?else:?>
	<?=form_open('business/activate_30')?>
	<?endif;?>
		<?=form_hidden('do','act30')?>
		<table width="100%">
				<tr>
					<td width="75">
						<strong><?if($this->muser->user['lang']=='hun'):?>Sorozatszám<?else:?>Serial<?endif;?>:</strong>
					</td>
					<td width="auto">
						<input type="text" size="25" name="ser" id="ser" value="<?=$ser?>"/>
					</td>
				</tr>
				<tr>
					<td width="75">
						<strong><?if($this->muser->user['lang']=='hun'):?>Visszajelzési kód<?else:?>Request Code<?endif;?>:</strong>
					</td>
					<td width="auto">
						<input type="text" size="25" name="pwd" id="pwd" value="<?=$pwd?>"/>
					</td>
				</tr>
				<?if(substr($ser,0,2)=='99' || substr($ser,0,2)=='96'):?>
				<tr>
					<td colspan="2">
						<br />
						<b><?=lang('ct_details')?></b><br />
					</td>
				</tr>
				<?=$this->load->view('form_general')?>
				<tr>
				<td><?=lang('subject')?></td>
				<td>
					<select id="tema" name="tema">
						<option selected="selected" value="<?=lang('act_activate')?>"><?=lang('act_activate')?></option>
						<option value="<?=lang('act_more30day')?>"><?=lang('act_more30day')?></option>
						<option value="<?=lang('contact_other')?>"><?=lang('contact_other')?></option>
					</select>
				</td>
				</tr>
				<tr>
					<td valign="top"><label for="uzenet"><?=lang('message')?></label></td>
					<td>
						<textarea rows="5" cols="30" name="uzenet" id="uzenet"></textarea>
					</td>
				</tr>
				<?else:?>
				<tr>
					<td width="75">
						<strong><?if($this->muser->user['lang']=='hun'):?>E-mail<?else:?>E-Mail<?endif;?>:</strong>
					</td>
					<td width="auto">
						<input type="text" size="25" name="strEMail" id="email" />
					</td>
				</tr>
				<?endif;?>
				<tr>
					<td width="75">&nbsp;</td>
					<td width="auto">
						<input type="button" class="send" value="<?=lang('send')?>" style="width: 80px;" onclick="checkForm()" />
					</td>
				</tr>
		</table>
	</form>
</div>

<div class="float-50">
	<?=$page->page_body?>
</div>
