This commit is contained in:
Geno 2015-01-17 01:24:35 +01:00
parent 35f265dd11
commit 4032dafd9d
2 changed files with 6 additions and 4 deletions

View File

@ -244,7 +244,9 @@ class DreamjobCompany extends AppModel {
'Pro' => array( 'Pro' => array(
'className' => 'DreamjobCompanyPro', 'className' => 'DreamjobCompanyPro',
'foreignKey' => 'company_id', 'foreignKey' => 'company_id',
'limit' => 1 'limit' => 1,
'conditions'=>array('Pro.till >= CURRENT_DATE()'),
'order'=>'Pro.till DESC'
), ),
'DreamjobListCity' => array( 'DreamjobListCity' => array(
'className' => 'DreamjobListCity', 'className' => 'DreamjobListCity',

View File

@ -35,10 +35,10 @@
<div id="logo_right"> <div id="logo_right">
<?=$this->Html->link('Info-Seite','http://info.dream-job.eu/', array('class'=>'main','ref'=>'eventOff','target'=>'_blank'));?> <?=$this->Html->link('Info-Seite','http://info.dream-job.eu/', array('class'=>'main','ref'=>'eventOff','target'=>'_blank'));?>
<?=$this->Html->link('für Unternehmen','http://info.dream-job.eu/arbeitgeber/', array('ref'=>'eventOff','target'=>'_blank'));?> <?=$this->Html->link('für Unternehmen','http://info.dream-job.eu/unser-angebot/', array('ref'=>'eventOff','target'=>'_blank'));?>
<?=$this->Html->link('für Schüler','http://info.dream-job.eu/', array('ref'=>'eventOff','target'=>'_blank'));?> <?=$this->Html->link('für Schüler','http://info.dream-job.eu/', array('ref'=>'eventOff','target'=>'_blank'));?>
<?=$this->Html->link('für Schulen','http://info.dream-job.eu/schulen/', array('ref'=>'eventOff','target'=>'_blank'));?> <?=$this->Html->link('für Schulen','http://info.dream-job.eu/unser-angebot-schulen/', array('ref'=>'eventOff','target'=>'_blank'));?>
<?=$this->Html->link('Facebook','https://www.facebook.com/Dreamjobforyou', array('ref'=>'eventOff','target'=>'_blank'));?> <?=$this->Html->link('Facebook','https://www.facebook.com/dreamjobbremen', array('ref'=>'eventOff','target'=>'_blank'));?>
<?=(true)?'':$this->Html->image('mobil.png',array("url"=>array('controller'=>'home','action'=>'home')));?> <?=(true)?'':$this->Html->image('mobil.png',array("url"=>array('controller'=>'home','action'=>'home')));?>
</div> </div>