<td>
						<img src="images/icon_install.gif" width="46" height="46" alt="" align="absmiddle">&nbsp;<span class="admintitle">Licence Verification</span><br><br>
						
			      <?php section_header('Step 1 - Licence Verification'); ?>
			     
			      <table border=0 cellpadding=0 cellspacing=0 width="100%" class="toolbar">
<?php include("install/toolbar.php"); ?>
						</table>
						<!-- toolbar button \\-->
						
						<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
	            <tr valign="top">
	            	<td width="60%" bgcolor="#F0F0F0">
	            		<table width="100%" border="0" cellspacing="0" cellpadding="4">
				            <tr class="table_color1">
				                <td COLSPAN=2><p class="error">In-Portal is already installed at this location.</p></TD>
				            </tr>
				            <tr class="table_color2">
				                <td COLSPAN=2>In order to use the installation tool, please provide your Intechnic account information:</td>
				            </tr>
				            <tr class="table_color2"> 
				              <td class="text"><B>Username:</B></td>
				              <td width="80%"><input type="text" name="UserName" value="<?php GetVar('UserName', true);?>" class="text"></td>
				            </tr>
				            <tr class="table_color2"> 
				              <td class="text"><B>Password:</B></td>
				              <td><input type="password" name="UserPass" class="text"></td>
				            </tr>
				            <tr class="table_color2"><td COLSPAN=2><p class="error"><?php if( isset($login_error) ) echo $login_error;?></p><br></TD></tr>
				
				            <?php if($show_upgrade) { ?>
				            <tr class="table_color1"> 
				              <td COLSPAN=2 ><INPUT TYPE=RADIO value="6" name="inp_opt" id="inp_opt_6" <?php echo RadioChecked('inp_opt',6); ?>><label for="inp_opt_6">Upgrade In-Portal</label></span></td>
				            </tr>				      
				            <?php } ?>  				            
				            <tr class="table_color2">                
				              <td COLSPAN=2 >
				              	<INPUT TYPE="RADIO" NAME="inp_opt" VALUE="1" id="inp_opt_1" <?php echo RadioChecked('inp_opt',1); ?>><label for="inp_opt_1">Clean out the In-Portal database and reinstall</label><br>
				              </td>
				            </tr>
				            <tr class="table_color1">                
				              <td COLSPAN=2 >
				              	<INPUT TYPE="RADIO" NAME="inp_opt" VALUE="4" id="inp_opt_4" <?php echo RadioChecked('inp_opt',4); ?>><label for="inp_opt_4">Clean out the In-Portal database and reinstall from backup</label>
				              </td>
				            </tr>
				                       
				            <tr class="table_color2"> 
				              <td COLSPAN=2><INPUT TYPE=RADIO value="2" name="inp_opt" id="inp_opt_2" <?php echo RadioChecked('inp_opt',2); ?>><label for="inp_opt_2">Install to a new database</label></td>
				            </tr>
				            <tr class="table_color1"> 
				              <td COLSPAN=2><INPUT TYPE=RADIO value="3" name="inp_opt" id="inp_opt_3" <?php echo RadioChecked('inp_opt',3); ?>><label for="inp_opt_3">Update License Information</label></td>
				            </tr>
				            <tr class="table_color2"> 
				              <td COLSPAN=2 ><INPUT TYPE=RADIO value="5" name="inp_opt" id="inp_opt_5" <?php echo RadioChecked('inp_opt',5); ?>><label for="inp_opt_5">Change Database Configuration</label></td>
				            </tr> 
				            <tr class="table_color1"> 
				              <td COLSPAN=2 ><INPUT TYPE=RADIO value="7" name="inp_opt" id="inp_opt_7" <?php echo RadioChecked('inp_opt',7); ?>><label for="inp_opt_7">Fix Paths</label></td>
				            </tr>  				               
				            <tr class="table_color1">
				            	<td colspan="2"><p class="error"><?php if( isset($inst_error) ) echo $inst_error; ?></p><br/></td>
				            </tr>				            
				            <tr> 
				              <td COLSPAN=2>
				              	<br>
				                <input TYPE="hidden" NAME ="state" VALUE="reinstall_process">
				                <input type="hidden" name="next_step" value="2<?php //=$next_step;?>">
				                <input type="hidden" name="install_type" value="<?php echo $install_type;?>">
				                <input type="submit" name="submit_form" value="Continue" class="button">
								<input type="reset" name="Cancel" value="Cancel" class="button">
				              </td>
				            </tr>
				        	</table>
	            	</td>