This commit is contained in:
Martin Müller 2014-06-01 18:24:45 +02:00
parent 58e322a6a8
commit c8ed7bc197
33 changed files with 285 additions and 23 deletions

View File

@ -29,7 +29,12 @@
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]+"));
@ -38,11 +43,12 @@
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('/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('/registration/active/:code', array('controller' => 'registration', 'action' => 'active'),array("code" => ".+"));
Router::connect('/profil', array('controller' => 'user', 'action' => 'profil'));
Router::connect('/profil/page/:page', array('controller' => 'user', 'action' => 'profil'),array("page" => "[0-9]+"));

View File

@ -0,0 +1,76 @@
<?php
App::uses('AppController', 'Controller');
App::uses('CakeEmail', 'Network/Email');
class ExtraController extends AppController {
public $uses = array();
public function contact() {
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]' . $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');
}
}

View File

@ -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);

View File

@ -0,0 +1,28 @@
<div class="box">
Sie haben Interesse daran Werbung auf dreamJOB zu schalten ?<br/>
Dann wenden Sie sich gerne an unser Team<br/> <br/>
Wir lassen Ihnen dann gerne per Mail Angebote zukommen.<br/> <br/>
<?php
$default_Form['inputDefaults']['div'] = array('style' => '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'));
?>
<div class="buttonrow">
<?=$this->Form->button('Abschicken',array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?>
</div>
<?php
echo $this->Form->end();
?>
</div>

View File

@ -0,0 +1,28 @@
<?php
/*
*
*/
?>
<div class="box">
Kontaktformular f&uumlr unsere Kunden:
<?php
$default_Form['inputDefaults']['div'] = array('style' => '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'));
?>
<div class="buttonrow">
<?=$this->Form->button('senden',array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?>
</div>
<?php
echo $this->Form->end();
?>
</div>

View File

@ -0,0 +1,48 @@
<?php
/*
*
*/
?>
<div class="box">
<a target="_newtab" href="http://www.versicherungskontor.net/">
<div ><?=$this->Html->image('extra/versicherungPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?></div>
<div style="margin-bottom:200px;" ><?=$this->Html->image('extra/vuf.png',array('style'=>"height:100px; margin-top:10px;"));?><br/><br/>versicherungs- und finanzkontor</div>
</a>
<a target="_newtab" href="https://www.dak.de/dak/formulare/Das_Gesundheitspaket-1320736.html">
<div ><?=$this->Html->image('extra/dakPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?></div>
<div style="margin-bottom:200px;" ><?=$this->Html->image('extra/dak.jpg',array('style'=>"height:100px; margin-top:10px;"));?><br/><br/>versicherungs- und finanzkontor</div>
</a>
<a target="_newtab" href="https://job4u-praktikum.de/">
<div ><?=$this->Html->image('extra/pageJob4u.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?></div>
<div style="margin-bottom:200px;" ><?=$this->Html->image('extra/logo_job4u.jpg',array('style'=>"height:100px; margin-top:10px;"));?><br/><br/>versicherungs- und finanzkontor</div>
</a>
<a target="_newtab" href="http://www.coati.de/">
<div ><?=$this->Html->image('extra/coatiPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?></div>
<div style="margin-bottom:200px;" ><?=$this->Html->image('extra/coati.png',array('style'=>"height:100px; margin-top:10px;"));?><br/><br/>versicherungs- und finanzkontor</div>
</a>
<a target="_newtab" href="http://www.axentesetzen.de/">
<div ><?=$this->Html->image('extra/axentPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?></div>
<div style="margin-bottom:200px;" ><?=$this->Html->image('extra/axent.png',array('style'=>"height:100px; margin-top:10px;"));?><br/><br/>versicherungs- und finanzkontor</div>
</a>
<a target="_newtab" href="http://www.multi-creative.com/">
<div ><?=$this->Html->image('extra/multiCreativePage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?></div>
<div style="margin-bottom:200px;" ><?=$this->Html->image('extra/multiCreative.jpg',array('style'=>"height:100px; margin-top:10px;"));?><br/><br/>versicherungs- und finanzkontor</div>
</a>
<a target="_newtab" href="http://www.wilhelm-kaisen-schule.de/">
<div ><?=$this->Html->image('extra/wksPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?></div>
<div style="margin-bottom:200px;" ><?=$this->Html->image('extra/wks.png',array('style'=>"height:100px; margin-top:10px;"));?><br/><br/>versicherungs- und finanzkontor</div>
</a>
<a target="_newtab" href="http://szut.schule.bremen.de/">
<div ><?=$this->Html->image('extra/szutPage.jpg',array('style'=>"width:400px; border-color:grey; margin-top:10px; margin-right:20px; float:left"));?></div>
<div style="margin-bottom:200px;" ><?=$this->Html->image('extra/szut.png',array('style'=>"height:100px; margin-top:10px;"));?><br/><br/>versicherungs- und finanzkontor</div>
</a>
</div>

View File

@ -0,0 +1,49 @@

<div class="box">
Premium Account<br/><br/>
<?=$this->Html->image('extra/premium.jpg');?>
<form id="form" action="mail.php" method="post">
<br/>
-schneller Stellenbesetzen<br/>
-die Bewerber finden, die Ihren Vorstellunegn entsprechen<br/>
-Bewerber kontaktieren und Ihr interesse äußern<br/><br/>
Funktionen:<br/>
Bewerber suchen<br/>
Bewerberprofile einsehen<br/>
Bewerber kontaktieren<br/><br/>
<br/>Jetzt Informationen per Mail anfordern<br/>
<input class="inputs" placeholder="Unternehmen" id="name" name="name" size="25" type="text" /><br/> <br/>
<input class="inputs" placeholder="Ansprechpartner" id="vname" name="vname" size="25" type="text" /><br/> <br/>
<input class="inputs" placeholder="E-Mail" id="email" name="email" size="25" type="text" /><br/> <br/>
<input class="inputs" placeholder="Name" id="submit" name="submit" type="submit" value="Absenden" />
</form>
<br/><br/><br/><br/>
Stellenausschreibung positionieren<br/><br/>
<?=$this->Html->image('extra/stelstar.jpg');?><br/>
<form id="form" action="mail.php" method="post">
<br/>
-schneller Stellenbesetzen<br/>
-sich abheben<br/>
-im Vordergrund stehen<br/><br/>
Funktion<br/>
-Stelle auf der Startseite<br/>
-in der Suche als erstes<br/><br/>
<br/>Jetzt Informationen per Mail anfordern<br/>
<input class="inputs" placeholder="Unternehmen" id="name" name="name" size="25" type="text" /><br/> <br/>
<input class="inputs" placeholder="Ansprechpartner" id="vname" name="vname" size="25" type="text" /><br/> <br/>
<input class="inputs" placeholder="E-Mail" id="email" name="email" size="25" type="text" /><br/> <br/>
<input class="inputs" placeholder="Name" id="submit" name="submit" type="submit" value="Absenden" />
</form>
</div>

38
app/View/Extra/team.ctp Normal file
View File

@ -0,0 +1,38 @@
<div class="box">
<div><?=$this->Html->image('extra/capece.jpg',array('style'=>"height:250px;margin-top:10px;margin-right:20px;position:left;float:left;"));?><br/> <div class ="textB">Augusto Capece</div><br/>
Gesch&auml;ftsf&uumlhrer
<br/> <br/>
<li>Unternehmensleitung</li>
<li>Social Media</li>
<li>Marketing</li>
<br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/>
</div>
<div><?=$this->Html->image('extra/imberg.jpg',array('style'=>"height:250px;margin-top:10px;margin-right:20px;position:left;float:left;"));?><br/> <div class ="textB">Sebastian Imberg</div><br/>
Gesch&auml;ftsf&uumlhrer
<br/> <br/>
<li>Unternehmensleitung</li>
<li>Design</li>
<li>Entwicklung</li>
<li>Kooperationen</li>
<br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/>
</div>
<div><?=$this->Html->image('extra/mueller.jpg',array('style'=>"height:250px;margin-top:10px;margin-right:20px;position:left;float:left;"));?><br/> <div class ="textB">Martin M&uumlller</div><br/>
Leiter Entwicklung
<br/> <br/>
<li>EDV</li>
<li>Administration</li>
<li>Entwicklung</li>
<li>Datenschutz</li>
</div>
</div>

View File

@ -1,7 +1,7 @@
<?php
?>
<div class="box">
Allgemeine Gesch&aumlftsbedingungen</br></br>f&uumlr die Nutzung der dreamJOB.cc
Allgemeine Gesch&aumlftsbedingungen</br></br>f&uumlr die Nutzung der dream-job.eu
</br>Mit der Anmeldung bei dreamjob akzeptieren Sie die allgemeinen Gesch&aumlftsbedingungen, wenn Sie diese nicht akzeptieren kann die Anmeldung nicht erfolgen. Um die Webseite nutzen zu k&oumlnnen, m&uumlssen sie mindestens 16 Jahre alt sein oder unter Aufsicht eines Elternteils sein. Die folgenden Gesch&aumlftsbedingungen stellen die Rechte und Pflichten der Nutzer dieser Plattform da. Sie zeigen auf, wie personenbezogene-/firmenbezogene Daten verwaltet, genutzt und gesichert werden.
</br></br>1. UNSER ANGEBOT

View File

@ -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'));
?>
<div class="buttonrow">
<?=$this->Form->button('senden',array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?>

View File

@ -95,29 +95,26 @@
<tr>
<td>
<ul class="list-unstyled">
<!--<li><?=__('dreamjob.help');?></li>-->
<!--<li><?=__('dreamjob.faq');?></li>-->
</ul>
</td>
<td>
<ul class="list-unstyled">
<!--<li><?=__('dreamjob.sponsorus');?></li>
<li><?=__('dreamjob.cooperators');?></li>
<li><?=__('dreamjob.advertisers');?></li>-->
<li><?=$this->Html->link(__('dreamjob.cooperators'),array('controller'=>'extra','action'=>'cooperators'));?></li>
<li><?=$this->Html->link(__('dreamjob.premium'),array('controller'=>'extra','action'=>'premium'));?></li>
<li><?=$this->Html->link(__('dreamjob.advertise'),array('controller'=>'extra','action'=>'advertise'));?></li>
</ul>
</td>
<td></td>
<td>
<ul class="list-unstyled">
<li><?=$this->Html->link(__('dreamjob.contact'),array('controller'=>'home','action'=>'contact'));?></li>
<!--<li><?=$this->Html->link(__('dreamjob.uscompany'),'http://www.miconware.de/',array('rel'=>"external", 'target'=>"_blank"));?></li>-->
<li><?=$this->Html->link(__('dreamjob.contact'),array('controller'=>'extra','action'=>'contact'));?></li>
<li><?=$this->Html->link(__('dreamjob.team'),array('controller'=>'extra','action'=>'team'));?></li>
</ul>
</td>
<td>
<ul class="list-unstyled">
<li><?=$this->Html->link(__('dreamjob.agb'),array('controller'=>'home','action'=>'agb'));?></li>
<li><?=$this->Html->link(__('dreamjob.impressum'),array('controller'=>'home','action'=>'impressum'));?></li>
<!--<li><?=__('dreamjob.advbyus');?></li>-->
</ul>
</td>
</tr>

Binary file not shown.

After

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 280 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB