<!-- importer index -->
<?php echo $this->headLink()->appendStylesheet($this->websiteUrl . 'system/css/seotoaster.css'); ?>
<?php $this->headScript()->appendFile($this->websiteUrl . 'system/js/jquery/jquery.js'); ?>
<?php echo $this->headScript(); ?>

<div id="seotoaster" class="importer">
    <div id="admineditwhat">{%Import website%}</div>
    <div class="close_window" onclick="top.location.reload();"></div>
    <?php echo $this->form; ?>
	<div id="importer-errors" class="errors" style="<?php echo (isset($this->errors) && !empty($this->errors)) ? 'display:block' : 'display:none';?>;cursor:pointer;top:17%;" onclick="$(this).hide()">
		<ul>
			<?php foreach ($this->errors as $error): ?>
				<li><?php echo $error; ?></li>
			<?php endforeach; ?>
		</ul>
    </div>
	<div id="importer-importing" class="success" style="display:none; top:17%;">
		{%Importing%}...
	</div>
	<div id="importer-success" class="success" style="<?php echo (isset($this->success) && $this->success) ? 'display:block' : 'display:none';?>; top:17%;" onclick="$(this).hide()">
		{%Import successful%}.
	</div>
</div>