
<html>
	<head>
		<title>In-Portal Installation</title>
		<meta http-equiv="content-type" content="text/html; charset=utf-8" />

		<base href="<?php echo $this->baseURL; ?>"/>

		<link rel="stylesheet" type="text/css" href="incs/style.css" />
		<script type="text/javascript" src="../admin_templates/js/jquery/jquery.pack.js"></script>
		<script type="text/javascript" src="incs/script.js"></script>
		<script type="text/javascript" src="../admin_templates/js/toolbar.js"></script>
	</head>

	<body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" style="height: 100%">
		<form enctype="multipart/form-data" id="install_form" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">

		<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
			<!-- header: begin -->
			<tr>
				<td height="90">
					<table cellpadding="0" cellspacing="0" border="0" width="100%" height="90">
						<tr>
							<td rowspan="3" valign="top"><a href="http://www.in-portal.net" target="_top"><img title="In-Portal" src="incs/img/logo.jpg" width="267" height="91" border="0" alt="In-Portal"/></a></td>
							<td rowspan="3" width="100%" align="right">&nbsp;</td>
							<td width="400"><img title="" src="incs/img/blocks.gif" width="400" height="73" alt="blocks" /></td>
						</tr>
						<tr><td align="right" background="incs/img/version_bg.gif" class="head_version" valign="top"><img title="" src="incs/img/spacer.gif" width="1" height="14" alt=""/>In-Portal: English US</td></tr>
						<tr><td><img title="" src="incs/img/blocks2.gif" width="400" height="2" alt="blocks2"/><br /></td></tr>
						<tr><td bgcolor="black" colspan="4"><img title="" src="incs/img/spacer.gif" width="1" height="1" alt=""/><br /></td></tr>
					</table>
				</td>
			</tr>
			<!-- header: end -->


			<tr height="100%">
				<td valign="top">
					<table cellpadding=10 cellspacing=0 border=0 width="100%" height="100%">
						<tr valign="top">
							<td style="width: 200px; background: #009ff0 url(incs/img/bg_install_menu.gif) no-repeat bottom right; border-right: 1px solid #000">
							    <img src="incs/img/spacer.gif" width="180" height="1" border="0" alt="" /><br />
							    <span class="admintitle-white">Installation</span>

								<ol class="install-steps">
						    		<?php
						    			echo $this->PrintSteps('<li class="current-step">%s</li>', '<li>%s</li>');
						    		?>
						    	</ol>
							</td>


							<td>
								<img src="incs/img/icon_install.gif" width="46" height="46" alt="" align="absmiddle" />&nbsp;<span class="admintitle"><?php echo $this->GetStepInfo('step_title'); ?></span><br /><br />

								<!-- section header: begin -->
								<table border="0" cellpadding="2" cellspacing="0" class="tableborder_full" width="100%" height="30">
									<tr>
										<td class="tablenav" width="580" nowrap background="incs/img/tabnav_left.jpg">
											<span class="tablenav_link"><?php echo 'Step '.$this->GetStepNumber().' - '.$this->GetStepInfo('step_title'); ?></span>
								 		</td>
								 		<td align="right" class="tablenav" background="incs/img/tabnav_back.jpg" width="100%">
								 		<!--
								 			<a class="link" onclick="ShowHelp('in-portal:install');">
								 				<img src="incs/img/blue_bar_help.gif" border="0">
								 			</a>
								 		-->
								 		</td>
								 	</tr>
								 </table>
								<!-- section header: end -->

								<?php
									if ($this->buttonVisible('any')) {
								?>
									<!-- toolbar: begin -->
									<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
										<tbody>
											<tr>
											  	<td>
											  		<script type="text/javascript">
												  		var $use_toolbarlabels = true;
												  		var $visible_toolbar_buttons = true;
											  			var img_path = '<?php echo $this->baseURL; ?>../admin_templates/img/';
														var is = {ie6up: document.all, gecko: !document.all};

														var a_toolbar = new ToolBar();

														<?php
															if ($this->buttonVisible('refresh')) {
																echo "a_toolbar.AddButton( new ToolBarButton('refresh', 'Refresh', continue_install) );";
															}

															if ($this->buttonVisible('back')) {
																echo "a_toolbar.AddButton( new ToolBarButton('prev', 'Back', function() { history.go(-1); }) );";
															}

															if ($this->buttonVisible('continue')) {
																echo "a_toolbar.AddButton( new ToolBarButton('next', 'Continue', continue_install) );";
															}
														?>

														a_toolbar.Render();
													</script>
		  										</td>
											</tr>
										</tbody>
									</table>
									<!-- toolbar: end -->
								<?php
									}
								?>

								<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tableborder">
									<tr valign="top">
										<td width="60%" bgcolor="#F0F0F0">
											<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="4">

												<!-- step body: begin -->
												<?php echo $this->GetStepBody(); ?>
												<!-- step body: end -->

												<?php
													if (is_string($this->errorMessage) && $this->errorMessage) {
												?>
													<!-- step error message: begin -->
													<tr class="table-color2">
														<td colspan="2">
															<p class="error">
																<?php echo $this->errorMessage; ?>
															</p>
															<br/>
														</td>
													</tr>
													<!-- step error message: end -->
												<?php
													}
												?>

												<!-- next, prev buttons: begin -->
												<tr>
													<td colspan="2">
														<br />
														<?php
															if ($this->buttonVisible('refresh')) {
																echo '<input type="submit" name="refresh_form" value="Refresh" class="button" /> ';
															}

															if ($this->buttonVisible('back')) {
										  						echo '<input type="reset" name="back" value="Back" class="button" onclick="history.go(-1);" /> ';
															}

															echo '<input type="submit" name="submit_form" value="Continue" class="button" />';
														?>
										  				<input type="hidden" name="step" value="<?php echo $this->currentStep; ?>"/>
										  				<input type="hidden" name="preset" value="<?php echo $this->stepsPreset; ?>"/>
													</td>
												</tr>
												<!-- next, prev buttons: end -->
											</table>
										</td>

										<td width="40%" style="border-left: 1px solid #000; background: #f0f0f0">
						            		<table width="100%" border="0" cellspacing="0" cellpadding="4">
										    	<tr class="subsectiontitle">
										    	  <td style="border-bottom: 1px solid #000000;"><?php echo $this->GetStepInfo('help_title'); ?></td>
										    	</tr>
										    	<tr>
										    	  <td class="text"><?php echo $this->GetStepInfo('help_body'); ?></td>
										    	</tr>
										    </table>
						            	</td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
					<br />
				</td>
			</tr>

			<tr>
				<td class="footer">
					Powered by <a href="http://www.in-portal.org" target="_blank">In-Portal</a>, Copyright &copy; 1997-<?php echo date('Y'); ?> Intechnic. All rights reserved.
					<br /><img src="incs/img/spacer.gif" width="1" height="10" alt="" />
				</td>
			</tr>
		</table>
		</form>
	</body>
</html>