This commit is contained in:
Martin Müller 2014-05-11 20:28:36 +02:00
parent d8f26184e2
commit 9022c4bcac
2 changed files with 14 additions and 3 deletions

View File

@ -34,7 +34,10 @@
- was dreamJOB Ihnen bietet<br/> - was dreamJOB Ihnen bietet<br/>
<br/> <br/>
<?=$this->Html->link($this->Html->image('start-company-broschuere.jpg'),$this->Html->url('/files/dreamJOBinfo.pdf'),array('ref' => 'eventOff','escape'=>false,'target'=>'_blank')); ?> <?php
if(!empty($isLoggedin))
echo $this->Html->link($this->Html->image('start-company-broschuere.jpg'),$this->Html->url('/files/dreamJOBinfo.pdf'),array('ref' => 'eventOff','escape'=>false,'target'=>'_blank'));
?>
</div> </div>
<div class="bar" style="width:20px;"></div> <div class="bar" style="width:20px;"></div>
<div class="box bar" style="font-size:16px;"> <div class="box bar" style="font-size:16px;">

View File

@ -1,4 +1,9 @@
-- ACHTUNG:
-- ERSTE folgende CONTSTRAINTS:
--- CV
--- BRANCHE und CIty ....
-- --
--ALTER TABLE `mic_dj_jobs_opening` ADD CONSTRAINT `jobsopening_kindofjob_id` FOREIGN KEY (`kindofjob_id`) REFERENCES `mic_dj_list_kindofjob` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;
-- Datenbank: `muellersql3` -- Datenbank: `muellersql3`
-- --
@ -40,7 +45,7 @@ ALTER TABLE `mic_dj_jobs_opening_worker`
ADD CONSTRAINT `mic_dj_jobs_opening_worker_favOpening` FOREIGN KEY (`opening_id`) REFERENCES `mic_dj_jobs_opening` (`id`), ADD CONSTRAINT `mic_dj_jobs_opening_worker_favOpening` FOREIGN KEY (`opening_id`) REFERENCES `mic_dj_jobs_opening` (`id`),
ADD CONSTRAINT `mic_dj_jobs_opening_worker_favWorker` FOREIGN KEY (`worker_id`) REFERENCES `mic_dj_account_wrk` (`djaccount_ptr_id`); ADD CONSTRAINT `mic_dj_jobs_opening_worker_favWorker` FOREIGN KEY (`worker_id`) REFERENCES `mic_dj_account_wrk` (`djaccount_ptr_id`);
-- %%%
-- ACHTUNG: -- ACHTUNG:
@ -48,6 +53,8 @@ ALTER TABLE `mic_dj_jobs_opening_worker`
update `mic_dj_account_cmpy` left join `mic_dj_list_branch` on `name`=`branch` set `branch`=`mic_dj_list_branch`.`id`; update `mic_dj_account_cmpy` left join `mic_dj_list_branch` on `name`=`branch` set `branch`=`mic_dj_list_branch`.`id`;
ALTER TABLE `mic_dj_account_cmpy` CHANGE `branch` `branch_id` INT(11) NOT NULL; ALTER TABLE `mic_dj_account_cmpy` CHANGE `branch` `branch_id` INT(11) NOT NULL;
-- %%%
-- 2/4 -- 2/4
update `mic_dj_jobs_opening` left join `mic_dj_list_branch` on `name`=`branch` set `branch`=`mic_dj_list_branch`.`id`; update `mic_dj_jobs_opening` left join `mic_dj_list_branch` on `name`=`branch` set `branch`=`mic_dj_list_branch`.`id`;
ALTER TABLE `mic_dj_jobs_opening` CHANGE `branch` `branch_id` INT(11) NOT NULL; ALTER TABLE `mic_dj_jobs_opening` CHANGE `branch` `branch_id` INT(11) NOT NULL;
@ -56,11 +63,12 @@ ALTER TABLE `mic_dj_jobs_opening` CHANGE `branch` `branch_id` INT(11) NOT NULL;
-- LOLA -- LOLA
-- 15/70 -- 15/70
update `mic_dj_account_isearch` left join `mic_dj_list_job` on `name`=`job` set `job`=`mic_dj_list_job`.`id` update `mic_dj_account_isearch` left join `mic_dj_list_job` on `name`=`job` set `job`=`mic_dj_list_job`.`id`
update `mic_dj_account_isearch` left join `mic_dj_list_branch` on `name`=`branch` set `job`=`mic_dj_list_branch`.`id` update `mic_dj_account_isearch` left join `mic_dj_list_branch` on `name`=`branch` set `job`=`mic_dj_list_branch`.`id`
ALTER TABLE `mic_dj_account_isearch` CHANGE `branch` `branch_id` INT(11) NOT NULL; ALTER TABLE `mic_dj_account_isearch` CHANGE `branch` `branch_id` INT(11) NOT NULL;
ALTER TABLE `mic_dj_account_isearch` CHANGE `job` `job_id` INT(11) NOT NULL; ALTER TABLE `mic_dj_account_isearch` CHANGE `job` `job_id` INT(11) NOT NULL;
-- %%%
ALTER TABLE `mic_dj_account_isearch` ALTER TABLE `mic_dj_account_isearch`
ADD CONSTRAINT `mic_dj_account_isearch_branch` FOREIGN KEY (`branch_id`) REFERENCES `mic_dj_list_branch` (`id`), ADD CONSTRAINT `mic_dj_account_isearch_branch` FOREIGN KEY (`branch_id`) REFERENCES `mic_dj_list_branch` (`id`),
ADD CONSTRAINT `mic_dj_account_isearch_job` FOREIGN KEY (`job_id`) REFERENCES `mic_dj_list_job` (`id`); ADD CONSTRAINT `mic_dj_account_isearch_job` FOREIGN KEY (`job_id`) REFERENCES `mic_dj_list_job` (`id`);