<tr class="table-color2">
	<td class="text"><strong>Login / E-mail:</strong></td>
	<td class="txt">
		<input type="text" class="text" name="login" value="<?php echo $this->GetVar('login'); ?>">
	</td>
</tr>

<tr class="table-color2">
	<td class="text"><strong>Password:</strong></td>
	<td class="text">
		<input type="password" class="text" name="password" value="">
		<a href="http://www.intechnic.com/myaccount/index.php?t=users/reveal_password&">Forgot password</a>
	</td>
</tr>


<?php
	$license_selection = $this->GetVar('license_selection');
	if ($license_selection) {
		$license_id = $this->GetVar('licenses');
		$license_selection = $license_selection_patched = base64_decode($license_selection);

		if ($license_id) {
			// keep previosly selected license
			$license_selection_patched = str_replace('<option value="' . $license_id . '">', '<option value="' . $license_id . '" selected>', $license_selection);
		}
?>
		<tr class="table-color2">
			<td colspan="2">&nbsp;</td>
		</tr>

		<tr class="table-color2">
			<td class="text"><strong>Domain:</strong></td>
			<td class="text">
				<?php echo $_SERVER['HTTP_HOST']; ?>
			</td>
		</tr>

		<tr class="table-color2">
			<td class="text"><strong>Available licenses:</strong></td>
			<td class="text"><?php echo $license_selection_patched;?></td>
		</tr>
		<input type="hidden" name="license_selection" value="<?php echo base64_encode($license_selection); ?>"/>
<?php
	}
?>