@@ -1,5 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | // File generated to wrap the alias page - DO NOT MODIFY - It is just a wrapper to real page |
3 | 3 | global $dolibarr_main_data_root; |
4 | -if (empty($dolibarr_main_data_root)) require './page193.tpl.php'; else require $dolibarr_main_data_root.'/website/'.$website->ref.'/page193.tpl.php'; |
|
4 | +if (empty($dolibarr_main_data_root)) { |
|
5 | + require './page193.tpl.php'; |
|
6 | +} else { |
|
7 | + require $dolibarr_main_data_root.'/website/'.$website->ref.'/page193.tpl.php'; |
|
8 | +} |
|
5 | 9 | ?> |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | // BEGIN PHP File generated to provide an index.php as Home Page or alias redirector - DO NOT MODIFY - It is just a generated wrapper. |
3 | -$websitekey=basename(__DIR__); if (empty($websitepagefile)) $websitepagefile=__FILE__; |
|
4 | -if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { require_once './master.inc.php'; } // Load master if not already loaded |
|
3 | +$websitekey = basename(__DIR__); if (empty($websitepagefile)) $websitepagefile = __FILE__; |
|
4 | +if (!defined('USEDOLIBARRSERVER') && !defined('USEDOLIBARREDITOR')) { require_once './master.inc.php'; } // Load master if not already loaded |
|
5 | 5 | if (!empty($_GET['pageref']) || !empty($_GET['pagealiasalt']) || !empty($_GET['pageid'])) { |
6 | 6 | require_once DOL_DOCUMENT_ROOT.'/core/lib/website.lib.php'; |
7 | 7 | require_once DOL_DOCUMENT_ROOT.'/core/website.inc.php'; |
@@ -1,6 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | // BEGIN PHP File generated to provide an index.php as Home Page or alias redirector - DO NOT MODIFY - It is just a generated wrapper. |
3 | -$websitekey=basename(__DIR__); if (empty($websitepagefile)) $websitepagefile=__FILE__; |
|
3 | +$websitekey=basename(__DIR__); if (empty($websitepagefile)) { |
|
4 | + $websitepagefile=__FILE__; |
|
5 | +} |
|
4 | 6 | if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { require_once './master.inc.php'; } // Load master if not already loaded |
5 | 7 | if (!empty($_GET['pageref']) || !empty($_GET['pagealiasalt']) || !empty($_GET['pageid'])) { |
6 | 8 | require_once DOL_DOCUMENT_ROOT.'/core/lib/website.lib.php'; |
@@ -1,5 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | // File generated to wrap the alias page - DO NOT MODIFY - It is just a wrapper to real page |
3 | 3 | global $dolibarr_main_data_root; |
4 | -if (empty($dolibarr_main_data_root)) require './page182.tpl.php'; else require $dolibarr_main_data_root.'/website/'.$website->ref.'/page182.tpl.php'; |
|
4 | +if (empty($dolibarr_main_data_root)) { |
|
5 | + require './page182.tpl.php'; |
|
6 | +} else { |
|
7 | + require $dolibarr_main_data_root.'/website/'.$website->ref.'/page182.tpl.php'; |
|
8 | +} |
|
5 | 9 | ?> |
@@ -1,5 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | // File generated to wrap the alias page - DO NOT MODIFY - It is just a wrapper to real page |
3 | 3 | global $dolibarr_main_data_root; |
4 | -if (empty($dolibarr_main_data_root)) require './page179.tpl.php'; else require $dolibarr_main_data_root.'/website/'.$website->ref.'/page179.tpl.php'; |
|
4 | +if (empty($dolibarr_main_data_root)) { |
|
5 | + require './page179.tpl.php'; |
|
6 | +} else { |
|
7 | + require $dolibarr_main_data_root.'/website/'.$website->ref.'/page179.tpl.php'; |
|
8 | +} |
|
5 | 9 | ?> |
@@ -1,5 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | // File generated to wrap the alias page - DO NOT MODIFY - It is just a wrapper to real page |
3 | 3 | global $dolibarr_main_data_root; |
4 | -if (empty($dolibarr_main_data_root)) require './page192.tpl.php'; else require $dolibarr_main_data_root.'/website/'.$website->ref.'/page192.tpl.php'; |
|
4 | +if (empty($dolibarr_main_data_root)) { |
|
5 | + require './page192.tpl.php'; |
|
6 | +} else { |
|
7 | + require $dolibarr_main_data_root.'/website/'.$website->ref.'/page192.tpl.php'; |
|
8 | +} |
|
5 | 9 | ?> |
@@ -1,5 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | // File generated to wrap the alias page - DO NOT MODIFY - It is just a wrapper to real page |
3 | 3 | global $dolibarr_main_data_root; |
4 | -if (empty($dolibarr_main_data_root)) require './page191.tpl.php'; else require $dolibarr_main_data_root.'/website/'.$website->ref.'/page191.tpl.php'; |
|
4 | +if (empty($dolibarr_main_data_root)) { |
|
5 | + require './page191.tpl.php'; |
|
6 | +} else { |
|
7 | + require $dolibarr_main_data_root.'/website/'.$website->ref.'/page191.tpl.php'; |
|
8 | +} |
|
5 | 9 | ?> |
@@ -63,52 +63,52 @@ |
||
63 | 63 | |
64 | 64 | <section id="sectionnews" contenteditable="false" class="section-50 section-md-50 section-md-bottom-50"> |
65 | 65 | <?php |
66 | - include_once DOL_DOCUMENT_ROOT.'/recruitment/class/recruitmentjobposition.class.php'; |
|
67 | - $jobposition = new RecruitmentJobPosition($db); |
|
68 | - $fuser = new User($db); |
|
69 | - $arrayofrecord = $jobposition->fetchAll('DESC', 'date_creation', 5, 0, array('status'=>'1,3,9')); |
|
70 | - $weblangs->load("main"); |
|
71 | - foreach($arrayofrecord as $jobrecord) |
|
72 | - { |
|
73 | - print '<div class="row justify-content-sm-center row-40">'; |
|
74 | - print '<div class="container blog-box d-xl-inline-block" style="box-shadow: -1px 0px 10px 0px rgba(65, 65, 65, 0.12); transition: .3s all ease;">'; |
|
75 | - //print '<a href="/public/recruitment/view.php?id='.$jobrecord->id.'.php">'; |
|
76 | - //print '<div class="post-boxed-img-wrap"><img src="'.($blog->image ? 'viewimage.php?modulepart=medias&file='.$blog->image : 'medias/image/'.$website->ref.'/calendar.svg"').'" alt="" width="120"></div>'; |
|
77 | - print '<div class="post-boxed-caption">'; |
|
78 | - print '<div class="post-boxed-title font-weight-bold">'.$jobrecord->label.'</div>'; |
|
79 | - print '<ul class="list-inline list-inline-dashed">'; |
|
80 | - print '<li><span class="text-primary">'.dol_print_date($jobrecord->date_creation, 'daytext', 'tzserver', $weblangs).'</span></li>'; |
|
81 | - //$fuser->fetch($jobrecord->fk_user_recruitment); |
|
82 | - //print '<li><span>par<span> <span class="text-primary">'.$fuser->firstname.'</span></span></li>'; |
|
83 | - //print '<li><span>Contact:<span> <span class="text-primary">Laurent Destailleur - [email protected]</span></span></li>'; |
|
84 | - print '</ul>'; |
|
85 | - print '</div>'; |
|
66 | + include_once DOL_DOCUMENT_ROOT.'/recruitment/class/recruitmentjobposition.class.php'; |
|
67 | + $jobposition = new RecruitmentJobPosition($db); |
|
68 | + $fuser = new User($db); |
|
69 | + $arrayofrecord = $jobposition->fetchAll('DESC', 'date_creation', 5, 0, array('status'=>'1,3,9')); |
|
70 | + $weblangs->load("main"); |
|
71 | + foreach($arrayofrecord as $jobrecord) |
|
72 | + { |
|
73 | + print '<div class="row justify-content-sm-center row-40">'; |
|
74 | + print '<div class="container blog-box d-xl-inline-block" style="box-shadow: -1px 0px 10px 0px rgba(65, 65, 65, 0.12); transition: .3s all ease;">'; |
|
75 | + //print '<a href="/public/recruitment/view.php?id='.$jobrecord->id.'.php">'; |
|
76 | + //print '<div class="post-boxed-img-wrap"><img src="'.($blog->image ? 'viewimage.php?modulepart=medias&file='.$blog->image : 'medias/image/'.$website->ref.'/calendar.svg"').'" alt="" width="120"></div>'; |
|
77 | + print '<div class="post-boxed-caption">'; |
|
78 | + print '<div class="post-boxed-title font-weight-bold">'.$jobrecord->label.'</div>'; |
|
79 | + print '<ul class="list-inline list-inline-dashed">'; |
|
80 | + print '<li><span class="text-primary">'.dol_print_date($jobrecord->date_creation, 'daytext', 'tzserver', $weblangs).'</span></li>'; |
|
81 | + //$fuser->fetch($jobrecord->fk_user_recruitment); |
|
82 | + //print '<li><span>par<span> <span class="text-primary">'.$fuser->firstname.'</span></span></li>'; |
|
83 | + //print '<li><span>Contact:<span> <span class="text-primary">Laurent Destailleur - [email protected]</span></span></li>'; |
|
84 | + print '</ul>'; |
|
85 | + print '</div>'; |
|
86 | 86 | |
87 | - print '<div class="left" style="line-height: 1.5em; margin-top: 30px; margin-left: 20px; margin-right: 20px">'; |
|
88 | - //includeContainer($blog->pageurl); |
|
87 | + print '<div class="left" style="line-height: 1.5em; margin-top: 30px; margin-left: 20px; margin-right: 20px">'; |
|
88 | + //includeContainer($blog->pageurl); |
|
89 | 89 | |
90 | - if ($jobrecord->status == RecruitmentJobPosition::STATUS_RECRUITED) { |
|
91 | - $langs->load('recruitment'); |
|
92 | - print info_admin($langs->trans("JobClosedTextCandidateFound"), 0, 0, 0, 'warning'); |
|
93 | - print '<br>'; |
|
94 | - } |
|
95 | - if ($jobrecord->status == RecruitmentJobPosition::STATUS_CANCELED) { |
|
96 | - $langs->load('recruitment'); |
|
97 | - print info_admin($langs->trans("JobClosedTextCanceled"), 0, 0, 0, 'warning'); |
|
98 | - print '<br>'; |
|
99 | - } |
|
90 | + if ($jobrecord->status == RecruitmentJobPosition::STATUS_RECRUITED) { |
|
91 | + $langs->load('recruitment'); |
|
92 | + print info_admin($langs->trans("JobClosedTextCandidateFound"), 0, 0, 0, 'warning'); |
|
93 | + print '<br>'; |
|
94 | + } |
|
95 | + if ($jobrecord->status == RecruitmentJobPosition::STATUS_CANCELED) { |
|
96 | + $langs->load('recruitment'); |
|
97 | + print info_admin($langs->trans("JobClosedTextCanceled"), 0, 0, 0, 'warning'); |
|
98 | + print '<br>'; |
|
99 | + } |
|
100 | 100 | |
101 | 101 | |
102 | - print '<span class="nohover">'.$jobrecord->description.'</span>'; |
|
102 | + print '<span class="nohover">'.$jobrecord->description.'</span>'; |
|
103 | 103 | |
104 | - print '<br><br><span>Contact:<span> <span class="text-primary">Laurent Destailleur - '.$jobrecord->email_recruiter.'</span></span>'; |
|
104 | + print '<br><br><span>Contact:<span> <span class="text-primary">Laurent Destailleur - '.$jobrecord->email_recruiter.'</span></span>'; |
|
105 | 105 | |
106 | - print '</div>'; |
|
107 | - //print '</a>'; |
|
108 | - print '</div>'; |
|
109 | - print '</div>'; |
|
110 | - } |
|
111 | - ?> |
|
106 | + print '</div>'; |
|
107 | + //print '</a>'; |
|
108 | + print '</div>'; |
|
109 | + print '</div>'; |
|
110 | + } |
|
111 | + ?> |
|
112 | 112 | </section> |
113 | 113 | </div></div> |
114 | 114 | </section> |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php // BEGIN PHP |
2 | -$websitekey=basename(__DIR__); if (empty($websitepagefile)) $websitepagefile=__FILE__; |
|
3 | -if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { |
|
2 | +$websitekey = basename(__DIR__); if (empty($websitepagefile)) $websitepagefile = __FILE__; |
|
3 | +if (!defined('USEDOLIBARRSERVER') && !defined('USEDOLIBARREDITOR')) { |
|
4 | 4 | $pathdepth = count(explode('/', $_SERVER['SCRIPT_NAME'])) - 2; |
5 | 5 | require_once ($pathdepth ? str_repeat('../', $pathdepth) : './').'master.inc.php'; |
6 | 6 | } // Not already loaded |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | $fuser = new User($db); |
69 | 69 | $arrayofrecord = $jobposition->fetchAll('DESC', 'date_creation', 5, 0, array('status'=>'1,3,9')); |
70 | 70 | $weblangs->load("main"); |
71 | - foreach($arrayofrecord as $jobrecord) |
|
71 | + foreach ($arrayofrecord as $jobrecord) |
|
72 | 72 | { |
73 | 73 | print '<div class="row justify-content-sm-center row-40">'; |
74 | 74 | print '<div class="container blog-box d-xl-inline-block" style="box-shadow: -1px 0px 10px 0px rgba(65, 65, 65, 0.12); transition: .3s all ease;">'; |
@@ -1,5 +1,7 @@ discard block |
||
1 | 1 | <?php // BEGIN PHP |
2 | -$websitekey=basename(__DIR__); if (empty($websitepagefile)) $websitepagefile=__FILE__; |
|
2 | +$websitekey=basename(__DIR__); if (empty($websitepagefile)) { |
|
3 | + $websitepagefile=__FILE__; |
|
4 | +} |
|
3 | 5 | if (! defined('USEDOLIBARRSERVER') && ! defined('USEDOLIBARREDITOR')) { |
4 | 6 | $pathdepth = count(explode('/', $_SERVER['SCRIPT_NAME'])) - 2; |
5 | 7 | require_once ($pathdepth ? str_repeat('../', $pathdepth) : './').'master.inc.php'; |
@@ -26,7 +28,10 @@ discard block |
||
26 | 28 | <!-- Include link to JS file --> |
27 | 29 | <script async src="/javascript.js.php"></script> |
28 | 30 | <!-- Include HTML header from common file --> |
29 | -<?php if (file_exists(DOL_DATA_ROOT."/website/".$websitekey."/htmlheader.html")) include DOL_DATA_ROOT."/website/".$websitekey."/htmlheader.html"; ?> |
|
31 | +<?php if (file_exists(DOL_DATA_ROOT."/website/".$websitekey."/htmlheader.html")) { |
|
32 | + include DOL_DATA_ROOT."/website/".$websitekey."/htmlheader.html"; |
|
33 | +} |
|
34 | +?> |
|
30 | 35 | <!-- Include HTML header from page header block --> |
31 | 36 | |
32 | 37 | </head> |
@@ -1,5 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | // File generated to wrap the alias page - DO NOT MODIFY - It is just a wrapper to real page |
3 | 3 | global $dolibarr_main_data_root; |
4 | -if (empty($dolibarr_main_data_root)) require './page190.tpl.php'; else require $dolibarr_main_data_root.'/website/'.$website->ref.'/page190.tpl.php'; |
|
4 | +if (empty($dolibarr_main_data_root)) { |
|
5 | + require './page190.tpl.php'; |
|
6 | +} else { |
|
7 | + require $dolibarr_main_data_root.'/website/'.$website->ref.'/page190.tpl.php'; |
|
8 | +} |
|
5 | 9 | ?> |
@@ -1,5 +1,9 @@ |
||
1 | 1 | <?php |
2 | 2 | // File generated to wrap the alias page - DO NOT MODIFY - It is just a wrapper to real page |
3 | 3 | global $dolibarr_main_data_root; |
4 | -if (empty($dolibarr_main_data_root)) require './page195.tpl.php'; else require $dolibarr_main_data_root.'/website/'.$website->ref.'/page195.tpl.php'; |
|
4 | +if (empty($dolibarr_main_data_root)) { |
|
5 | + require './page195.tpl.php'; |
|
6 | +} else { |
|
7 | + require $dolibarr_main_data_root.'/website/'.$website->ref.'/page195.tpl.php'; |
|
8 | +} |
|
5 | 9 | ?> |