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.
53 lines
2.1 KiB
PHP
53 lines
2.1 KiB
PHP
<?php
|
|
/*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
include __DIR__ . "/inc/header.inc.php";
|
|
?>
|
|
|
|
<main role="main" class="mt-5">
|
|
<div class="jumbotron">
|
|
<div class="container">
|
|
<h1 class="display-4"><?php get_page_title(); ?></h1>
|
|
<p class="ml-2 lead sw-text" data-component="lead"><?php get_component("lead"); ?></p>
|
|
</div>
|
|
</div>
|
|
<div class="container">
|
|
<form action="<?php get_site_url(); ?>contact.php" method="POST">
|
|
<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="row">
|
|
<div class="col-12 col-md-6 mb-3">
|
|
<label for="name">Name</label>
|
|
<input type="text" class="form-control" name="name" id="name" placeholder="" required />
|
|
</div>
|
|
<div class="col-12 col-md-6 mb-3">
|
|
<label for="email">Email</label>
|
|
<input type="email" class="form-control" name="real_email" id="email" placeholder="you@example.com" required />
|
|
</div>
|
|
<div class="col-12">
|
|
<label for="message">Message</label>
|
|
<textarea class="form-control" name="message" id="message" placeholder="" required ></textarea>
|
|
</div>
|
|
</div>
|
|
<br />
|
|
<?php
|
|
$btn = get_complex_component("submit-btn", null, ["icon", "text"]);
|
|
$icon = $btn['icon'];
|
|
$text = $btn['text'];
|
|
?>
|
|
<button type="submit" class="btn btn-primary sw-complex" data-json="<?php get_escaped_json($btn); ?>" data-component="submit-btn">
|
|
<i class="<?php echo $icon; ?>"></i> <?php echo $text; ?>
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</main>
|
|
|
|
<?php
|
|
include __DIR__ . "/inc/footer.inc.php";
|
|
?>
|