-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex2.php
executable file
·257 lines (239 loc) · 9.92 KB
/
index2.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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
<?php
//require 'common.php';
require 'ProceduresToJson.php';
$widgetJobs = new ProcedureToJson();
$widgetJobs->init();
if(empty($_SESSION['user']))
{
header("Location: index.php");
die("Redirecting to index.php");
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name = "format-detection" content = "telephone=no" />
<title>FillSkills</title>
<link media="all" rel="stylesheet" href="css/jackedup.css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript">window.jQuery || document.write('<script src="js/jquery-1.8.3.min.js"><\/script>')</script>
<script type="text/javascript" src="js/humane.min.js"></script>
<script type="text/javascript" src="js/jquery.a-tools-1.4.1.js"></script>
<script type="text/javascript" src="js/jquery.asuggest.js"></script>
<script type="text/javascript" src="js/dropzone.min.js"></script>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<link media="all" rel="stylesheet" href="css/all.css">
<link media="all" rel="stylesheet" href="css/dz-basic.css">
<link media="all" rel="stylesheet" href="css/dropzone.css">
<!-- <script>(function(){var uv=document.createElement('script');uv.type='text/javascript';uv.async=true;uv.src='//widget.uservoice.com/nyMJniTehAhgN1jvDkD44g.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(uv,s)})()</script>
<script>
UserVoice = window.UserVoice || [];
UserVoice.push(['showTab', 'classic_widget', {
mode: 'feedback',
primary_color: '#cc6d00',
link_color: '#007dbf',
forum_id: 226405,
tab_label: 'Feedback',
tab_color: '#cc6d00',
tab_position: 'middle-right',
tab_inverted: false
}]);
</script> -->
<!-- <script type="text/javascript" src="js/jquery.main.js"></script> -->
<!--[if IE]><script type="text/javascript" src="js/ie.js"></script><![endif]-->
<!-- <script type="text/javascript">
var heap=heap||[];heap.load=function(a){window._heapid=a;var b=document.createElement("script");b.type="text/javascript",b.async=!0,b.src=("https:"===document.location.protocol?"https:":"http:")+"//cdn.heapanalytics.com/js/heap.js";var c=document.getElementsByTagName("script")[0];c.parentNode.insertBefore(b,c);var d=function(a){return function(){heap.push([a].concat(Array.prototype.slice.call(arguments,0)))}},e=["identify","track"];for(var f=0;f<e.length;f++)heap[e[f]]=d(e[f])};
heap.load("812388706");
</script> -->
<script type="text/javascript">
</script>
</head>
<body>
<div id="wrapper">
<header id="header">
<div class="holder">
<div class="frame">
<strong class="logo"><a href="#">FillSkills: Helping you land your dream job</a></strong>
<nav id="nav">
<!-- <a class="home active" href="#">Enter skills</a> -->
<!-- <a class="results" href="#">Results</a>
<a class="courses" href="#">Courses</a>
<a class="skills" href="#">Skills</a>
<a class="contact" href="#">Contact</a> -->
<a class="logout" href="logout.php">Logout</a>
</nav>
</div>
</div>
</header>
<div id="main">
<div class="upload-block">
<p>Start by entering your Skills</p>
<div class="block">
<h1>Drop your resume here</h1>
<form class="drag-box dropzone" id="uiDZResume" action="ParseAndSaveResume.php">
<div class="dropzone-previews"></div>
<!-- <img src="images/img01.gif" width="527" height="243" alt="image description" /> -->
</form>
</div>
<div class="block">
<h1>Add your skills here</h1>
<div class="drag-box">
<textarea id="txtskill" placeholder="and/or enter your skills here" style="margin: 2px; min-height: 235px; min-width: 517px; resize: none;"></textarea>
</div>
</div>
<?php
$resultsallmissingskills = $widgetJobs->get_all_skillnames();
echo '<script type="text/javascript">',
'var suggests =' . $resultsallmissingskills . ';',
'</script>';
?>
</div>
<section class="section gray greenbg">
<article class="holder">
<div class="text-holder">
<a href="#" id="btnupload" class="btn">NEXT ></a>
</div>
</article>
</section>
<!-- <section class="section blue">
<div class="holder">
<div class="frame">
<h1>How FillSkills <strong>Works</strong></h1>
<div class="item">
<div class="ico-box"><a href="#"><img src="images/ico01.gif" width="230" height="230" alt="image description"></a></div>
<h2><a href="#">Acquired Skills</a></h2>
<p>Learn more about your current skills. Check out the current trends on your skills. Find out how you can improve on them. </p>
</div>
<div class="item">
<div class="ico-box"><a href="#"><img src="images/ico02.gif" width="230" height="230" alt="image description"></a></div>
<h2><a href="#">Missing Skills</a></h2>
<p>Compare your current resume against the job market to find out which new skill to learn and where to learn it. </p>
</div>
<div class="item">
<div class="ico-box"><a href="#"><img src="images/ico03.gif" width="230" height="230" alt="image description"></a></div>
<h2><a href="#">Available Courses</a></h2>
<p>What are the best courses for the skill you want to learn?"</p>
</div>
<div class="item">
<div class="ico-box"><a href="#"><img src="images/ico04.gif" width="230" height="230" alt="image description"></a></div>
<h2><a href="#">Available Jobs</a></h2>
<p>Check out the best jobs in the market for your resume.</p>
</div>
</div>
</div>
</section> -->
<section class="section gray" >
<article class="holder" style="margin: 40px auto 50px">
<h2 >How does it work</h2>
<div class="info-columns columns-holder">
<div class="col text-holder">
<h2>1. Enter your skills</h2>
<p class="intro">Start by entering your current skills. You can provide your resume and/or enter skills manually</p>
</div>
<div class="col text-holder">
<h2>2. Set goal</h2>
<p class="intro">Set the goal you want to achieve. Pick from skill-groups with most number of jobs or something you are already working in or choose 'entire market'.</p>
</div>
<div class="col text-holder">
<h2>3. Find what to learn next</h2>
<p class="intro">See whats missing between you and your goal. See courses for those skills.</p>
</div>
</div>
<!-- <img src="images/img03.png" width="478" height="271" alt="image description">
<div class="text-holder">
<h1>About Us</h1>
<p class="intro">Find which skills are in demand in the market <br>and then quickly take the best courses that help you catch up. </p>
<p>As the American economy tumbled in 2008, we saw a disconnect between growing numbers of unemployed and a large pool of jobs available. The missing link was skills required to apply for these jobs. Our concerns led us to create FillSkills - a bridge leading people to their dream jobs. </p>
<a href="#" class="btn">Click here to find out more about us</a>
</div> -->
</article>
</section>
<section class="section contact">
<div class="holder">
<div class="address-box">
<ul class="sociable">
<li><a class="twitter" href="https://twitter.com/hadipainc"></a></li>
<li><a class="facebook" href="#"></a></li>
<!-- <li><a class="google-plus" href="#"></a></li> -->
</ul>
</div>
<!-- <form action="#" class="contact-form">
<fieldset>
<div class="textarea-holder">
<textarea cols="30" rows="10" placeholder="Message"></textarea>
</div>
<div class="text-row">
<input type="text" placeholder="Name" />
</div>
<div class="text-row">
<input type="email" placeholder="E-mail" />
</div>
<div class="btn-row">
<input type="submit" value="Send Message" />
</div>
</fieldset>
</form> -->
</div>
</section>
</div>
<!--<footer id="footer">
<div class="holder">
<p class="copy">© Copyright 2013 Fillskills</p>
<form action="#" class="subscribe-form">
<fieldset>
<label for="subscribe-field">Get our FillSkills Newslvetter</label>
<div class="input-row">
<input id="subscribe-field" type="text" placeholder="Your E-mail Address" />
</div>
</fieldset>
</form>
<ul class="footer-menu">
<li><a href="#">ABOUT</a></li>
</ul>
</div>
</footer>-->
</div>
<script type="text/javascript">
$( document ).ready(function() {
//humane.log("Hey there, welcome. <br> Start by entering your skills.<br", {timeout:1500});
$("#txtskill").asuggest(suggests, {
'endingSymbols': ', '
});
});
$('#btnupload').click(function () {
//alert(uiDZResume.getAcceptedFiles().count);
//console.log($('#txtskill').val());
$.ajax({ url: 'ParseAndSaveSkills.php',
// data: {action: 'get_missingskills_job'},
data: { skillstring: $('#txtskill').val() },
type: 'POST',
success: function(output) {
//SWITCH TO OTHER PAGE
//alert(output);
window.location.replace("target.php");
//$('#naslov b').html(output);
}
});
});
$(function() {
Dropzone.options.uiDZResume = {
autoProcessQueue: true,
uploadMultiple: true,
parallelUploads: 100,
maxFiles: 1,
acceptedFiles: ".pdf,.doc,.docx"
, init: function() {
this.on("addedfile", function(file) {
//alert("Added file.");
});
},
success: function(file, response){
//alert(response);
}
};
});
</script>
</body>
</html>