forked from michsko544/RecruitmentSystem
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanage_service.php
90 lines (81 loc) · 2.92 KB
/
manage_service.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
<?php
session_start();
if ((!isset($_SESSION['logged_in'])) || ($_SESSION['logged_in'] == false))
{
header('Location: index.php');
exit();
}
require_once "php/connect.php";
require_once "php/getRole.php";
getRole($host, $db_user, $db_pass, $db_name);
require_once "php/AddPosition.php";
$position = new AddPosition(true, $host, $db_user, $db_pass, $db_name);
if (isset($_POST['position'])){
$position->add();
}
if (isset($_GET['report'])){
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Recruitment System - Manage service</title>
<link rel="stylesheet" href="/css/style.css" type="text/css">
<link rel="stylesheet" href="/font/stylesheet.css" type="text/css" charset="utf-8" />
<link href="css/jquery-ui.css" rel="stylesheet" />
<script src="script/jquery-1.11.1.js"></script>
<script src="script/jquery-ui.js"></script>
</head>
<body>
<nav>
<div class="nav-bar">
<div class="logo-nav">myCompany</div>
<ul class="nav-links">
<li id="menu">Menu</li>
</ul>
<div id="btn-burger" class="btn-nav">
<div class="line1"></div>
<div class="line2"></div>
<div class="line3"></div>
</div>
</div>
<div id="nav-help"></div>
</nav>
<div id="container">
<div id="sign-up-1" class="sign-up-wrapper">
<!--<div class="page-title cyan-color">Add position</div>
<form id="sform" action="" method="post">
<div class="form-row">
<label for="login">Position name</label>
<input type="text" name="position" value="<?php $position->rememberValue('rem_position'); ?>" placeholder="Position" required>
<div class="underline"></div>
<?php
$position->setError('err_position');
?>
</div>
<div class="form-row">
<label for="description">Description</label>
<textarea name="description" cols="35" rows="4" placeholder="e.g. programming, data analysing, network designing, microprocessors coding"><?php $position->rememberValue('rem_description'); ?></textarea>
<div class="underlineTA"></div>
<?php
$position->setError('err_description');
?>
</div>
<div class="form-btn-wrapper">
<input type="submit" value="Create" class="btn btn-cyan" id="btn-sign-up-1">
</div>
</form>-->
Generate report
</div>
</div>
</body>
<script src="script/burger.js"></script>
<script src="script/main.js"></script>
<script src="script/user-data-handler.js"></script>
<script src="script/input-file.js"></script>
<script src="script/sign-up.js"></script>
<script src="script/userRecognizer.js"></script>
</html>