Show sourcecode
The following files exists in this folder. Click to view.
3kolumn.php
img/
incl/
index.php
login.php
pella1.php
sida1.php
src/
style/
style.php
test.php
viewsource.php
pella1.php
80 lines UTF-8 Windows (CRLF)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<?php include("incl/config.php"); ?>
<?php
$pageId = "pella";
$title = "Pellas sida";
?>
<?php
//
// Change the style depending on the $_GET
//
$pageStyle = null;
if(isset($_GET['border-radius'])) {
$pageStyle .= '
figure {
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
border-color:#5C0A0A;
}
';
}
if(isset($_GET['box-shadow'])) {
$pageStyle .= '
figure {
-moz-box-shadow: 10px 10px 5px #8A0F0F;
-webkit-box-shadow: 10px 10px 5px #8A0F0F;
box-shadow: 10px 10px 5px #8A0F0F;
}
';
}
if(isset($_GET['gradient'])) {
$pageStyle .= '
body {
background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #8A0F0F), color-stop(0.10, #F07575), color-stop(0.80, #FFF));
background: -moz-linear-gradient(top, #8A0F0F, #F07575 10%, #FFF 80%);
}
';
}
if(isset($_GET['opaque'])) {
$pageStyle .= '
header#top { background:hsla(0,0%,100%,0.20); }
div#content { background:hsla(0,0%,100%,0.80); }
header#top, div#content { padding:1em; }
header#top {
-webkit-border-top-left-radius: 10px;
-moz-border-radius-topleft: 10px;
border-top-left-radius: 10px;
-webkit-border-top-right-radius: 10px;
-moz-border-radius-topright: 10px;
border-top-right-radius: 10px;
}
div#content {
-webkit-border-bottom-left-radius: 10px;
-moz-border-radius-bottomleft: 10px;
border-top-bottom-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
-moz-border-radius-bottomright: 10px;
border-bottom-right-radius: 10px;
margin-top:0.2em;
margin-bottom:1em;
}
';
}
?>
<?php include("incl/header.php"); ?>
<h1>Startsidan</h1>
<p>Här kommer snart min egen fina me-sida.</p>
<img src="img/pella_bv.jpg" alt="Bild på Pella">
<?php include("incl/byline.php"); ?>
<?php include("incl/footer.php"); ?>