Este template permite mostrar un formulario de contacto con asuntos.
<div id="contact">
<h1>Envíanos un mensaje:</h1>
<?php
if(Configuration::value('ACTIVATE_CONTACT_CODE')):
echo Configuration::value('CONTACT_CODE');
else:
?>
<form action="<?=$_SERVER['REQUEST_URI']?>" method="post">
<label>
Tu nombre
<input type="text" name="name" class="required" id="cname" />
</label>
<label>
Tu e-mail
<input type="text" name="email" class="email required" id="cemail" />
</label>
<label>
Asunto
<select name="subjectId" class="required" id="subject">
<?php while($_subjects->getNext()): ?>
<option value="<?=$_subjects->get('id')?>"><?=$_subjects->get('name')?></option>
<?php endwhile; ?>
</select>
</label>
<label>
Mensaje
<textarea name="message" id="cmessage" class="required" cols="30" rows="6"></textarea>
</label>
<?php if(Configuration::value('RECAPTCHA')): ?>
<div class="g-recaptcha" data-sitekey="<?=Configuration::value('RECAPTCHA_SITE_KEY')?>"></div>
<script src="https://www.google.com/recaptcha/api.js"></script>
<?php endif; ?>
<input type="submit" name="send" value="Enviar" class="button" />
</form>
<?php endif; ?>
</div>