pdf: fertig
This commit is contained in:
parent
70251ae5f7
commit
6b932ffb78
|
@ -0,0 +1,127 @@
|
|||
<?php
|
||||
/*
|
||||
*
|
||||
*/
|
||||
|
||||
$inCat= -1;
|
||||
?>
|
||||
<style>
|
||||
span{
|
||||
font-style:italic;
|
||||
font-size:10px;
|
||||
}
|
||||
.h{
|
||||
font-weight:bolder;
|
||||
border-bottom:1px solid grey;
|
||||
font-size:12px;
|
||||
width:100%;
|
||||
margin-bottom:10px;
|
||||
}
|
||||
table{
|
||||
border-spacing:0px 6px;
|
||||
}
|
||||
</style>
|
||||
<div nobr="true">
|
||||
<div class="h"><?=$cvp0['DreamjobListCvCategory']['name'];?></div>
|
||||
<table class="cv">
|
||||
<tr>
|
||||
<td><?=__("dreamjob.bday");?></td>
|
||||
<td>
|
||||
<?php
|
||||
if($profil['AppUser']['take_systemwide'])
|
||||
echo $this->Time->format('d.m.Y', $profil['User']['bday']);
|
||||
else
|
||||
echo $this->Time->format('d.m.Y', $profil['AppUser']['bday']);
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?=__("dreamjob.workexperience");?></td>
|
||||
<td><?=$profil['DreamjobWorker']['workexperience'].' '.__('dreamjob.years');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?=__("dreamjob.graducation.worker");?></td>
|
||||
<td><?=$profil['DreamjobListGraducation']['name'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?=__("dreamjob.city");?></td>
|
||||
<td><?=$profil['DreamjobListCity']['name'];?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?=__("dreamjob.country.worker");?></td>
|
||||
<td><?=$profil['DreamjobWorker']['country'];?></td>
|
||||
</tr>
|
||||
<?php
|
||||
|
||||
foreach($cv as $cvc){
|
||||
if ( $inCat != $cvc['DreamjobListCvCategory']['id'] ){
|
||||
if($cvp0['DreamjobListCvCategory']['id'] != $cvc['DreamjobListCvCategory']['id']){
|
||||
?>
|
||||
</table>
|
||||
</div>
|
||||
<div nobr="true">
|
||||
<div class="h"><?=$cvc['DreamjobListCvCategory']['name'];?></div>
|
||||
<table class="cv">
|
||||
<?php
|
||||
}
|
||||
$inCat = $cvc['DreamjobListCvCategory']['id'];
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<?php
|
||||
if($cvc['DreamjobListCvCategory']['startdate'] and $cvc['DreamjobListCvCategory']['enddate'] and $cvc['DreamjobListCvCategory']['place']){
|
||||
?>
|
||||
<td><?=$cvc['DreamjobCvEntry']['startdate'];?> - <?=$cvc['DreamjobCvEntry']['enddate'];?></td>
|
||||
<td><?=$cvc['DreamjobCvEntry']['title'];?><br/><span><?=$cvc['DreamjobCvEntry']['place'];?></span></td>
|
||||
<?php
|
||||
}else if($cvc['DreamjobListCvCategory']['place']){
|
||||
if($cvc['DreamjobListCvCategory']['startdate']){
|
||||
?>
|
||||
<td><?=$cvc['DreamjobCvEntry']['startdate'];?></td>
|
||||
<?php
|
||||
}else if($cvc['DreamjobListCvCategory']['enddate']){
|
||||
?>
|
||||
<td><?=$cvc['DreamjobCvEntry']['enddate'];?></td>
|
||||
<?php
|
||||
}else{
|
||||
?>
|
||||
<td><?=$cvc['DreamjobCvEntry']['title'];?></td>
|
||||
<td><?=$cvc['DreamjobCvEntry']['place'];?></td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<?php
|
||||
if($cvc['DreamjobListCvCategory']['startdate'] or $cvc['DreamjobListCvCategory']['enddate']){
|
||||
?>
|
||||
<td><?=$cvc['DreamjobCvEntry']['title'];?><br/><span><?=$cvc['DreamjobCvEntry']['place'];?></span></td>
|
||||
<?php
|
||||
}
|
||||
}else{
|
||||
if($cvc['DreamjobListCvCategory']['startdate'] and $cvc['DreamjobListCvCategory']['enddate']){
|
||||
?>
|
||||
<td><?=$cvc['DreamjobCvEntry']['startdate'];?> - <?=$cvc['DreamjobCvEntry']['enddate'];?></td>
|
||||
<?php
|
||||
}else if($cvc['DreamjobListCvCategory']['startdate']){
|
||||
?>
|
||||
<td><?=$cvc['DreamjobCvEntry']['startdate'];?></td>
|
||||
<?php
|
||||
}else if($cvc['DreamjobListCvCategory']['enddate']){
|
||||
?>
|
||||
<td><?=$cvc['DreamjobCvEntry']['enddate'];?></td>
|
||||
<?php
|
||||
}else{
|
||||
?>
|
||||
ERROR
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<td><?=$cvc['DreamjobCvEntry']['title'];?></td>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
</div>
|
Loading…
Reference in New Issue