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

style_original.php

1 lines ASCII Unix (LF)
1
<?php 
include("incl/config.php"); 
$pageTitle = "My style page";
$pageId = "style";

// Check for p-queries in URL: (strip tags first?)
$p = null;
if(isset($_GET["p"])) 
{
  $p = $_GET["p"];
}

$path = "";
$file = null;
switch($p)
{
    case "select-style":
        $pageTitle = "Select stylesheet";
        $file = "select-stylesheet.php";
        break;
    case "edit-stylesheet":
        $pageTitle = "Edit stylesheet";
        $file = "edit-stylesheet.php";
        break;
    default:
        $pageTitle = "Style options";
        $file = "style-default.php";
        break;
}
?>
    
<?php include("incl/header.php"); ?>
<?php include ("incl/style-aside.php"); ?>
<article class="right border justify-para" style="width:70%;">
        <?php include("$file"); ?>
        <?php include("incl/byline.php"); ?>
</article>
<?php include("incl/footer.php"); ?>