diff --git a/app/Config/routes.php b/app/Config/routes.php index 8a4dd23..168a877 100755 --- a/app/Config/routes.php +++ b/app/Config/routes.php @@ -29,8 +29,13 @@ Router::connect('/logout', array('controller' => 'home', 'action' => 'logout')); Router::connect('/impressum', array('controller' => 'home', 'action' => 'impressum')); Router::connect('/agb', array('controller' => 'home', 'action' => 'agb')); - Router::connect('/contact', array('controller' => 'home', 'action' => 'contact')); - + + Router::connect('/contact', array('controller' => 'extra', 'action' => 'contact')); + Router::connect('/cooperators', array('controller' => 'extra', 'action' => 'cooperators')); + Router::connect('/team', array('controller' => 'extra', 'action' => 'team')); + Router::connect('/premium', array('controller' => 'extra', 'action' => 'premium')); + Router::connect('/advertise', array('controller' => 'extra', 'action' => 'advertise')); + Router::connect('/service', array('controller' => 'service', 'action' => 'index')); Router::connect('/service/:list', array('controller' => 'service','action'=>'serviceList'),array("list"=>"[a-z0-9]+")); Router::connect('/service/:list/:item', array('controller' => 'service','action'=>'serviceItem'),array("list"=>"[a-z0-9]+","item"=>"[a-z0-9]+")); @@ -38,12 +43,13 @@ Router::connect('/company', array('controller' => 'home', 'action' => 'company')); Router::connect('/company/registration', array('controller' => 'registration', 'action' => 'company')); - //Router::connect('/registration', array('controller' => 'registration', 'action' => 'main')); + Router::connect('/registration', array('controller' => 'registration', 'action' => 'worker')); - Router::connect('/password/reset', array('controller' => 'registration', 'action' => 'password_reset')); - Router::connect('/password/replace/:code', array('controller' => 'registration', 'action' => 'password_replace'),array("code" => ".+")); Router::connect('/registration/active/:code', array('controller' => 'registration', 'action' => 'active'),array("code" => ".+")); + Router::connect('/password/reset', array('controller' => 'registration', 'action' => 'password_reset')); + Router::connect('/password/replace/:code', array('controller' => 'registration', 'action' => 'password_replace'),array("code" => ".+")); + Router::connect('/profil', array('controller' => 'user', 'action' => 'profil')); Router::connect('/profil/page/:page', array('controller' => 'user', 'action' => 'profil'),array("page" => "[0-9]+")); Router::connect('/profil/edit', array('controller' => 'user', 'action' => 'profil_edit')); diff --git a/app/Controller/ExtraController.php b/app/Controller/ExtraController.php new file mode 100644 index 0000000..81f3a0a --- /dev/null +++ b/app/Controller/ExtraController.php @@ -0,0 +1,76 @@ +request->is('post')) { + $Email = new CakeEmail('dreamjobMain'); + $Email->to('service@dream-job.eu'); + $Email->from(array($this->request->data['mail']['adresse'] => $this->request->data['mail']['first_name'] . ' ' . $this->request->data['mail']['last_name'])); + $Email->subject('[Dreamjob-Kontakt]' . $this->request->data['mail']['subject']); + $Email->template('contact'); + $Email->viewVars(array('text' => $this->request->data, 'strip_tags' => $this->MiconwareSession->strip_tags)); + if ($Email->send()) + $this->MiconwareSession->setFlash(__('dreamjob.contactSend'), 'flash', array('alert' => 'success')); + else + $this->MiconwareSession->setFlash(__('dreamjob.contactSend.error'), 'flash', array('alert' => 'danger')); + } + $this->MiconwareSession->init($this); + $this->MiconwareSession->initWeb($this); + $this->set('title', 'dreamjob.contact'); + $this->render('/Extra/contact'); + } + public function cooperators(){ + $this->MiconwareSession->init($this); + $this->MiconwareSession->initWeb($this); + $this->set('title','dreamjob.cooperators'); + $this->render('/Extra/cooperators'); + } + public function team(){ + $this->MiconwareSession->init($this); + $this->MiconwareSession->initWeb($this); + $this->set('title','dreamjob.team'); + $this->render('/Extra/team'); + } + public function premium(){ + if ($this->request->is('post')) { + $Email = new CakeEmail('dreamjobMain'); + $Email->to('service@dream-job.eu'); + $Email->from(array($this->request->data['mail']['adresse'] => $this->request->data['mail']['first_name'] . ' ' . $this->request->data['mail']['last_name'])); + $Email->subject('[Dreamjob-Kontakt-Premium]' . $this->request->data['mail']['subject']); + $Email->template('contact'); + $Email->viewVars(array('text' => $this->request->data, 'strip_tags' => $this->MiconwareSession->strip_tags)); + if ($Email->send()) + $this->MiconwareSession->setFlash(__('dreamjob.contactSend'), 'flash', array('alert' => 'success')); + else + $this->MiconwareSession->setFlash(__('dreamjob.contactSend.error'), 'flash', array('alert' => 'danger')); + } + $this->MiconwareSession->init($this); + $this->MiconwareSession->initWeb($this); + $this->set('title','dreamjob.premium'); + $this->render('/Extra/premium'); + } + public function advertise(){ + if ($this->request->is('post')) { + $Email = new CakeEmail('dreamjobMain'); + $Email->to('service@dream-job.eu'); + $Email->from(array($this->request->data['mail']['adresse'] => $this->request->data['mail']['first_name'] . ' ' . $this->request->data['mail']['last_name'])); + $Email->subject('[Dreamjob-Kontakt-Advertise]' . $this->request->data['mail']['subject']); + $Email->template('contact'); + $Email->viewVars(array('text' => $this->request->data, 'strip_tags' => $this->MiconwareSession->strip_tags)); + if ($Email->send()) + $this->MiconwareSession->setFlash(__('dreamjob.contactSend'), 'flash', array('alert' => 'success')); + else + $this->MiconwareSession->setFlash(__('dreamjob.contactSend.error'), 'flash', array('alert' => 'danger')); + } + $this->MiconwareSession->init($this); + $this->MiconwareSession->initWeb($this); + $this->set('title','dreamjob.advertise'); + $this->render('/Extra/advertise'); + } +} \ No newline at end of file diff --git a/app/Controller/HomeController.php b/app/Controller/HomeController.php index 3de7a01..ad065dc 100755 --- a/app/Controller/HomeController.php +++ b/app/Controller/HomeController.php @@ -89,14 +89,6 @@ class HomeController extends AppController { } - public function contact() { - $this->MiconwareSession->init($this); - $this->MiconwareSession->initWeb($this); - $this->set('title', 'dreamjob.contact'); - $this->render('/Home/contact'); - } - - public function impressum() { $this->MiconwareSession->init($this); $this->MiconwareSession->initWeb($this); diff --git a/app/View/Extra/advertise.ctp b/app/View/Extra/advertise.ctp new file mode 100644 index 0000000..0bea01b --- /dev/null +++ b/app/View/Extra/advertise.ctp @@ -0,0 +1,28 @@ + +
+ Sie haben Interesse daran Werbung auf dreamJOB zu schalten ?
+ Dann wenden Sie sich gerne an unser Team

+ Wir lassen Ihnen dann gerne per Mail Angebote zukommen.

+ 'margin-top:15px;'); + $default_Form['inputDefaults']['between']=false; + $default_Form['inputDefaults']['after']=false; + $default_Form['inputDefaults']['label']=false; + + echo $this->Form->create(null,$default_Form); + + echo $this->Form->input('mail.last_name',array('placeholder'=>'Name')); + echo $this->Form->input('mail.first_name',array('placeholder'=>'Vorname')); + echo $this->Form->input('mail.adresse',array('placeholder'=>'E-Mail')); + echo $this->Form->input('mail.subject',array('placeholder'=>'Betreff')); + echo $this->Form->input('mail.text',array('type'=>'textarea','placeholder'=>'Nachricht')); + ?> +
+ Form->button('Abschicken',array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?> +
+ Form->end(); + ?> +
+ + diff --git a/app/View/Extra/contact.ctp b/app/View/Extra/contact.ctp new file mode 100644 index 0000000..b3a017b --- /dev/null +++ b/app/View/Extra/contact.ctp @@ -0,0 +1,28 @@ + +
+ Kontaktformular für unsere Kunden: + 'margin-top:15px;'); + $default_Form['inputDefaults']['between']=false; + $default_Form['inputDefaults']['after']=false; + $default_Form['inputDefaults']['label']=false; + + echo $this->Form->create(null,$default_Form); + + echo $this->Form->input('mail.last_name',array('placeholder'=>'Name')); + echo $this->Form->input('mail.first_name',array('placeholder'=>'Vorname')); + echo $this->Form->input('mail.adresse',array('placeholder'=>'E-Mail')); + echo $this->Form->input('mail.subject',array('placeholder'=>'Betreff')); + echo $this->Form->input('mail.text',array('type'=>'textarea','placeholder'=>'Nachricht')); + ?> +
+ Form->button('senden',array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?> +
+ Form->end(); + ?> +
\ No newline at end of file diff --git a/app/View/Extra/cooperators.ctp b/app/View/Extra/cooperators.ctp new file mode 100644 index 0000000..c4573d9 --- /dev/null +++ b/app/View/Extra/cooperators.ctp @@ -0,0 +1,48 @@ + +
+ + + +
Html->image('extra/versicherungPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+
Html->image('extra/vuf.png',array('style'=>"height:100px; margin-top:10px;"));?>

versicherungs- und finanzkontor
+
+ + +
Html->image('extra/dakPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+
Html->image('extra/dak.jpg',array('style'=>"height:100px; margin-top:10px;"));?>

versicherungs- und finanzkontor
+
+ + +
Html->image('extra/pageJob4u.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+
Html->image('extra/logo_job4u.jpg',array('style'=>"height:100px; margin-top:10px;"));?>

versicherungs- und finanzkontor
+
+ + +
Html->image('extra/coatiPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+
Html->image('extra/coati.png',array('style'=>"height:100px; margin-top:10px;"));?>

versicherungs- und finanzkontor
+
+ + +
Html->image('extra/axentPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+
Html->image('extra/axent.png',array('style'=>"height:100px; margin-top:10px;"));?>

versicherungs- und finanzkontor
+
+ + +
Html->image('extra/multiCreativePage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+
Html->image('extra/multiCreative.jpg',array('style'=>"height:100px; margin-top:10px;"));?>

versicherungs- und finanzkontor
+
+ + +
Html->image('extra/wksPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+
Html->image('extra/wks.png',array('style'=>"height:100px; margin-top:10px;"));?>

versicherungs- und finanzkontor
+
+ + +
Html->image('extra/szutPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+
Html->image('extra/szut.png',array('style'=>"height:100px; margin-top:10px;"));?>

versicherungs- und finanzkontor
+
+
\ No newline at end of file diff --git a/app/View/Extra/premium.ctp b/app/View/Extra/premium.ctp new file mode 100644 index 0000000..a275aa8 --- /dev/null +++ b/app/View/Extra/premium.ctp @@ -0,0 +1,49 @@ + + +
+ + + + Premium Account

+ Html->image('extra/premium.jpg');?> +
+
+ -schneller Stellenbesetzen
+ -die Bewerber finden, die Ihren Vorstellunegn entsprechen
+ -Bewerber kontaktieren und Ihr interesse äußern

+ Funktionen:
+ Bewerber suchen
+ Bewerberprofile einsehen
+ Bewerber kontaktieren

+
Jetzt Informationen per Mail anfordern
+

+

+

+ +
+



+ Stellenausschreibung positionieren

+ Html->image('extra/stelstar.jpg');?>
+
+
+ -schneller Stellenbesetzen
+ -sich abheben
+ -im Vordergrund stehen

+ Funktion
+ -Stelle auf der Startseite
+ -in der Suche als erstes

+ +
Jetzt Informationen per Mail anfordern
+

+

+

+ +
+ + + + +
+ + + diff --git a/app/View/Extra/team.ctp b/app/View/Extra/team.ctp new file mode 100644 index 0000000..9ca0e83 --- /dev/null +++ b/app/View/Extra/team.ctp @@ -0,0 +1,38 @@ + +
+ + +
Html->image('extra/capece.jpg',array('style'=>"height:250px;margin-top:10px;margin-right:20px;position:left;float:left;"));?>
Augusto Capece

+ Geschäftsführer +

+ +
  • Unternehmensleitung
  • +
  • Social Media
  • +
  • Marketing
  • +









    +
    +
    Html->image('extra/imberg.jpg',array('style'=>"height:250px;margin-top:10px;margin-right:20px;position:left;float:left;"));?>
    Sebastian Imberg

    + Geschäftsführer +

    +
  • Unternehmensleitung
  • +
  • Design
  • +
  • Entwicklung
  • +
  • Kooperationen
  • +









    + +
    +
    Html->image('extra/mueller.jpg',array('style'=>"height:250px;margin-top:10px;margin-right:20px;position:left;float:left;"));?>
    Martin Müller

    + Leiter Entwicklung +

    +
  • EDV
  • +
  • Administration
  • +
  • Entwicklung
  • +
  • Datenschutz
  • + +
    + +
    + + + + diff --git a/app/View/Home/agb.ctp b/app/View/Home/agb.ctp index 0786dc3..aaae263 100644 --- a/app/View/Home/agb.ctp +++ b/app/View/Home/agb.ctp @@ -1,7 +1,7 @@
    - Allgemeine Geschäftsbedingungen

    für die Nutzung der dreamJOB.cc + Allgemeine Geschäftsbedingungen

    für die Nutzung der dream-job.eu
    Mit der Anmeldung bei dreamjob akzeptieren Sie die allgemeinen Geschäftsbedingungen, wenn Sie diese nicht akzeptieren kann die Anmeldung nicht erfolgen. Um die Webseite nutzen zu können, müssen sie mindestens 16 Jahre alt sein oder unter Aufsicht eines Elternteils sein. Die folgenden Geschäftsbedingungen stellen die Rechte und Pflichten der Nutzer dieser Plattform da. Sie zeigen auf, wie personenbezogene-/firmenbezogene Daten verwaltet, genutzt und gesichert werden.

    1. UNSER ANGEBOT diff --git a/app/View/Home/company.ctp b/app/View/Home/company.ctp index 9318e1a..e852d0d 100644 --- a/app/View/Home/company.ctp +++ b/app/View/Home/company.ctp @@ -56,7 +56,7 @@ echo $this->Form->input('mail.first_name',array('placeholder'=>'Vorname')); echo $this->Form->input('mail.adresse',array('placeholder'=>'E-Mail')); echo $this->Form->input('mail.subject',array('placeholder'=>'Betreff')); - echo $this->Form->input('mail.text',array('placeholder'=>'Nachricht')); + echo $this->Form->input('mail.text',array('type'=>'textarea','placeholder'=>'Nachricht')); ?>
    Form->button('senden',array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?> diff --git a/app/View/Layouts/default.ctp b/app/View/Layouts/default.ctp index a9229aa..1b18589 100755 --- a/app/View/Layouts/default.ctp +++ b/app/View/Layouts/default.ctp @@ -95,29 +95,26 @@ diff --git a/app/webroot/img/extra/axent.png b/app/webroot/img/extra/axent.png new file mode 100644 index 0000000..6ee4a4d Binary files /dev/null and b/app/webroot/img/extra/axent.png differ diff --git a/app/webroot/img/extra/axentPage.jpg b/app/webroot/img/extra/axentPage.jpg new file mode 100644 index 0000000..a4c6269 Binary files /dev/null and b/app/webroot/img/extra/axentPage.jpg differ diff --git a/app/webroot/img/extra/capece.jpg b/app/webroot/img/extra/capece.jpg new file mode 100644 index 0000000..5e09b7c Binary files /dev/null and b/app/webroot/img/extra/capece.jpg differ diff --git a/app/webroot/img/extra/coati.png b/app/webroot/img/extra/coati.png new file mode 100644 index 0000000..6556fdf Binary files /dev/null and b/app/webroot/img/extra/coati.png differ diff --git a/app/webroot/img/extra/coatiPage.jpg b/app/webroot/img/extra/coatiPage.jpg new file mode 100644 index 0000000..994cd19 Binary files /dev/null and b/app/webroot/img/extra/coatiPage.jpg differ diff --git a/app/webroot/img/extra/dak.jpg b/app/webroot/img/extra/dak.jpg new file mode 100644 index 0000000..abbdae5 Binary files /dev/null and b/app/webroot/img/extra/dak.jpg differ diff --git a/app/webroot/img/extra/dakPage.jpg b/app/webroot/img/extra/dakPage.jpg new file mode 100644 index 0000000..ee27ef6 Binary files /dev/null and b/app/webroot/img/extra/dakPage.jpg differ diff --git a/app/webroot/img/extra/imberg.jpg b/app/webroot/img/extra/imberg.jpg new file mode 100644 index 0000000..52465f6 Binary files /dev/null and b/app/webroot/img/extra/imberg.jpg differ diff --git a/app/webroot/img/extra/logo_job4u.jpg b/app/webroot/img/extra/logo_job4u.jpg new file mode 100644 index 0000000..99ee737 Binary files /dev/null and b/app/webroot/img/extra/logo_job4u.jpg differ diff --git a/app/webroot/img/extra/mueller.jpg b/app/webroot/img/extra/mueller.jpg new file mode 100644 index 0000000..495db7c Binary files /dev/null and b/app/webroot/img/extra/mueller.jpg differ diff --git a/app/webroot/img/extra/multiCreative.jpg b/app/webroot/img/extra/multiCreative.jpg new file mode 100644 index 0000000..c87a9b4 Binary files /dev/null and b/app/webroot/img/extra/multiCreative.jpg differ diff --git a/app/webroot/img/extra/multiCreativePage.jpg b/app/webroot/img/extra/multiCreativePage.jpg new file mode 100644 index 0000000..14d6e67 Binary files /dev/null and b/app/webroot/img/extra/multiCreativePage.jpg differ diff --git a/app/webroot/img/extra/pageJob4u.jpg b/app/webroot/img/extra/pageJob4u.jpg new file mode 100644 index 0000000..a2ef243 Binary files /dev/null and b/app/webroot/img/extra/pageJob4u.jpg differ diff --git a/app/webroot/img/extra/premium.jpg b/app/webroot/img/extra/premium.jpg new file mode 100644 index 0000000..2b428cd Binary files /dev/null and b/app/webroot/img/extra/premium.jpg differ diff --git a/app/webroot/img/extra/stelstar.jpg b/app/webroot/img/extra/stelstar.jpg new file mode 100644 index 0000000..3be40c8 Binary files /dev/null and b/app/webroot/img/extra/stelstar.jpg differ diff --git a/app/webroot/img/extra/szut.png b/app/webroot/img/extra/szut.png new file mode 100644 index 0000000..087711b Binary files /dev/null and b/app/webroot/img/extra/szut.png differ diff --git a/app/webroot/img/extra/szutPage.jpg b/app/webroot/img/extra/szutPage.jpg new file mode 100644 index 0000000..e3b8033 Binary files /dev/null and b/app/webroot/img/extra/szutPage.jpg differ diff --git a/app/webroot/img/extra/us.jpg b/app/webroot/img/extra/us.jpg new file mode 100644 index 0000000..f0cd49c Binary files /dev/null and b/app/webroot/img/extra/us.jpg differ diff --git a/app/webroot/img/extra/versicherungPage.jpg b/app/webroot/img/extra/versicherungPage.jpg new file mode 100644 index 0000000..b5d41b7 Binary files /dev/null and b/app/webroot/img/extra/versicherungPage.jpg differ diff --git a/app/webroot/img/extra/vuf.png b/app/webroot/img/extra/vuf.png new file mode 100644 index 0000000..1fdf4cc Binary files /dev/null and b/app/webroot/img/extra/vuf.png differ diff --git a/app/webroot/img/extra/wks.png b/app/webroot/img/extra/wks.png new file mode 100644 index 0000000..74b97e4 Binary files /dev/null and b/app/webroot/img/extra/wks.png differ diff --git a/app/webroot/img/extra/wksPage.jpg b/app/webroot/img/extra/wksPage.jpg new file mode 100644 index 0000000..42e24df Binary files /dev/null and b/app/webroot/img/extra/wksPage.jpg differ