chiro-canto/public/contact/index.php

50 lines
1.7 KiB
PHP
Raw Normal View History

2021-03-31 16:24:01 +02:00
<?php
$root = realpath($_SERVER["DOCUMENT_ROOT"]);
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact | Chiro-Canto</title>
<link rel="stylesheet" type="text/css" href="/styles/style.css">
</head>
2021-04-01 08:57:34 +02:00
<?php
include("$root/analytics/matomo.php");
?>
2021-03-31 16:24:01 +02:00
<body>
<?php include("$root/menu.php"); ?>
<?php include("$root/header.php"); ?>
<section>
2021-04-09 14:29:00 +02:00
<h2>Contact</h2>
2021-03-31 16:24:01 +02:00
<article>
<form action="sendmail.php" method="post">
2021-04-09 14:29:00 +02:00
<label for="fname">First Name*</label>
2021-03-31 16:24:01 +02:00
<input type="text" id="fname" name="firstname" placeholder="Your first name.." required><br>
2021-04-09 14:29:00 +02:00
<label for="lname">Last Name*</label>
2021-03-31 16:24:01 +02:00
<input type="text" id="lname" name="lastname" placeholder="Your last name.." required><br>
2021-04-09 14:29:00 +02:00
<label for="email">Email*</label>
2021-03-31 16:24:01 +02:00
<input type="email" id="email" name="email" placeholder="Your email.." required><br>
<label for="website">Website</label>
<input type="url" id="website" name="website" placeholder="Your website.."><br>
2021-04-09 14:29:00 +02:00
<label for="subject">Subject*</label>
2021-03-31 16:24:01 +02:00
<input type="text" id="subject" name="subject" placeholder="Your subject.." required><br>
2021-04-09 14:29:00 +02:00
<label for="message">Message*</label>
2021-03-31 16:24:01 +02:00
<textarea id="message" name="message" placeholder="Write something.." required style="height:200px"></textarea><br>
<input type="submit" value="Submit"><input type="reset" value="Reset">
</form>
</article>
</section>
<?php include("$root/footer.php"); ?>
</body>
<script src="/scripts/script.js"></script>
</html>