-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontact.php
96 lines (83 loc) · 2.57 KB
/
contact.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE HTML>
<html>
<head>
<title>Contact</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<!--<link rel="stylesheet" href="assets/css/main.css" />-->
</head>
<body class="is-preload">
<?php include_once 'header.php';
//echo "header contact";?>
<header id="header">
<?//php echo "header header"; ?>
<a class="logo" href="index.php">RTI</a>
<nav>
<?php
session_start();
if(isset($_SESSION['access_token']))
{
$FName=$_SESSION['givenName'];
echo "<a href='profile.php'>$FName</a>";
}
else{
echo "<a href='login.php'>SignIn</a>";
}
?>
<a href="#menu">Menu</a>
</nav>
</header>
<!-- Nav -->
<nav id="menu">
<ul class="links">
<li><a href="index.php">Home</a></li>
<?php
/* if(isset($_SESSION["access_token"]))
{
echo "<li><a href='rti_form/rti_form.html'>Apply Now</a></li>";
}
else{
echo "<li><a href='login.php'>Apply Now</a></li>";
} */
?>
<li><a href='rti_form/rtiform.php'>Apply Now</a></li>
<li><a href="find.php">Find RTI</a></li>
<li><a href="about.php">About Us</a></li>
<li><a href="contact.php">Contact Us</a></li>
<?php
//session_start();
if(isset($_SESSION['access_token']))
{
echo "<li><a href='logout.php'>Logout</a></li>";
}
else{
echo "<li><a href='login.php'>SignIn</a></li>";
}
?>
<!--<li><a href="#">SignUp</a></li> -->
</ul>
</nav>
<!-- Heading -->
<div id="heading" >
<h1>Contact Us</h1>
</div>
<!-- Main -->
<section id="main" class="wrapper">
<div class="inner">
<div class="content">
<div class="contact-form">
<form id="contact-form" method="post" action="contact_handler.php">
<input type="text" name="name" class="form-control" placeholder="Enter Your full Name" required=""><br>
<input type="email" name="email" class="form-control" placeholder="Enter Your email" required=""><br>
<textarea name="message" class="form-control" placeholder="Message" rows="4" required=""></textarea><br>
<input type="submit" class="form-control submit" value="SEND MESSAGE">
</form>
</div>
</div>
</div>
</section>
<?php include 'footer.php' ?>
</body>
</html>