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
| <div class="container maxheight last_jobs">
<div class="title_block side-box last" style="padding-top: 0;"><h2 class="header-blue" style="text-align: center;color: #888">Les agences qui recrutent</h2></div>
<?php
$col[] = array_slice($this->postes,0,7);
$col[] = array_slice($this->postes,7,7);
$new_array = array();
foreach ($col as $co) {
print '<div style="width:45%;float: left; margin: 0 1% 0 1%;display: inline"><ul>';
foreach ($co as $poste) {
$key = $poste['cli_id']; /*** 30/08/2010 1 annonce par client **/
if(!isset($new_array[$key] )){ /*** 30/08/2010 1 annonce par client **/
$new_array[$key] = $poste['cli_id']; /*** 30/08/2010 1 annonce par client **/
$url_fiche_detail = $this->baseUrl() . '/index/fiche/id/' . $poste['poste_id'].'/'.str_replace('é','e',$poste['contrat_nom']).'/'.$poste['poste_intitule'];
//$url_lieu = $this->baseUrl() . '/index/recherche?cr=poste&loc='.$poste['agence_ville'];
print '<li onclick="window.location = \''.$url_fiche_detail.'\';" style="cursor: pointer">';
print '<a class="job_title" href="'.$url_fiche_detail.'">';
print $poste['poste_intitule'];
print '</a><br />';
print '<a class="job_place" href="'.$url_fiche_detail.'">';
print $poste['agence_ville'];
print '</a>';
print '<a class="job_place" style="padding: 0 .5em" href="'.$url_fiche_detail.'">';
print $poste['cli_rs'];
print '</a>';
print '</li>';
}
}
print '</ul></div>';
}
?>
<div class="clear"></div>
</div> |