-
Notifications
You must be signed in to change notification settings - Fork 0
/
complainConfirmation.php
56 lines (46 loc) · 1.46 KB
/
complainConfirmation.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink to fit= no">
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" href="bootstrap/css/main.css" />
</head>
<body background="pictures/random/signupBG.jpg">
<!--navigation bar-->
<?php include 'header.php'; ?>
<?php
if(isset($_POST['sendComplain'])){
$msg = 'Name : '.$_POST['name']."/n"
.'Email : '.$_POST['email']."/n"
.'Phone : '.$_POST['phone']."/n"
.'Message : '.$_POST['complaint'] ;
// $subject = $_POST['subject'] ;
// mail('mercado@gmail.com', $subject, $msg) ;
echo "
<div class='container container_main text-light mt-5'>
<div class='row'>
<div class='col'>
<h1 class='text-center'>Your complain is submitted. We are really sorry for the inconvenience u have faced. We will fix this soon.</h1>
</div>
</div>
</div>";
}else{
echo "
<div class='container container_main text-light mt-5'>
<div class='row'>
<div class='col'>
<h1 class='text-center'>Sorry !!! There are some problem to submit your complain !!! Please try again.</h1>
</div>
</div>
</div>";
}
?>
<?php include 'footer.php' ; ?>
<!--scripts-->
<script src="bootstrap/js/jquery.min.js"></script>
<script src="bootstrap/js/popper.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
</body>
</html>