78 lines
1.6 KiB
Plaintext
78 lines
1.6 KiB
Plaintext
|
<?php
|
||
|
/*
|
||
|
*
|
||
|
*/
|
||
|
?>
|
||
|
|
||
|
<h3><?=__("dreamjob.cv");?></h3>
|
||
|
|
||
|
<?php
|
||
|
foreach($cv as $cvc){
|
||
|
?>
|
||
|
<h4><?=$cvc['DreamjobListCvCategory']['name'];?></h4>
|
||
|
<table class="cv">
|
||
|
<?php
|
||
|
foreach($cvc['DreamjobCvEntry'] as $cve){
|
||
|
?>
|
||
|
<tr>
|
||
|
<?php
|
||
|
if($cvc['DreamjobListCvCategory']['startdate'] and $cvc['DreamjobListCvCategory']['enddate'] and $cvc['DreamjobListCvCategory']['place']){
|
||
|
?>
|
||
|
<td><?=$cve['startdate'];?> - <?=$cve['enddate'];?></td>
|
||
|
<td><?=$cve['title'];?><br/><span><?=$cve['place'];?></span></td>
|
||
|
<?php
|
||
|
}else if($cvc['DreamjobListCvCategory']['place']){
|
||
|
if($cvc['DreamjobListCvCategory']['startdate']){
|
||
|
?>
|
||
|
<td><?=$cve['startdate'];?></td>
|
||
|
<?php
|
||
|
}else if($cvc['DreamjobListCvCategory']['enddate']){
|
||
|
?>
|
||
|
<td><?=$cve['enddate'];?></td>
|
||
|
<?php
|
||
|
}else{
|
||
|
?>
|
||
|
<td><?=$cve['title'];?></td>
|
||
|
<td><?=$cve['place'];?></td>
|
||
|
<?php
|
||
|
}
|
||
|
?>
|
||
|
<?php
|
||
|
if($cvc['DreamjobListCvCategory']['startdate'] or $cvc['DreamjobListCvCategory']['enddate']){
|
||
|
?>
|
||
|
<td><?=$cve['title'];?><br/><span><?=$cve['place'];?></span></td>
|
||
|
<?php
|
||
|
}
|
||
|
}else{
|
||
|
if($cvc['DreamjobListCvCategory']['startdate'] and $cvc['DreamjobListCvCategory']['enddate']){
|
||
|
?>
|
||
|
<td><?=$cve['startdate'];?> - <?=$cve['enddate'];?></td>
|
||
|
<?php
|
||
|
}else if($cvc['DreamjobListCvCategory']['startdate']){
|
||
|
?>
|
||
|
<td><?=$cve['startdate'];?></td>
|
||
|
<?php
|
||
|
}else if($cvc['DreamjobListCvCategory']['enddate']){
|
||
|
?>
|
||
|
<td><?=$cve['enddate'];?></td>
|
||
|
<?php
|
||
|
}else{
|
||
|
?>
|
||
|
ERROR
|
||
|
<?php
|
||
|
}
|
||
|
?>
|
||
|
<td><?=$cve['title'];?></td>
|
||
|
<?php
|
||
|
}
|
||
|
?>
|
||
|
</tr>
|
||
|
<?php
|
||
|
}
|
||
|
?>
|
||
|
</table>
|
||
|
|
||
|
<?php
|
||
|
}
|
||
|
?>
|