-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwelcome.php
37 lines (33 loc) · 951 Bytes
/
welcome.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
<?php
session_start();
if (!isset($_SESSION['username']))
{
if (!isset($_REQUEST['username']))
header('Location: index.php');
else
{
$_SESSION['username']=$_REQUEST['username'];
$_SESSION['fname']=$_REQUEST['fname'];
}
}
$username = $_SESSION['username'];
$fname = $_SESSION['fname'];
include 'header.php';
include 'menu.php';
?>
<header>
<div id="menu-button"><a href="" id="menu-btn"><i class="ss-icon"></i></a></div>
<h1><a href="/">HiredinNY</a></h1>
</header>
<div id="main">
<center>
<h4>Welcome, <?php echo $fname?>!</h4>
<form class="form-search" name="input" action="jobresults.php" method="get">
<input type="text" class=" search-query" name="title" placeholder="Job Title Search">
<button type="submit" class="btn">Search</button>
</form>
<BR><BR>
<img src="logo.png" width="222" height="222">
</center>
</div><!--/main-->
<?php include("footer.php"); ?>