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'));
+ ?>
+
+ =$this->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'));
+ ?>
+
+ =$this->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 @@
+
+
+
+
+
+ =$this->Html->image('extra/versicherungPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+ =$this->Html->image('extra/vuf.png',array('style'=>"height:100px; margin-top:10px;"));?>
versicherungs- und finanzkontor
+
+
+
+ =$this->Html->image('extra/dakPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+ =$this->Html->image('extra/dak.jpg',array('style'=>"height:100px; margin-top:10px;"));?>
versicherungs- und finanzkontor
+
+
+
+ =$this->Html->image('extra/pageJob4u.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+ =$this->Html->image('extra/logo_job4u.jpg',array('style'=>"height:100px; margin-top:10px;"));?>
versicherungs- und finanzkontor
+
+
+
+ =$this->Html->image('extra/coatiPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+ =$this->Html->image('extra/coati.png',array('style'=>"height:100px; margin-top:10px;"));?>
versicherungs- und finanzkontor
+
+
+
+ =$this->Html->image('extra/axentPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+ =$this->Html->image('extra/axent.png',array('style'=>"height:100px; margin-top:10px;"));?>
versicherungs- und finanzkontor
+
+
+
+ =$this->Html->image('extra/multiCreativePage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+ =$this->Html->image('extra/multiCreative.jpg',array('style'=>"height:100px; margin-top:10px;"));?>
versicherungs- und finanzkontor
+
+
+
+ =$this->Html->image('extra/wksPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+ =$this->Html->image('extra/wks.png',array('style'=>"height:100px; margin-top:10px;"));?>
versicherungs- und finanzkontor
+
+
+
+ =$this->Html->image('extra/szutPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?>
+ =$this->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
+ =$this->Html->image('extra/premium.jpg');?>
+
+
+ Stellenausschreibung positionieren
+ =$this->Html->image('extra/stelstar.jpg');?>
+
+
+
+
+
+
+
+
+
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 @@
+
+
+
+
+
=$this->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
+
+
+
=$this->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
+
+
+
+
=$this->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äftsbedingungenfür die Nutzung der dreamJOB.cc
+ Allgemeine Geschäftsbedingungenfü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'));
?>