<?$this->load->view('downloads/tabs')?>

<h2><?=$this->lang->line('downloads_h2_student')?></h2>

<div class="float-50">
	<p>
		<?=form_open('downloads/validate', array('id' => 'downloadForm_std'))?>
		<?=form_hidden('do','student')?>
			<table width="100%">
				<tr>
					<td width="75">
						<strong><?if(hun()):?>Név<?else:?>Name<?endif;?>:</strong>
					</td>
					<td width="auto">
						<input type="text" size="27" name="first_std" id="first_std" />
					</td>
				</tr>
				<tr>
					<td width="100">
						<strong><?if(hun()):?>Ország<?else:?>Country<?endif;?>:</strong>
					</td>
					<td>
						<select name="country_std" id="country" style="width:188px;">
							<?if(eng()):?>
						    <option value="-1" selected="selected">--Choose--</option>
						    <?endif;?>
						<?foreach($ctr as $row):?>
							<option value="<?if(hun()):?><?=$row->ctrNameHun?><?else:?><?=$row->ctrNameEng?><?endif;?>" <?if(hun()):?><?if($row->ctrNameHun=='Magyarország'):?><?='selected="selected"'?><?endif;?><?elseif(jap()):?><?if($row->ctrNameEng=='Japan'):?><?='selected="selected"'?><?endif;?><?endif;?>
							<?if( esp() && $row->ctrNameEng=='Spain'){ print'selected="selected"'; }?>
							>
								<?if(hun()):?>
									<?=$row->ctrNameHun?>
								<?else:?>
									<?=$row->ctrNameEng?>
								<?endif;?>
							</option>
						<?endforeach;?>
						</select>
					</td>
				</tr>
				<tr>
					<td width="100">
						<?=lang('address')?>:
					</td>
					<td>
						<input type="text" size="27" name="cim_std" id="cim_std" />
					</td>
				</tr>
				<tr>
					<td width="100">
						<strong><?if(hun()):?>Iskola<?else:?>School<?endif;?>:</strong>
					</td>
					<td>
						<input type="text" size="27" name="school_std" id="school_std" />
					</td>
				</tr>
				<tr>
					<td width="100">
						<strong><?if(hun()):?>E-Mail<?else:?>E-Mail<?endif;?>:</strong>
					</td>
					<td>
						<input type="text" size="27" name="email" id="email" />
					</td>
				</tr>
				<tr>
					<td colspan="2" align="center">
						<input type="checkbox" name="public_std" id="public_std" /><?=lang('public')?>
					</td>
				</tr>
			</table>
			<br />
			<center>
				<img id="btnDown" src="/public/img/gombok/download_button_<?=$this->muser->user['lang']?>.png" height="30" width="250" alt="Submit Form" />
				<br />
				<div style="padding:20px 10px;color:#e8670c;font-weight:bold;"><?=$this->load->view('downloads/consent', true)?></div>
				<div id="message"></div>
			</center>

		</form>
	</p>
</div>


<?if(hun()):?>

<?
$lap = $this->mpages->get_row(627);
print $lap->page_body;
?>

<?elseif(eng()):?>

<?
$lap = $this->mpages->get_row(626);
print $lap->page_body;
?>

<?elseif(gr()):?>



CadLine Ltd. wishes to help students participating in a specialized curriculum to do their half-term and diploma work with the new member of the ARCHLine.XP® family, the Student version.
<p>
Using the Student version you will have a great chance to get acquainted with this easy-to-use, flexible CAD application, which helps you to work in a creative way. ARCHLine.XP® carries everything before one, and that's evidenced by the well-established network of distributors in many countries. You may already heard about us on fairs, on the WEB or from your fellas and teachers.

<h2>What is this software good for?</h2>
ARCHLine.XP® is an achitectural designing system. However not only architects, but landscape-architects, interior designers, decorative artists, urban planners and many other profession's members are working with the software worldwide, thanks to its flexible approach. Every member of the ARCHLine.XP® family is developed by us to serve professionals and students well.

<h2>What does Student version mean exactly?</h2>
The ARCHLine.XP® Student version is essentially the same like the ARCHLine.XP® Professional version with some limitations:

<ul>
		<li>Every copy of the Student version has a time limit of July 1, 2010. This is the last day you can use your copy.</li>
	
	<li>The project format is the only one that is enabled in the Student version.<li>
	
	<li>The file format of the Student version is different from the full version's file format and contains a digital watermark.<li>
	
	<li>The "ARCHLine.XP Student Version" watermark will appear on the printed pages and rendered images.<li>
	
	<li>The printing size has a maximum of A/3.<li>
	
	<li>The size of a rendered picture has a maximum of 640x480 pixels and a digital watermark will appear on it.<li>
	
	<li>The Teamwork function is disabled.<li>
	
	<li>The export of DXF/DWG files are disabled.<li>
</ul>


<p>Except the limitations mentioned above the Student version contains all the same high-end technologies and developments that helps the professionals in their everydays when they are working with ARCHLine.XP®. You can read more here about the full software features.

<h2>Why is it good for you?</h2>
Using the ARCHLine.XP® Student version during your studies you have a great possibility to learn to handle a professional CAD software. It will be useful for your competition, half-term, diploma and other work.

<p>After all you can start to work with this knowledge in your professional career after graduation. You'll reap the benefits of using a full, robust software and you will not have to search elsewhere! After downloading you can install it easily. The activation and use of ARCHLine.XP® Student version is totally free and legal as you are a student!

<p>Additionally you can access a huge base of knowledge on the site by the Video Tutorials, and FAQs pages. You can search in the Help, integrated in the software. It's the same that the full Manual.

<h2>"Do I have authority to use it?"</h2>
Yes, if you are an active student of an institute and you can prove it genuinely!

<h2>How can you start to use?</h2>
You can get the ARCHLine.XP® Student version at the "Download" site. Here you will find a serial number too. Note it down because you will need it during the installation process. Filling out the registration form and sending it to us you will be redirected to the next page where you can begin to download your copy.

<p>After installing the software you can use it for 4 hours without activation. This time will be enough to validate your copy on the "Activation" page. You will need the Program Serial Number and the unique Request Code. After sending the information soon you will get an e-mail to the given address. It will contain your own Activation Code.

<p>It's all yours!

<p>You can form your own buildings, objects or whatever you need free from care until the time-lock turns on!

<p>Create free! Get out the most of the software! Soon you will learn the use of ARCHLine.XP® and you will see how easy it is. Because of this you will have more time for other things. Create and deform architectural elements as you want to have your own really unique design!

<p><strong>We wish you a successful semester! Have a good time!</strong>


<?endif;?>

<script type="text/javascript">
    
    function checkError_std(inputID)
	{
        var value = jQuery('#' + inputID).val();

		if(value == '<?=$this->lang->line('downloads_error_empty_field')?>' || value == '<?=$this->lang->line('downloads_error_email_field')?>')
			jQuery('#' + inputID).val('');
	}
	
	function checkForm_std()
	{
		var firstnameok_std = false;
		var schoolok_std = false;
		var emailok_std = false;
		var cimok_std = false;
		var publicCBok_std = false;
		var countryok = false;
		var at = '@';
		var dot = '.';
		
		var country = jQuery('#country');
		var firstname_std = jQuery('#first_std');
		var school_std = jQuery('#school_std');
		var email = jQuery('#email');
		var cim_std = jQuery('#cim_std');
		var message = jQuery('#message');
		var publicCB_std = jQuery('#public_std');

		message.html('<?=$this->lang->line('downloads_wait')?>');
		
		if(firstname_std.val() == '' || firstname_std.val() == '<?=$this->lang->line('downloads_error_empty_field')?>')
		{
			firstname_std.val('<?=$this->lang->line('downloads_error_empty_field')?>');
			firstname_std.css({ 'background-color': '#F9D3D3' });
		}
		else
		{
            firstname_std.css({ 'background-color': '#EEEEEE' });
			firstnameok_std = true;
		}
		
		if(publicCB_std.attr('checked') == 1 && (cim_std.val() == '<?=$this->lang->line('downloads_error_empty_field')?>' || cim_std.val() == ''))
		{
			cim_std.val('<?=$this->lang->line('downloads_error_empty_field')?>');
			cim_std.css({ 'background-color': '#F9D3D3' });
		}
		else
		{
            cim_std.css({ 'background-color': '#EEEEEE' });
			publicCBok_std = true;
		}
		
		
	
		if(school_std.val() == '' || school_std.val() == '<?=$this->lang->line('downloads_error_empty_field')?>')
		{
			school_std.val('<?=$this->lang->line('downloads_error_empty_field')?>');
			school_std.css({ 'background-color': '#F9D3D3'});
		}
		else
		{
			school_std.css({ 'background-color': '#EEEEEE'});
			schoolok_std = true;
		}
		
		if(email == '' || email == '<?=$this->lang->line('downloads_error_empty_field')?>')
		{
			email.val('<?=$this->lang->line('downloads_error_empty_field')?>');
			email.css({ 'background-color': '#F9D3D3'});
		}
		else
		{
			if(email.val().indexOf(at)==-1 || email.val().indexOf(at)==0 || email.val().indexOf(at)==email.val().length-1 || email.val().indexOf(dot)==-1 || email.val().indexOf(dot)==0 || email.val().indexOf(dot)>=email.val().length-2)
			{
				email.val('<?=$this->lang->line('downloads_error_email_field')?>');
				email.css({ 'background-color': '#F9D3D3' });
			}
			else
			{
				email.css({ 'background-color': '#EEEEEE' });
				emailok_std = true;
			}
		}
		
		if(country.val()==-1)
		{
			country.css({ 'border': '1px red solid', 'background-color': '#F9D3D3' });
		}
		else
		{
			countryok = true;
		}
		
		if(firstnameok_std==true  && emailok_std==true && schoolok_std==true && publicCBok_std==true && countryok==true)
		{
			jQuery('#downloadForm_std').submit();
		}
		else
		{
			message.html('<?=$this->lang->line('downloads_error_div')?>');
		}
    }

</script>