<? $this->load->view( $this->aSystemVar['template_viewer_root'] . '_header') ?>

	<div class="colCapt">
		<?= $this->lang->line('contact_us') ?>
	</div>

	<div id="breadcrumb">
		<span><?= anchor( base_url(true), $this->lang->line('home') ) ?></span>
		<span class="divider"><?= $this->config->item('breadcrumb_divider') ?></span>
		<span><?= $this->lang->line('contact_us') ?></span>
	</div>

	<div>

		<div>
			&nbsp;<?=$this->validation->error_string; ?>
			<?
				if ( $Contact['MailSent'] )
				echo '<div style="margin:10px;"><strong>'.$this->lang->line('mail_sent').'</strong></div>';
			?>
		</div>

		<div>

			<?= form_open( 'info/contact/'); ?>
				<input type="hidden" name="recipient" value="general" />

				<div><?=$this->lang->line('name')?>:</div>
				<div><input type="text" name="name" value="<?= @$Contact['form']['name'] ?>" style="width:50%;" class="text" /></div>
				<div><?=$this->lang->line('email')?>:</div>
				<div><input type="text" name="email" value="<?= @$Contact['form']['email'] ?>" style="width:50%;" class="text" /></div>
				<div><?=$this->lang->line('subject')?>:</div>
				<div><input type="text" name="subject" value="<?= @$Contact['form']['subject'] ?>" style="width:50%;" class="text" /></div>
				<div><?=$this->lang->line('message')?>:</div>
				<div><textarea name="message" style="width:98%; height:100px;"><?= @$Contact['form']['message'] ?></textarea></div>
				<div class="submit"><input type="submit" name="submit" class="submit" value="<?= $this->lang->line('submit') ?>" /></div>

				<? if( !empty($Contact['SecurityCode']) ): ?>
				<div>
					<div class="warning"><?= $this->lang->line('WARNING')?> <?= $this->lang->line('human_only') ?></div>
					<div><img src="<?=site_url('catalog/get_security_image')?>" alt="security image" title="security image" /></div>
					<div><input type="text" name="SecurityCode" class="text" /></div>
				</div>
				<?	endif; ?>

			<?= form_close(); ?>

		</div>

	</div>

<? $this->load->view( $this->aSystemVar['template_viewer_root'] . '_footer') ?>