-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddjob.php
132 lines (108 loc) · 4.82 KB
/
addjob.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!doctype html>
<?php
include("config.php");
if(empty($_SESSION['id'])){
header('location:login.html');
exit;
}
?>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="30">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="apple-touch-icon" sizes="180x180" href="favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon/favicon-16x16.png">
<link rel="manifest" href="favicon/site.webmanifest">
<link rel="mask-icon" href="favicon/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="favicon/favicon.ico">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-config" content="favicon/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<title>Profile </title>
<!-- Bootstrap core CSS -->
<link href="dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="common.css" rel="stylesheet">
<link href="addjobs.css" rel="stylesheet">
<link href="fonts.css" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-expand-md navbar-dark fixed-top">
<div class="navbar-collapse collapse w-100 order-1 order-md-0 dual-collapse2">
<a class="navbar-brand" href="index.php" style="font-weight: 700;">Konnect.ed</a>
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href="profile.php">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link" href="network.php">Network</a>
</li>
<li class="nav-item">
<a class="nav-link" href="messages.php">Messages</a>
</li>
<li class="nav-item">
<a class="nav-link" href="jobs.php">Jobs</a>
</li>
</ul>
</div>
<div class="mx-auto order-2">
<form class="navbar-brand mx-auto form-inline" method="post">
<input class="form-control multitext" name="information" type="text" placeholder="Who are you looking for?" aria-label="Search">
<button class="btn btn-default" formaction="search.php" style="" type="submit">Search</button>
</form>
</div>
<div class="navbar-collapse collapse w-100 order-3 dual-collapse2">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<form class="form-inline nav-item">
<button class="btn btn-default" formaction="logout.php" style="font-weight:600;" type="submit">Disconnect</button>
</form>
</li>
</ul>
</div>
</nav>
<main role="main" class="container">
<div class="jumbotron">
<h1>Add an offer</h1>
<form method="post" action="post_addjob.php" class="form-horizontal">
<div class="form-group">
<input type="text" name="jobloc" id="jl" class="form-control mr-sm-2" placeholder="Job location">
</div>
<div class="form-group">
<input type="text" name="company" id="c" class="form-control mr-sm-2" placeholder="Company">
</div>
<div class="form-group">
<input type="text" name="title" id="t" class="form-control mr-sm-2" placeholder="Title">
</div>
<div class="form-group">
<input type="text" name="jobdescri" id="jd" class="form-control mr-sm-2" placeholder="Job description">
</div>
<div class="form-group">
<input type="number" name="len" id="l" class="form-control mr-sm-2" placeholder="Length">
</div>
<div class="form-group">
<input type="text" name="skills" id="s" class="form-control mr-sm-2" placeholder="Skills">
</div>
<div class="form-group">
<input type="text" name="area" id="a" class="form-control mr-sm-2" placeholder="Area">
</div>
<button class="btn btn-primary mr-sm-2" style="" type="submit">Add this offer</button>
</form>
</div>
</main>
<footer class="mastfoot mt-auto">
<div class="inner">
<p>Konnect.ed<br>A. Prat, M. Michel and S. Caddeo</p>
</div>
</footer>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script>window.jQuery || document.write('<script src="../../../../assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
<script src="../../../../assets/js/vendor/popper.min.js"></script>
<script src="../../../../dist/js/bootstrap.min.js"></script>
</body>
</html>