-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
119 lines (111 loc) · 4.16 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
h1{
text-align: center;
padding: auto;
}
</style>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">Table jobs</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarText">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">google jobs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Indeed jobs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Computrabajo jobs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">GlassDor jobs</a>
</li>
</ul>
</div>
</nav>
<div style="overflow-x:auto;">
<h1>Google</h1>
<table class="table table-striped table-bordered table-dark table-hover">
<?php
require_once("./scraping_google.php");
$out = "";
foreach($g as $key => $element){
$out .= "<tr>";
foreach($element as $subkey => $subelement){
$out .= "<td>$subelement</td>";
}
$out .= "</tr>";
}
echo $out;
?>
</table>
</div>
<div style="overflow-x:auto;">
<h1>Indeed</h1>
<table class="table table-striped table-bordered table-dark table-hover">
<?php
require_once("./scraping_indeed.php");
$out = "";
foreach($i as $key => $element){
$out .= "<tr>";
foreach($element as $subkey => $subelement){
$out .= "<td>$subelement</td>";
}
$out .= "</tr>";
}
echo $out;
?>
</table>
</div>
<div style="overflow-x:auto;">
<h1>CompuTrabajo</h1>
<table class="table table-striped table-bordered table-dark table-hover">
<?php
require_once("./scraping_computrabajo.php");
$out = "";
foreach($ct as $key => $element){
$out .= "<tr>";
foreach($element as $subkey => $subelement){
$out .= "<td>$subelement</td>";
}
$out .= "</tr>";
}
echo $out;
?>
</table>
</div>
<div style="overflow-x:auto;">
<h1>GlassDor</h1>
<table class="table table-striped table-bordered table-dark table-hover">
<?php
require_once("./scraping_glassdor.php");
$out = "";
foreach($gd as $key => $element){
$out .= "<tr>";
foreach($element as $subkey => $subelement){
$out .= "<td>$subelement</td>";
}
$out .= "</tr>";
}
echo $out;
?>
</table>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>