-
Notifications
You must be signed in to change notification settings - Fork 2
/
help.php
56 lines (55 loc) · 1.41 KB
/
help.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
<?php
include 'util.php';
my_session_start();
if($_SESSION["user_type"] == "Admin")
{
include 'admin_menu.php';
}else{
include 'menu.php';
}
if (isset($_SESSION["user_email_address"])){
$user_email_address=$_SESSION["user_email_address"];
$user_firstname=$_SESSION["user_firstname"];
$user_lastname=$_SESSION["user_lastname"];
$user_name=$user_firstname." ".$user_lastname;
}
else{
$user_name="";
$user_email_address="";
}
?>
<html>
<head>
<title>Help Page</title>
<style>
.footer{
margin-top: 2.9%;
}
</style>
</head>
<div class="container">
<div style="text-align:center">
<h4>Kindly tell us your query</h4>
</div>
<div class="row">
<form method ="post" action="help_mediator.php" name="emailform">
<label for="fname">Name</label>
<input type="text" id="name" name="name" placeholder="Your name" value="<?php echo $user_name?>">
<label for="lname">Email</label>
<input type="Email" id="mail" name="mail" placeholder="Your Email-ID" value="<?php echo $user_email_address?>">
<label for="subject">Subject</label>
<textarea id="subject" name="content"
placeholder="Please start writing here"
style="height:110px">
</textarea>
<input type="submit" name="submit" value="Submit" style="color:black">
</form>
</div>
</div>
<div class="footer">
<?php
include 'footer.php';
?>
</div>
</div>
</html>