3
* home.ctp - This file is part of Critecia
4
* Copyright (C) 2011 Alexander Lang
6
* This program is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU Affero General Public License as
8
* published by the Free Software Foundation, either version 3 of the
9
* License, or (at your option) any later version.
11
* This program is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU Affero General Public License for more details.
16
* You should have received a copy of the GNU Affero General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
21
<div id="homecontent">
22
<div id="homediv" style="text-align:right;">
23
<h3>Critecia. Home.</h3>
26
echo $session->flash('auth');
27
echo $this->Form->create('User', array('action' => 'login'));
28
echo $this->Form->input('username', array('type'=>'text','label'=>'Benutzername','maxLength'=>'30','style'=>'width:200px;'));
29
echo $this->Form->input('password', array('type'=>'password','label'=>'Passwort','maxLength'=>'30','style'=>'width:200px;'));
30
echo $html->image('none.png', array('height' => '10'));
32
echo $this->Form->end('Login');
35
<script language='javascript' type='text/javascript'>
36
document.getElementById("navigation").style.backgroundImage="url('http://localhost/critecia/local_images/hamster_240px_left.png')";
41
<h3>Aktuelle Neuigkeiten:</h3>
46
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.