|
|
@ -30,7 +30,6 @@ class ModelCandidate
|
|
|
|
$answer = [];
|
|
|
|
$answer = [];
|
|
|
|
$category = [];
|
|
|
|
$category = [];
|
|
|
|
$questionsId = [];
|
|
|
|
$questionsId = [];
|
|
|
|
var_dump($answersAndCategories);
|
|
|
|
|
|
|
|
foreach ($answersAndCategories as $answerAndCategory) {
|
|
|
|
foreach ($answersAndCategories as $answerAndCategory) {
|
|
|
|
$exploded = explode("||",$answerAndCategory);
|
|
|
|
$exploded = explode("||",$answerAndCategory);
|
|
|
|
if( count($exploded) == 3 ){
|
|
|
|
if( count($exploded) == 3 ){
|
|
|
@ -76,9 +75,6 @@ class ModelCandidate
|
|
|
|
$nbQuestions = count($questions);
|
|
|
|
$nbQuestions = count($questions);
|
|
|
|
$time = round(($nbQuestions * 20)/60);
|
|
|
|
$time = round(($nbQuestions * 20)/60);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$html = "<div class='container mt-5'>
|
|
|
|
$html = "<div class='container mt-5'>
|
|
|
|
<div class='row d-flex justify-content-center align-items-center'>
|
|
|
|
<div class='row d-flex justify-content-center align-items-center'>
|
|
|
|
<div class='col-md-8'>
|
|
|
|
<div class='col-md-8'>
|
|
|
@ -97,7 +93,10 @@ class ModelCandidate
|
|
|
|
|
|
|
|
|
|
|
|
if (count($questions) > 0) {
|
|
|
|
if (count($questions) > 0) {
|
|
|
|
$html.= "<div class='thanks-message text-center' id='text-message'> <img src='https://i.imgur.com/O18mJ1K.png' width='100' class='mb-4'>
|
|
|
|
$html.= "<div class='thanks-message text-center' id='text-message'> <img src='https://i.imgur.com/O18mJ1K.png' width='100' class='mb-4'>
|
|
|
|
<h3>Merci d'avoir répondu !</h3> <span>Nous vous rencontacterons si votre profil nous intéresse !</span>
|
|
|
|
<h3>Souhaitez-vous envoyer vos réponses ?</span>
|
|
|
|
|
|
|
|
<input type='hidden' name='data_ids' value=''>
|
|
|
|
|
|
|
|
<input type='submit' value='Envoyer' id='button'>\n
|
|
|
|
|
|
|
|
<input type='hidden' name='action' value='submitForm'>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div style='overflow:auto;' id='nextprevious'>
|
|
|
|
<div style='overflow:auto;' id='nextprevious'>
|
|
|
|
<div style='float:right;'>
|
|
|
|
<div style='float:right;'>
|
|
|
|