chiro-canto/public/contact/index.php

52 lines
2.0 KiB
PHP
Raw Permalink Normal View History

2021-03-31 16:24:01 +02:00
<?php
$root = realpath($_SERVER["DOCUMENT_ROOT"]);
2021-04-20 17:05:13 +02:00
require("$root/lang/gettext.php");
2021-03-31 16:24:01 +02:00
?>
<!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
2021-04-16 19:14:52 +02:00
include("$root/analytics/owa.php");
2021-04-01 08:57:34 +02:00
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-20 17:05:13 +02:00
<h2><?=_('Contact')?></h2>
2021-03-31 16:24:01 +02:00
<article>
<form action="sendmail.php" method="post">
2021-04-20 17:05:13 +02:00
<label for="fname"><?=_('First Name')?>*</label>
<input type="text" id="fname" name="firstname" placeholder="<?=_('Your first name..')?>" required><br>
2021-03-31 16:24:01 +02:00
2021-04-20 17:05:13 +02:00
<label for="lname"><?=_('Last Name')?>*</label>
<input type="text" id="lname" name="lastname" placeholder="<?=_('Your last name..')?>" required><br>
2021-03-31 16:24:01 +02:00
2021-04-20 17:05:13 +02:00
<label for="email"><?=_('Email')?>*</label>
<input type="email" id="email" name="email" placeholder="<?=_('Your email..')?>" required><br>
2021-03-31 16:24:01 +02:00
2021-04-20 17:05:13 +02:00
<label for="website"><?=_('Website')?></label>
<input type="url" id="website" name="website" placeholder="<?=_('Your website..')?>"><br>
2021-03-31 16:24:01 +02:00
2021-04-20 17:05:13 +02:00
<label for="subject"><?=_('Subject')?>*</label>
<input type="text" id="subject" name="subject" placeholder="<?=_('Your subject..')?>" required><br>
2021-03-31 16:24:01 +02:00
2021-04-20 17:05:13 +02:00
<label for="message"><?=_('Message')?>*</label>
<textarea id="message" name="message" placeholder="<?=_('Write something..')?>" required style="height:200px"></textarea><br>
2021-03-31 16:24:01 +02:00
2021-04-20 17:05:13 +02:00
<input type="submit" value="<?=_('submit')?>"><input type="reset" value="<?=_('reset')?>">
2021-03-31 16:24:01 +02:00
</form>
</article>
</section>
<?php include("$root/footer.php"); ?>
</body>
<script src="/scripts/script.js"></script>
</html>