<div data-role="page" id="details">
	<div data-role="header" data-position="fixed">
		<h1 style="margin-left: 70px; margin-right: 15px;">Online Presentation details</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">
		<?=$page->page_body?>
		<a href="#register">Register</a>
	</div>
	
	<div data-role="footer">
    <p align="center">&copy; <?=lang('m_cegnev')?> | <a href="http://www.archlinexp.com/presentation/online" data-ajax="false"><?=lang('m_teljesv')?></a></p>
	</div>
</div>


<script type="text/javascript">
function check(){
	var nyelv = <?if(hun()):?>'hun'<?else:?>'eng'<?endif;?>;
	if( checkFormPersonal(nyelv) ){
		jQuery('#urlap').submit();
	}
}
</script>
<div data-role="page" id="register">
	<div data-role="header">
		<h1 style="margin-left: 70px; margin-right: 15px;">Register Online Presentation</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#workshop" 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">
		
	<p>Fill out the form</p>
	
	<form action="http://www.archlinexp.com/presentation/submit" method="post" data-ajax="false" id="urlap">
		<input type="hidden" name="mobile" value="yes" />
		
		<?
		$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="time">Preferred times</label>
			<select name="time" id="time" data-native-menu="false">
				<option value=""></option>
				<option value="10-12">Morning times 10 am-12 am</option>
				<option value="14-17">Afternoon times 2pm-5pm</option>
			</select>
		</div>
		<div data-role="fieldcontain">
			<fieldset data-role="controlgroup">
			<legend>Preferred days:</legend>
			<input type="checkbox" name="days[]" id="d1" value="monday" class="custom" /><label for="d1">Monday</label>
			<input type="checkbox" name="days[]" id="d2" value="tuesday" class="custom" /><label for="d2">Tuesday</label>
			<input type="checkbox" name="days[]" id="d3" value="wednesday" class="custom" /><label for="d3">Wednesday</label>
			<input type="checkbox" name="days[]" id="d4" value="thursday" class="custom" /><label for="d4">Thursday</label>
			<input type="checkbox" name="days[]" id="d5" value="friday" class="custom" /><label for="d5">Friday</label>
			</fieldset>
		</div>
		<div data-role="fieldcontain">
			<fieldset data-role="controlgroup">
			<legend>Software used:</legend>
			<input type="checkbox" name="softwares[]" id="s1" value="archline" /><label for="s1">ARCHLine.XP</label>
			<input type="checkbox" name="softwares[]" id="s2" value="autocad" /><label for="s2">AutoCAD</label>
			<input type="checkbox" name="softwares[]" id="s3" value="revit" /><label for="s3">Revit</label>
			<input type="checkbox" name="softwares[]" id="s4" value="vectorworks" /><label for="s4">Vectorworks</label>
			<input type="checkbox" name="softwares[]" id="s5" value="archicad" /><label for="s5">ArchiCAD</label>
			<input type="checkbox" name="softwares[]" id="s6" value="other" /><label for="s6">Other</label>
			</fieldset>
		</div>
		<div data-role="fieldcontain">
			<fieldset data-role="controlgroup">
			<legend>Interested in:</legend>
			<input type="checkbox" name="interested[]" id="i1" value="interior design" /><label for="i1">Interior Design</label>
			<input type="checkbox" name="interested[]" id="i2" value="architect" /><label for="i2">Architect</label>
			<input type="checkbox" name="interested[]" id="i3" value="virtual staging" /><label for="i3">Virtual Staging</label>
			<input type="checkbox" name="interested[]" id="i4" value="rendering" /><label for="i4">Rendering</label>
			</fieldset>
		</div>
		<div data-role="fieldcontain">
			<label for="purchase">I intend to purchase a CAD:</label>
			<select name="purchase" id="purchase" data-native-menu="false">
				<option value=""></option>
				<option value="no">I don’t intend to buy a CAD software</option>
				<option value="later">Maybe later</option>
				<option value="1 month">In 1 month</option>
				<option value="1-3 month">In 1-3 month</option>
				<option value="4-6 month">In 4-6 month</option>
				<option value="1 year">In 1 year</option>
			</select>
		</div>
		<div data-role="fieldcontain">
			<label for="addnotes">Note: Include any additional notes</label>
			<textarea name="addnotes" id="addnotes">Include any additional notes</textarea>
		</div>
		<input type="button" value="<?=lang('send')?>" onclick="check()" />
	</form>
	
	
	</div>
	
	<div data-role="footer">
    <p align="center">&copy; <?=lang('m_cegnev')?> | <a href="http://www.archlinexp.com/presentation/online" data-ajax="false"><?=lang('m_teljesv')?></a></p>
	</div>
	
</div>
