You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.3 KiB
PHP

<?php
include __DIR__ . "/inc/header.inc.php";
?>
<hr />
<h2><div class="sw-text" data-component="contact-header">
<?php get_component("contact-header"); ?>
</div></h2>
<form method="post" action="contact.php">
<span style="display: none;">
Leave this box empty
<input name="email" id="email" placeholder="Email" type="email" style="display: none;" autocomplete="off" />
</span>
<div class="field">
<input type="text" name="name" id="name" placeholder="Name" />
</div>
<div class="field">
<input type="email" name="real_email" id="email" placeholder="Email" />
</div>
<div class="field">
<textarea name="message" id="message" placeholder="Message" rows="4"></textarea>
</div>
<ul class="actions">
<li>
<?php
$btn = get_complex_component("submit-btn", null, ["link"]);
$icon = $btn['icon'];
$text = $btn['text'];
?>
<button type="submit" class="button sw-complex" data-json="<?php get_escaped_json($btn); ?>" data-component="submit-btn">
<i class="<?php echo $icon; ?>"></i> <?php echo $text; ?>
</button>
</li>
</ul>
</form>
<hr />
<?php
include __DIR__ . "/inc/footer.inc.php";
?>