Show sourcecode
The following files exists in this folder. Click to view.
test/
.idea/
audio/
blokket.php
blokket2.php
dbtest.php
edit-stylesheet-process.php
edit-stylesheet.php
edit-stylesheet_original.php
ex/
favorites.php
img/
incl/
kmom03_get.php
kmom03_getform.php
kmom03_postform.php
kmom03_validate.php
login.php
login_MOS.php
me.php
report.php
select-stylesheet-process.php
select-stylesheet.php
select-stylesheet_original.php
social.php
src/
style/
style-default.php
style-default_original.php
style.php
style_original.php
test.php
viewsource.php
me.php
1 lines UTF-8 Unix (LF)
<?php
include("incl/config.php");
$pageTitle = "My Me-page about myself";
$pageId = "me";
// Define style thats specific for this page. Works OK for the figures!
$pageStyle = null;
$pageStyle .= '
figure {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
border-color: rgba(10,10,10,0.25);
-moz-box-shadow: 5px 5px 2px rgba(10,10,10,0.25);
-webkit-box-shadow: 5px 5px 2px rgba(10,10,10,0.25);
box-shadow: 5px 5px 2px rgba(10,10,10,0.25);
}
';
// Change the style depending on the $_GET
if(isset($_GET['borderradius']))
{
$pageStyle .= '
nav.navmenu {
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
border-color: rgba(55,10,10,0.25);
}
';
$pageStyle .= '
div#content {
-webkit-border-radius: 25px;
-moz-border-radius: 25px;
border-radius: 25px;
border-color: rgba(55,10,10,0.25);
}
';
}
?>
<?php include("incl/header.php"); ?>
<!-- Sidans/Dokumentets huvudsakliga innehåll -->
<article class="justify center" style="width:90%">
<h1>ABOUT ME</h1>
<figure class="right top">
<img src="img/BatmanSelfie.png" alt="Batman selfie" height="400">
<figcaption><p>A selfie I took with my Bat-camera.</p></figcaption>
</figure>
<p>I'm <em>Batman</em>.</p>
<p>I made a promise on the grave of my parents that I would rid Gotham of the
evil that took their lives. By day, I am [insert secret identity here].
At night, criminals, that cowardly and superstitious lot, call me
"Batman".</p>
<p>Other than crime-fighting, my main interest is forensic science, and my
main hobbies are tinkering with my utility belt, practicing martial arts, gymming,
and [insert interests and hobbies of my secret identity].</p>
<p>P.S. <strong>I am the night</strong>.</p>
</article>
<?php include("incl/byline.php"); ?>
<?php include("incl/footer.php"); ?>