49 lines
1.7 KiB
PHP
49 lines
1.7 KiB
PHP
<?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>
|
|
<?php
|
|
include("$root/analytics/matomo.php");
|
|
?>
|
|
<body>
|
|
<?php include("$root/menu.php"); ?>
|
|
<?php include("$root/header.php"); ?>
|
|
<section>
|
|
<article>
|
|
<form action="sendmail.php" method="post">
|
|
<label for="fname">First Name</label>
|
|
<input type="text" id="fname" name="firstname" placeholder="Your first name.." required><br>
|
|
|
|
<label for="lname">Last Name</label>
|
|
<input type="text" id="lname" name="lastname" placeholder="Your last name.." required><br>
|
|
|
|
<label for="email">Email</label>
|
|
<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>
|
|
|
|
<label for="subject">Subject</label>
|
|
<input type="text" id="subject" name="subject" placeholder="Your subject.." required><br>
|
|
|
|
<label for="message">Message</label>
|
|
<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>
|
|
|