Address changes.
This commit is contained in:
parent
a5949e0401
commit
635b3ddcbc
59 changed files with 7249 additions and 2745 deletions
16
contact.php
16
contact.php
|
@ -72,7 +72,7 @@ require_once 'includes/header.php';
|
|||
<button type="button" class="btn-close btn-close-white" data-bs-dismiss="toast" aria-label="Close"></button>
|
||||
</div>
|
||||
<div class="toast-body">
|
||||
<?php echo $result['ok'] ? 'Message sent successfully!' : 'An error occurred while sending the message.'; ?>
|
||||
<?php echo $result['ok'] ? $locale['messageSentSuccess'] : $locale['messageSentError']; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -96,29 +96,29 @@ require_once 'includes/header.php';
|
|||
<div class="row mb-5 text-center">
|
||||
<div class="col-lg-8 mx-auto">
|
||||
<h1 class="display-4 mb-3"><?php echo $locale['contactus']; ?></h1>
|
||||
<p class="lead text-muted">We'd love to hear from you. Send us a message and we'll respond as soon as possible.</p>
|
||||
<p class="lead text-muted"><?php echo $locale['contactUs2']; ?></p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<!-- Contact Form -->
|
||||
<div class="col-lg-7 mb-4 mb-lg-0">
|
||||
<div class="col mb-lg-0">
|
||||
<div class="contact-form">
|
||||
<h3 class="mb-4">Send us a Message</h3>
|
||||
<h3 class="mb-4"><?php echo $locale['messageSendUs']; ?></h3>
|
||||
<form action="/contact" method="post">
|
||||
<div class="mb-4">
|
||||
<label for="name" class="form-label">Name</label>
|
||||
<label for="name" class="form-label"><?php echo $locale['name']; ?></label>
|
||||
<input type="text" class="form-control form-control-lg" id="name" name="name" value="<?php echo htmlspecialchars($userName); ?>" required>
|
||||
</div>
|
||||
<div class="mb-4">
|
||||
<label for="email" class="form-label">Email</label>
|
||||
<label for="email" class="form-label"><?php echo $locale['email']; ?></label>
|
||||
<input type="email" class="form-control form-control-lg" id="email" name="email" value="<?php echo htmlspecialchars($userEmail); ?>" required>
|
||||
</div>
|
||||
<div class="mb-4">
|
||||
<label for="message" class="form-label">Message</label>
|
||||
<label for="message" class="form-label"><?php echo $locale['message']; ?></label>
|
||||
<textarea class="form-control form-control-lg" id="message" name="message" rows="5" required></textarea>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary btn-lg px-5">Send Message</button>
|
||||
<button type="submit" class="btn btn-primary btn-lg px-5"><?php echo $locale['messageSend']; ?></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue