mirror of
https://github.com/t404owo/t404null.git
synced 2025-12-12 09:58:46 +00:00
Fixed twitter link
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html >
|
||||
<?php include 'sendmail.php';?>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
@@ -57,7 +58,7 @@ I write/make music (DTM), and for every releases I'll post my musics in this web
|
||||
<a class="iconfont-wrapper" href="https://www.youtube.com/channel/UCtkR_TTVaiUSASsGH4IXQfQ" target="_blank">
|
||||
<span class="p-2 mbr-iconfont socicon-youtube socicon"></span>
|
||||
</a>
|
||||
<a class="iconfont-wrapper" href="https://twitter.com/t404owo" target="_blank">
|
||||
<a class="iconfont-wrapper" href="https://twitter.com/t404_null" target="_blank">
|
||||
<span class="p-2 mbr-iconfont socicon-twitter socicon"></span>
|
||||
</a>
|
||||
<a class="iconfont-wrapper" href="https://t404null.bandcamp.com" target="_blank">
|
||||
@@ -134,12 +135,12 @@ I write/make music (DTM), and for every releases I'll post my musics in this web
|
||||
<div class="card col-12 col-md-6">
|
||||
<div class="card-wrapper">
|
||||
<div class="image-wrapper">
|
||||
<a href="http://twitter.com/t404owo"><span class="mbr-iconfont socicon-twitter socicon" style="color: rgb(34, 165, 229); fill: rgb(34, 165, 229);"></span></a>
|
||||
<a href="http://twitter.com/t404_null"><span class="mbr-iconfont socicon-twitter socicon" style="color: rgb(34, 165, 229); fill: rgb(34, 165, 229);"></span></a>
|
||||
</div>
|
||||
<div class="text-wrapper">
|
||||
<h6 class="card-title mbr-fonts-style mb-1 display-5">
|
||||
<strong>Twitter</strong></h6>
|
||||
<p class="mbr-text mbr-fonts-style display-7"><a href="http://twitter.com/t404owo" class="text-info">@t404owo</a></p>
|
||||
<p class="mbr-text mbr-fonts-style display-7"><a href="http://twitter.com/t404_null" class="text-info">@t404null</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -147,6 +148,42 @@ I write/make music (DTM), and for every releases I'll post my musics in this web
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section data-bs-version="5.1" class="contacts2 cid-sJFKpKD4RC" id="contacts3-j">
|
||||
<!---->
|
||||
|
||||
|
||||
<div class="container">
|
||||
<div class="mbr-section-head">
|
||||
<h3 class="mbr-section-title mbr-fonts-style align-center mb-0 display-2">
|
||||
<strong>Contact Me</strong>
|
||||
</h3>
|
||||
|
||||
</div>
|
||||
<div class="row justify-content-center mt-4">
|
||||
<form action="mailto:t404owo@gmail.com" id="contact-form" novalidate="novalidate" method="post">
|
||||
<div class="form-group">
|
||||
<label for="exampleFormControlInput1">Name</label>
|
||||
<input type="text" class="form-control" id="name" name="name" placeholder="Your name" required="">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="exampleFormControlInput1">Email</label>
|
||||
<input type="email" class="form-control" id="email" name="email" placeholder="example@example_mail.com" required="">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="exampleFormControlInput1">Subject</label>
|
||||
<input type="text" class="form-control" id="subject" name="subject" placeholder="Email Subject" required="">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="exampleFormControlTextarea1">Message</label>
|
||||
<textarea class="form-control" id="message" name="message" rows="5" placeholder="Write your message here" required=""></textarea>
|
||||
</div>
|
||||
<input type="submit" class="btn btn-outline-primary" name="submit" id="contact-submit" data-submit="Sending...">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
<section data-bs-version="5.1" class="footer3 cid-sIH4mf7xzA mbr-reveal" once="footers" id="footer3-7">
|
||||
|
||||
|
||||
@@ -177,7 +214,7 @@ I write/make music (DTM), and for every releases I'll post my musics in this web
|
||||
<span class="mbr-iconfont mbr-iconfont-social socicon-youtube socicon"></span>
|
||||
</a>
|
||||
</div><div class="soc-item">
|
||||
<a href="https://twitter.com/t404owo" target="_blank">
|
||||
<a href="https://twitter.com/t404_null" target="_blank">
|
||||
<span class="mbr-iconfont mbr-iconfont-social socicon-twitter socicon"></span>
|
||||
</a>
|
||||
</div><div class="soc-item">
|
||||
|
||||
42
contacts/question-submitted.php
Normal file
42
contacts/question-submitted.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
|
||||
if(isset($_POST['submit'])) {
|
||||
$mailto = "hmawebdesign@hotmail.com"; //My email address
|
||||
//getting customer data
|
||||
$name = $_POST['name']; //getting customer name
|
||||
$fromEmail = $_POST['email']; //getting customer email
|
||||
$phone = $_POST['tel']; //getting customer Phome number
|
||||
$subject = $_POST['subject']; //getting subject line from client
|
||||
$subject2 = "Confirmation: Message was submitted successfully | HMA WebDesign"; // For customer confirmation
|
||||
|
||||
//Email body I will receive
|
||||
$message = "Cleint Name: " . $name . "\n"
|
||||
. "Phone Number: " . $phone . "\n\n"
|
||||
. "Client Message: " . "\n" . $_POST['message'];
|
||||
|
||||
//Message for client confirmation
|
||||
$message2 = "Dear" . $name . "\n"
|
||||
. "Thank you for contacting us. We will get back to you shortly!" . "\n\n"
|
||||
. "You submitted the following message: " . "\n" . $_POST['message'] . "\n\n"
|
||||
. "Regards," . "\n" . "- HMA WebDesign";
|
||||
|
||||
//Email headers
|
||||
$headers = "From: " . $fromEmail; // Client email, I will receive
|
||||
$headers2 = "From: " . $mailto; // This will receive client
|
||||
|
||||
//PHP mailer function
|
||||
|
||||
$result1 = mail($mailto, $subject, $message, $headers); // This email sent to My address
|
||||
$result2 = mail($fromEmail, $subject2, $message2, $headers2); //This confirmation email to client
|
||||
|
||||
//Checking if Mails sent successfully
|
||||
|
||||
if ($result1 && $result2) {
|
||||
$success = "Your Message was sent Successfully!";
|
||||
} else {
|
||||
$failed = "Sorry! Message was not sent, Try again Later.";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user