Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fsfahrttool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
fsini-informatik
fsfahrttool
Commits
a42172d8
Commit
a42172d8
authored
8 years ago
by
Tim Repke
Browse files
Options
Downloads
Patches
Plain Diff
default template now handles like an abstract class
parent
a4532119
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
registration-system/view/default_index.php
+71
-50
71 additions, 50 deletions
registration-system/view/default_index.php
registration-system/view/style.css
+2
-0
2 additions, 0 deletions
registration-system/view/style.css
with
73 additions
and
50 deletions
registration-system/view/default_index.php
+
71
−
50
View file @
a42172d8
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"de"
lang=
"de"
>
<head>
<!-- ------------------------------------------------------- -->
<!-- Programmiert von -->
<!-- -->
<!-- ~ Manu Herrmann ~ -->
<!-- und -->
<!-- ~ Tim Repke ~ -->
<!-- -->
<!-- Erste Version in 2014. -->
<!-- Beide haben 2015 noch einmal eine Schippe draufgesetzt! -->
<!-- ------------------------------------------------------- -->
<!--
Die Entwickler sind der Meinung, dass im Quelltext rumschnüffeln unethisch ist.
Da wir sehr schlau sind, haben wir deinen Rechner infiziert. Eine Anmeldung zur
Fachschaftsfahrt ist daher nicht mehr möglich.
Selbst schuld!
PS: Solltest du es doch geschafft haben, gib' uns bitte Bescheid, damit wir dich wieder löschen.
-->
<title>
Fachschaftsfahrt
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<?php
<?php
require_once
__DIR__
.
'/../frameworks/Environment.php'
;
abstract
class
DefaultIndex
{
protected
$environment
;
protected
function
__construct
()
{
$this
->
environment
=
Environment
::
getEnv
();
}
abstract
protected
function
echoHeaders
();
abstract
protected
function
echoContent
();
echo_headers
();
?>
</head>
<body>
<div
class=
"shadowbox"
>
<div
id=
"headerbox"
>
<div
class=
"headerboxshade"
><h1>
Fachschaftsfahrt
</h1></div>
<div
class=
"headerboxshade"
><h2>
Informatik
</h2></div>
<p></p>
</div>
<div
id=
"menubox"
>
<?php
show_content
();
protected
function
resolvePath
(
$resource
)
{
return
$this
->
environment
->
sysconf
[
'baseURL'
]
.
'view/'
.
$resource
;
}
protected
function
mysql2german
(
$date
)
{
return
date
(
'd.m.Y'
,
strtotime
(
$date
));
}
public
function
render
()
{
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns=
"http://www.w3.org/1999/xhtml"
xml:lang=
"de"
lang=
"de"
>
<head>
<!-- ------------------------------------------------------- -->
<!-- Programmiert von -->
<!-- -->
<!-- ~ Manu Herrmann ~ -->
<!-- und -->
<!-- ~ Tim Repke ~ -->
<!-- -->
<!-- Erste Version in 2014. -->
<!-- Beide haben 2015 noch einmal eine Schippe draufgesetzt! -->
<!-- Irgendwie 2016 noch einmal! -->
<!-- ------------------------------------------------------- -->
</div>
<div
id=
"footerbox"
>
©
<?php
echo
date
(
"Y"
);
?>
Fachschaftsinitiative Informatik der Humboldt Universität zu
Berlin.
</div>
<img
id=
"nyan"
alt=
"O"
src=
"view/graphics/studityp_5.gif"
style=
"position: fixed;bottom: 5px;left:0px"
/>
<!--
Die Entwickler sind der Meinung, dass im Quelltext rumschnüffeln unethisch ist.
Da wir sehr schlau sind, haben wir deinen Rechner infiziert. Eine Anmeldung zur
Fachschaftsfahrt ist daher nicht mehr möglich.
Selbst schuld!
</div>
</body>
</html>
PS: Solltest du es doch geschafft haben, gib' uns bitte Bescheid, damit wir dich wieder löschen.
-->
<title>
Fachschaftsfahrt
</title>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=utf-8"
/>
<?php
$this
->
echoHeaders
();
?>
</head>
<body>
<div
class=
"shadowbox"
>
<div
id=
"headerbox"
>
<div
class=
"headerboxshade"
><h1>
Fachschaftsfahrt
</h1></div>
<div
class=
"headerboxshade"
><h2>
Informatik
</h2></div>
<p></p>
</div>
<div
id=
"menubox"
>
<?php
$this
->
echoContent
();
?>
</div>
<div
id=
"footerbox"
>
©
<?php
echo
date
(
"Y"
);
?>
Fachschaftsinitiative Informatik der Humboldt Universität zu Berlin.
</div>
<img
id=
"nyan"
alt=
"O"
src=
"
<?php
echo
$this
->
resolvePath
(
'graphics/studityp_5.gif'
)
?>
"
style=
"position: fixed;bottom: 5px;left:0"
/>
</div>
</body>
</html>
<?php
}
}
This diff is collapsed.
Click to expand it.
registration-system/view/style.css
+
2
−
0
View file @
a42172d8
...
...
@@ -302,6 +302,8 @@ a.editenum { display: block; height: 20px; line-height: 20px; width: 20px; font-
.fahrttable
{
display
:
table
;
margin-bottom
:
1em
;
margin-top
:
1em
;
}
.fahrttable
div
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment