<script type="text/javascript">
//jQuery(document).ready(function($){
$(document).bind('mobileinit',function(){
	$.mobile.selectmenu.prototype.options.nativeMenu = false;
});
//});

function check(){
	var nyelv = <?if(hun()):?>'hun'<?else:?>'eng'<?endif;?>;
	if( checkFormPersonal(nyelv) ){
		jQuery('#urlap').submit();
	}
}
	
</script>

<?if(hun()):?>
<div data-role="page">
	<div data-role="header" data-position="fixed">
		<h1>Kapcsolat</h1>
    <a class="ui-btn ui-shadow ui-btn-corner-all ui-btn-icon-left ui-btn-up-a" data-theme="a" data-wrapperels="span" data-iconshadow="true" data-shadow="true" data-corners="true" href="/mobile" data-role="button" data-icon="arrow-l" data-ajax="false">
		<span class="ui-btn-inner ui-btn-corner-all"><span class="ui-btn-text"><?=lang('forum_vissza')?></span>
		<span class="ui-icon ui-icon-arrow-l ui-icon-shadow">&nbsp;</span></span>
    </a>
	</div>
	
	<div data-role="content">
		<b>CadLine Kft.</b><br />
		<br />
		Tel.: <a href="tel:+3613889733">0036-1-388-9733</a>, <a href="tel:+3614541678">0036-1-454-1678</a><br />
		1037 Budapest, Montevideo u. 3/b.<br />
		Fax: 00 36 1 388 98 70<br />
		E-mail: <a href="mailto:info@cadline.hu">info@cadline.hu</a><br />
		
		<iframe width="240" scrolling="no" height="210" frameborder="0" src="http://maps.google.hu/maps/ms?source=s_q&amp;hl=hu&amp;geocode=&amp;aq=0&amp;ie=UTF8&amp;hq=Cadline+Kft.,&amp;hnear=Budapest,+III.+ker%C3%BClet,+Montevide%C3%B3+utca&amp;ppyss=confirm:K%C3%B6sz%C3%B6nj%C3%BCk!+A+m%C3%B3dos%C3%ADt%C3%A1sokat+mentett%C3%BCk,+%C3%A9s+azok+az+ellen%C5%91rz%C3%A9st+k%C3%B6vet%C5%91en+nyilv%C3%A1nosak+lesznek.&amp;msa=0&amp;msid=202448163305975115560.00049c7b305c987171541&amp;ll=47.52901,19.03302&amp;spn=0.005071,0.013711&amp;z=16&amp;output=embed" marginwidth="0" marginheight="0"></iframe><br/>
	
	<p>Köszönjük, hogy érdeklődik az ARCHLine.XP tervezőprogram iránt.<br />
	Kérjük, adja meg az alábbi információkat, hogy kérdését megválaszolhassuk.<br />
	Az Ön által megadott adatokat kizárólag kérdésének megfelelően fogjuk felhasználni.</p>
	
	<form action="/contact/submit" method="post" name="urlap" id="urlap">
	
	<?
		$personalform = $this->load->view('form_general','',true);
		$personalform = str_replace(array('<td>','</td>'),'',$personalform);
		$personalform = str_replace(array('<tr>'),'<div data-role="fieldcontain">',$personalform);
		$personalform = str_replace(array('</tr>'),'</div>',$personalform);
		
		print $personalform;
	?>
	
	
	<?/*<div data-role="fieldcontain">
		<label for="name"><strong><?=lang('name')?>: </strong></label>
		<input type="text" name="name" id="name" />
	</div>
	<div data-role="fieldcontain">
		<label for="email"><strong><?=lang('email')?>: </strong></label>
		<input type="email" name="email" id="email" />
	</div>
	<div data-role="fieldcontain">
		<label for="phone"><strong><?=lang('tel')?>: </strong></label>
		<input type="tel" name="phone" id="phone" />
	</div>*/?>
	<div data-role="fieldcontain">
		<label for="subject"><?=lang('subject')?>: </label>
		<select id="subject" name="subject" data-native-menu="false">
			<option value="<?=lang('contact_req_demo')?>"><?=lang('contact_req_demo')?></option>
			<option selected="selected" value="<?=lang('contact_req_call')?>"><?=lang('contact_req_call')?></option>
			<option value="<?=lang('contact_sign_newsletter')?>"><?=lang('contact_sign_newsletter')?></option>
			<option value="<?=lang('contact_other')?>"><?=lang('contact_other')?></option>
		</select>
	</div>
	<div data-role="fieldcontain">
		<label for="message"><?=lang('message')?>: </label>
		<textarea name="message" id="message"></textarea>
	</div>
		<?/*<input type="submit" value="<?=lang('send')?>" />*/?>
		<input type="button" value="Küldés" onclick="check()" />
	</form>
	
	</div>
	
	
	<div data-role="footer">
		<p style="text-align: center">&copy; <?=lang('m_cegnev')?> | <a href="/contact" data-ajax="false"><?=lang('m_teljesv')?></a></p>
	</div>
	
</div>


<?else:?>

<div data-role="page">
	<div data-role="header" data-position="fixed">
		<h1>Contact Us</h1>
    <a class="ui-btn ui-shadow ui-btn-corner-all ui-btn-icon-left ui-btn-up-a" data-theme="a" data-wrapperels="span" data-iconshadow="true" data-shadow="true" data-corners="true" href="/mobile" data-role="button" data-icon="arrow-l" data-ajax="false">
		<span class="ui-btn-inner ui-btn-corner-all"><span class="ui-btn-text"><?=lang('forum_vissza')?></span>
		<span class="ui-icon ui-icon-arrow-l ui-icon-shadow">&nbsp;</span></span>
    </a>

	</div>
	<div data-role="content">
		<b>CadLine Network Ltd.</b><br />
		<br />
		Tel.: <a href="tel:+4402087855772">+44(0)20 8785 5772</a><br />
		E-mail: <a href="mailto:info@archlinexp.com">info@archlinexp.com</a><br />
		Skype: Skype: archline_support, cadline_support
		
		
	<p>Please fill in the form below and press the Send button and we will get back to you as soon as possible.</p>
	
	<form action="/contact/submit" method="post" name="urlap" id="urlap">
	
	<?
		$personalform = $this->load->view('form_general','',true);
		$personalform = str_replace(array('<td>','</td>'),'',$personalform);
		$personalform = str_replace(array('<tr>'),'<div data-role="fieldcontain">',$personalform);
		$personalform = str_replace(array('</tr>'),'</div>',$personalform);
		
		print $personalform;
	?>
	
	<div data-role="fieldcontain">
		<label for="subject"><strong><?=lang('subject')?>: </strong></label>
		<select id="subject" name="subject" data-native-menu="false">
			<option value="<?=lang('contact_req_demo')?>"><?=lang('contact_req_demo')?></option>
			<option selected="selected" value="<?=lang('contact_req_call')?>"><?=lang('contact_req_call')?></option>
			<option value="<?=lang('contact_sign_newsletter')?>"><?=lang('contact_sign_newsletter')?></option>
			<option value="<?=lang('contact_other')?>"><?=lang('contact_other')?></option>
		</select>
	</div>
	<div data-role="fieldcontain">
		<label for="message"><strong><?=lang('message')?>: </strong></label>
		<textarea name="message" id="message"></textarea>
	</div>
		<input type="button" value="<?=lang('send')?>" onclick="check()" />
	</form>
		
	
	</div>
	
	
	<div data-role="footer">
		<p style="text-align: center">&copy; <?=lang('m_cegnev')?> | <a href="/contact" data-ajax="false"><?=lang('m_teljesv')?></a></p>
	</div>

</div>

<?endif;?>