<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
	<title><?php echo $this->l('QloApps Installation Assistant') ?></title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="Cache-Control" content="no-cache, must-revalidate" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Cache" content="no store" />
	<meta http-equiv="Expires" content="-1" />
	<meta name="robots" content="noindex" />
	<link rel="shortcut icon" href="theme/img/favicon.ico" />
	<link rel="stylesheet" type="text/css" media="all" href="theme/view.css" />
	<?php if ( ($this->language->getLanguage()->getMetaInformation('is_rtl')) == 'true'): ?>
		<link rel="stylesheet" type="text/css" media="all" href="theme/rtl.css" />
	<?php endif; ?>
	<script type="text/javascript" src="../js/jquery/jquery-1.11.0.min.js"></script>
	<script type="text/javascript" src="../js/jquery/plugins/jquery.chosen.js"></script>
	<script type="text/javascript" src="theme/js/install.js"></script>
	<script type="text/javascript" src="//www.prestashop.com/js/user-assistance.js"></script>
	<?php if (file_exists(_PS_INSTALL_PATH_.'theme/js/'.$this->step.'.js')): ?>
		<script type="text/javascript" src="theme/js/<?php echo $this->step ?>.js"></script>
	<?php endif; ?>
	<script type="text/javascript">
		var ps_base_uri = '<?php echo addslashes(__PS_BASE_URI__) ?>';
	</script>
</head>

<body>
<div id="container">

<!-- Header -->
<div id="header" class="clearfix">
	<ul id="headerLinks">
		<li class="lnk_forum"><a href="<?php echo $this->getForumLink() ?>" target="_blank"><?php echo $this->l('Forum') ?></a></li>
		<li class="lnk_forum"><a href="<?php echo $this->getSupportLink() ?>" target="_blank"><?php echo $this->l('Support') ?></a></li>
		<li class="lnk_forum"><a href="<?php echo $this->getDocumentationLink() ?>" target="_blank"><?php echo $this->l('Documentation') ?></a></li>
		<li class="lnk_blog last"><a href="<?php echo $this->getBlogLink() ?>" target="_blank"><?php echo $this->l('Blog') ?></a></li>
	</ul>

	<div id="QloAppsLogo">QloApps</div>
</div>

<!-- Ajax loader animation -->
<div id="loaderSpace">
	<div id="loader">&nbsp;</div>
</div>

<!--This comment is necessary!

	Purpose is to make some strings available for translation,
	that would not be 'seen' by the translations parser otherwise.

	$this->l('menu_welcome');
	$this->l('menu_license');
	$this->l('menu_system');
	$this->l('menu_configure');
	$this->l('menu_database');
	$this->l('menu_process');

-->

<!-- List of steps -->
<div id="leftpannel">
	<ol id="tabs">
		<?php foreach ($this->getSteps() as $step): ?>
			<?php if ($this->step == $step): ?>
				<li class="selected"><?php echo $this->l('menu_'.$step) ?></li>
			<?php elseif ($this->isStepFinished($step)): ?>
				<li class="finished"><a href="index.php?step=<?php echo $step ?>"><?php echo $this->l('menu_'.$step) ?></a></li>
			<?php elseif ($step == $this->getLastStep()): ?>
				<li class="configuring"><a href="index.php?step=<?php echo $step ?>"><?php echo $this->l('menu_'.$step) ?></a></li>
			<?php else: ?>
				<li><?php echo $this->l('menu_'.$step) ?></li>
			<?php endif; ?>
		<?php endforeach; ?>
	</ol>
	<a href="<?php echo $this->getServicesLink() ?>" target="blank" class="wk-service-link">
		<div class="wk-service-link-block">
			<p class="wk-service-link-header">
				<img src="theme/img/icon-services.png" />
			</p>
			<p class="wk-service-link-content">
				<span class="head"><?php echo $this->l('Need Help?') ?></span>
			</p>
			<p class="wk-service-link-content">
				<?php echo $this->l('Click here to Contact us') ?>
			</p>
		</div>
	</a>
	<a href="<?php echo $this->getInstallationGuideLink() ?>" target="blank" class="wk-service-link">
		<div class="wk-service-link-block">
			<p class="wk-service-link-header">
				<img src="theme/img/icon-installation-guide.png" />
			</p>
			<p class="wk-service-link-content">
				<span class="head"><?php echo $this->l('Installation') ?></span>
			</p>
			<p class="wk-service-link-content">
				<?php echo $this->l('See our Installation guide') ?>
			</p>
		</div>
	</a>
	<a href="<?php echo $this->getTutorialsLink() ?>" target="blank" class="wk-service-link">
		<div class="wk-service-link-block">
			<p class="wk-service-link-header">
				<img src="theme/img/icon-tutorials.png" />
			</p>
			<div class="wk-service-link-highlight">
				<img src="theme/img/icon-bulb.png" />
			</div>
			<p class="wk-service-link-content">
				<span class="head"><?php echo $this->l('Tutorials') ?></span>
			</p>
			<p class="wk-service-link-content">
				<?php echo $this->l('See our QloApps tutorials') ?>
			</p>
		</div>
	</a>
</div>

<!-- Page content -->
<form id="mainForm" class="clearfix" action="index.php" method="post">
<div id="sheets" class="sheet shown">
	<div id="sheet_<?php echo $this->step ?>" class="sheet shown clearfix">
	<div class="contentTitle">
		<h1><?php echo $this->l('Installation Assistant') ?></h1>
		<ul id="stepList_1" class="stepList clearfix">
			<?php foreach ($this->getSteps() as $step): ?>
				<li <?php if ($this->isStepFinished($step)): ?>class="ok"<?php endif; ?>><?php echo $this->l('menu_'.$this->step) ?></li>
			<?php endforeach; ?>
		</ul>
	</div>
	<noscript>
		<h4 class="errorBlock" style="margin-bottom:10px">
			<?php echo $this->l('To install QloApps, you need to have JavaScript enabled in your browser.') ?>
			<a href="<?php echo $this->l('http://enable-javascript.com/') ?>" target="_blank">
				<img src="theme/img/help.png" style="height:16px;width:16px" />
			</a>
		</h4>
	</noscript>