WebApps+About
This commit is contained in:
parent
e1851fce69
commit
5302868327
@ -18,11 +18,9 @@ $ajax = $parameter['ajax'];
|
||||
$frame = $parameter['frame'];
|
||||
$frameid = $parameter['frameid'];
|
||||
|
||||
$AOC = $SITE->modules->AdventOfCode();
|
||||
|
||||
$assocdays = $AOC->listSingleYearAssociative($year);
|
||||
$prev_year = $shownav ? $AOC->getPrevYear($year) : null;
|
||||
$next_year = $shownav ? $AOC->getNextYear($year) : null;
|
||||
$assocdays = $SITE->modules->AdventOfCode()->listSingleYearAssociative($year);
|
||||
$prev_year = $shownav ? $SITE->modules->AdventOfCode()->getPrevYear($year) : null;
|
||||
$next_year = $shownav ? $SITE->modules->AdventOfCode()->getNextYear($year) : null;
|
||||
|
||||
if ($ajax) $FRAME_OPTIONS->addScript("/data/javascript/aoc_panel_interactive.js", true);
|
||||
|
||||
@ -37,14 +35,14 @@ if ($ajax) $FRAME_OPTIONS->addScript("/data/javascript/aoc_panel_interactive.js"
|
||||
if ($ajax)
|
||||
echo '<a href="javascript:void();" onclick="javascript:changeAOCPanel(' . $prev_year . ', ' . ($shownav?'true':'false') . ', ' . ($linkheader?'true':'false') . ', ' . ($ajax?'true':'false') . ', \'' . $frameid . '\')" class="aoc_calendar_header_link aoc_prev" ><</a>';
|
||||
else
|
||||
echo '<a href="' . $AOC->getURLForYear($prev_year) . '" class="aoc_calendar_header_link aoc_prev" ><</a>';
|
||||
echo '<a href="' . $SITE->modules->AdventOfCode()->getURLForYear($prev_year) . '" class="aoc_calendar_header_link aoc_prev" ><</a>';
|
||||
}
|
||||
else
|
||||
{
|
||||
echo '<a href="#" class="aoc_calendar_header_link aoc_prev aoc_link_hidden" ><</a>';
|
||||
}
|
||||
|
||||
if ($linkheader) echo '<span class="aoc_calendar_header_title"><a href="' . $AOC->getURLForYear($year) . '">'.$year.'</a></span>';
|
||||
if ($linkheader) echo '<span class="aoc_calendar_header_title"><a href="' . $SITE->modules->AdventOfCode()->getURLForYear($year) . '">'.$year.'</a></span>';
|
||||
else echo '<span class="aoc_calendar_header_title">'.$year.'</span>';
|
||||
|
||||
if ($next_year !== null)
|
||||
@ -52,7 +50,7 @@ if ($ajax) $FRAME_OPTIONS->addScript("/data/javascript/aoc_panel_interactive.js"
|
||||
if ($ajax)
|
||||
echo '<a href="javascript:void();" onclick="javascript:changeAOCPanel(' . $next_year . ', ' . ($shownav?'true':'false') . ', ' . ($linkheader?'true':'false') . ', ' . ($ajax?'true':'false') . ', \'' . $frameid . '\')" class="aoc_calendar_header_link aoc_next" >></a>';
|
||||
else
|
||||
echo '<a href="' . $AOC->getURLForYear($next_year) . '" class="aoc_calendar_header_link aoc_next" >></a>';
|
||||
echo '<a href="' . $SITE->modules->AdventOfCode()->getURLForYear($next_year) . '" class="aoc_calendar_header_link aoc_next" >></a>';
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -11,9 +11,7 @@ $parameter = $FRAGMENT_PARAM;
|
||||
?>
|
||||
|
||||
<?php
|
||||
$BLOG = $SITE->modules->Blog();
|
||||
|
||||
$allposts = $BLOG->listAllNewestFirst();
|
||||
$allposts = $SITE->modules->Blog()->listAllNewestFirst();
|
||||
?>
|
||||
|
||||
<div class="index_pnl_base">
|
||||
|
@ -11,9 +11,7 @@ $parameter = $FRAGMENT_PARAM;
|
||||
?>
|
||||
|
||||
<?php
|
||||
$BOOKS = $SITE->modules->Books();
|
||||
|
||||
$allbooks = $BOOKS->listAllNewestFirst();
|
||||
$allbooks = $SITE->modules->Books()->listAllNewestFirst();
|
||||
?>
|
||||
|
||||
<div class="index_pnl_base">
|
||||
|
@ -11,9 +11,7 @@ $parameter = $FRAGMENT_PARAM;
|
||||
?>
|
||||
|
||||
<?php
|
||||
$EULER = $SITE->modules->Euler();
|
||||
|
||||
$data = $EULER->listAll();
|
||||
$data = $SITE->modules->Euler()->listAll();
|
||||
|
||||
$RATING_CLASSES = ['euler_pnl_celltime_perfect', 'euler_pnl_celltime_good', 'euler_pnl_celltime_ok', 'euler_pnl_celltime_bad', 'euler_pnl_celltime_fail'];
|
||||
?>
|
||||
|
@ -11,9 +11,7 @@ $parameter = $FRAGMENT_PARAM;
|
||||
?>
|
||||
|
||||
<?php
|
||||
$PROGRAMS = $SITE->modules->Programs();
|
||||
|
||||
$allprograms = $PROGRAMS->listAllNewestFirst();
|
||||
$allprograms = $SITE->modules->Programs()->listAllNewestFirst();
|
||||
?>
|
||||
|
||||
<div class="index_pnl_base">
|
||||
|
@ -20,7 +20,6 @@ class MikescherGitGraph
|
||||
|
||||
/**
|
||||
* @return string|null
|
||||
* @throws Exception
|
||||
*/
|
||||
public function get()
|
||||
{
|
||||
|
@ -1,114 +1,98 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<?php
|
||||
require_once (__DIR__ . '/../internals/base.php');
|
||||
require_once (__DIR__ . '/../internals/mikeschergitgraph.php');
|
||||
global $OPTIONS;
|
||||
require_once (__DIR__ . '/../internals/website.php');
|
||||
|
||||
/** @var PageFrameOptions $FRAME_OPTIONS */ global $FRAME_OPTIONS;
|
||||
/** @var URLRoute $ROUTE */ global $ROUTE;
|
||||
/** @var Website $SITE */ global $SITE;
|
||||
?>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Mikescher.com - About</title>
|
||||
<link rel="icon" type="image/png" href="/data/images/favicon.png"/>
|
||||
<link rel="canonical" href="https://www.mikescher.com/about"/>
|
||||
<?php printHeaderCSS(); ?>
|
||||
<?php includeAdditionalScript("/data/javascript/extendedgitgraph.js", 'defer', true) ?>
|
||||
</head>
|
||||
<body>
|
||||
<div id="mastercontainer">
|
||||
|
||||
<?php $HEADER_ACTIVE = 'about'; include (__DIR__ . '/../fragments/header.php'); ?>
|
||||
<?php
|
||||
$FRAME_OPTIONS->title = 'About';
|
||||
$FRAME_OPTIONS->canonical_url = 'https://www.mikescher.com/about';
|
||||
$FRAME_OPTIONS->activeHeader = 'about';
|
||||
?>
|
||||
|
||||
<div id="content" class="content-responsive">
|
||||
<div class="aboutcontent">
|
||||
|
||||
<div class="aboutcontent">
|
||||
<div class="contentheader"><h1>About mikescher.com</h1><hr/></div>
|
||||
|
||||
<div class="contentheader"><h1>About mikescher.com</h1><hr/></div>
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - -->
|
||||
<div class="boxedcontent">
|
||||
<div class="bc_header">About me</div>
|
||||
|
||||
<div class="boxedcontent">
|
||||
<div class="bc_header">About me</div>
|
||||
<div class="bc_data">
|
||||
|
||||
<div class="bc_data">
|
||||
<p>Welcome to my Mikescher.com</p>
|
||||
<p>This is my personal homepage, I use it to upload programs I have written, web serials I have style-setted and sometimes for a little bit of blogging.</p>
|
||||
<p>Its mostly just a collection of stuff I wanted to put only, but I guess thats the core of most personal homepages</p>
|
||||
|
||||
<p>Welcome to my Mikescher.com</p>
|
||||
<p>This is my personal homepage, I use it to upload programs I have written, web serials I have style-setted and sometimes for a little bit of blogging.</p>
|
||||
<p>Its mostly just a collection of stuff I wanted to put only, but I guess thats the core of most personal homepages</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
</div>
|
||||
<div class="boxedcontent">
|
||||
<div class="bc_header">My git timeline</div>
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - -->
|
||||
<div class="bc_data about_egg_container">
|
||||
|
||||
<div class="boxedcontent">
|
||||
<div class="bc_header">My git timeline</div>
|
||||
<?php
|
||||
$FRAME_OPTIONS->addScript('/data/javascript/extendedgitgraph.js', true);
|
||||
echo $SITE->modules->ExtendedGitGraph()->get();
|
||||
?>
|
||||
|
||||
<div class="bc_data about_egg_container">
|
||||
</div>
|
||||
|
||||
<?php print(MikescherGitGraph::get()); ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
</div>
|
||||
<div class="boxedcontent">
|
||||
<div class="bc_header">Other addresses</div>
|
||||
|
||||
<!-- - - - - - - - - - - - - - - - - - - - - -->
|
||||
<div class="bc_data about_circles">
|
||||
|
||||
<div class="boxedcontent">
|
||||
<div class="bc_header">Other addresses</div>
|
||||
<a class="iconbutton_light" href="https://github.com/Mikescher">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<use xlink:href="/data/images/icons.svg#github"></use>
|
||||
</svg>
|
||||
<span>Github</span>
|
||||
</a>
|
||||
<a class="iconbutton_light" href="https://www.goodreads.com/C4terpillar">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<use xlink:href="/data/images/icons.svg#goodreads"></use>
|
||||
</svg>
|
||||
<span>Goodreads</span>
|
||||
</a>
|
||||
<a class="iconbutton_light" href="https://stackoverflow.com/users/1761622/mikescher">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<use xlink:href="/data/images/icons.svg#stackoverflow"></use>
|
||||
</svg>
|
||||
<span>Stackoverflow</span>
|
||||
</a>
|
||||
<a class="iconbutton_light" href="https://www.reddit.com/user/M1kescher/">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<use xlink:href="/data/images/icons.svg#reddit"></use>
|
||||
</svg>
|
||||
<span>Reddit</span>
|
||||
</a>
|
||||
<a class="iconbutton_light" href="http://www.delphipraxis.net/members/46235-mikescher.html">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<use xlink:href="/data/images/icons.svg#delphipraxis"></use>
|
||||
</svg>
|
||||
<span>Delphi-Praxis</span>
|
||||
</a>
|
||||
<a class="iconbutton_light" href="mailto:website_mailto@mikescher.com">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<use xlink:href="/data/images/icons.svg#email"></use>
|
||||
</svg>
|
||||
<span>E-Mail</span>
|
||||
</a>
|
||||
|
||||
<div class="bc_data about_circles">
|
||||
</div>
|
||||
|
||||
<a class="iconbutton_light" href="https://github.com/Mikescher">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<use xlink:href="/data/images/icons.svg#github"></use>
|
||||
</svg>
|
||||
<span>Github</span>
|
||||
</a>
|
||||
<a class="iconbutton_light" href="https://www.goodreads.com/C4terpillar">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<use xlink:href="/data/images/icons.svg#goodreads"></use>
|
||||
</svg>
|
||||
<span>Goodreads</span>
|
||||
</a>
|
||||
<a class="iconbutton_light" href="https://stackoverflow.com/users/1761622/mikescher">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<use xlink:href="/data/images/icons.svg#stackoverflow"></use>
|
||||
</svg>
|
||||
<span>Stackoverflow</span>
|
||||
</a>
|
||||
<a class="iconbutton_light" href="https://www.reddit.com/user/M1kescher/">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<use xlink:href="/data/images/icons.svg#reddit"></use>
|
||||
</svg>
|
||||
<span>Reddit</span>
|
||||
</a>
|
||||
<a class="iconbutton_light" href="http://www.delphipraxis.net/members/46235-mikescher.html">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<use xlink:href="/data/images/icons.svg#delphipraxis"></use>
|
||||
</svg>
|
||||
<span>Delphi-Praxis</span>
|
||||
</a>
|
||||
<a class="iconbutton_light" href="mailto:website_mailto@mikescher.com">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
<use xlink:href="/data/images/icons.svg#email"></use>
|
||||
</svg>
|
||||
<span>E-Mail</span>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php include (__DIR__ . '/../fragments/footer.php'); ?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<?php printAdditionalScripts(); ?>
|
||||
<?php printAdditionalStylesheets(); ?>
|
||||
</body>
|
||||
</html>
|
@ -15,8 +15,6 @@ if ($prog === null) { $FRAME_OPTIONS->setForced404("Program not found"); return;
|
||||
$FRAME_OPTIONS->title = $prog['name'];
|
||||
$FRAME_OPTIONS->canonical_url =$prog['url'];
|
||||
$FRAME_OPTIONS->activeHeader = 'programs';
|
||||
|
||||
if ($prog['has_extra_images']) $FRAME_OPTIONS->addScript('/data/javascript/ms_basic.js', true);
|
||||
?>
|
||||
|
||||
<div class="blockcontent">
|
||||
@ -74,6 +72,8 @@ if ($prog['has_extra_images']) $FRAME_OPTIONS->addScript('/data/javascript/ms_ba
|
||||
|
||||
<?php if ($prog['has_extra_images']): ?>
|
||||
|
||||
<?php $FRAME_OPTIONS->addScript('/data/javascript/ms_basic.js', true); ?>
|
||||
|
||||
<div class="progv_extra imgcarousel_parent" data-imgcarousel-index="0" data-imgcarousel-images="<?php echo htmlspecialchars(json_encode($prog['extraimages_urls'])); ?>" >
|
||||
<a class="imgcarousel_prev">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 24 24">
|
||||
|
@ -1,52 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<?php
|
||||
require_once (__DIR__ . '/../internals/base.php');
|
||||
require_once (__DIR__ . '/../internals/webapp.php');
|
||||
|
||||
$allapps = WebApps::listAllNewestFirst();
|
||||
require_once (__DIR__ . '/../internals/website.php');
|
||||
|
||||
/** @var PageFrameOptions $FRAME_OPTIONS */ global $FRAME_OPTIONS;
|
||||
/** @var URLRoute $ROUTE */ global $ROUTE;
|
||||
/** @var Website $SITE */ global $SITE;
|
||||
?>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Mikescher.com - Tools</title>
|
||||
<link rel="icon" type="image/png" href="/data/images/favicon.png"/>
|
||||
<link rel="canonical" href="https://www.mikescher.com/webapps"/>
|
||||
<?php printHeaderCSS(); ?>
|
||||
</head>
|
||||
<body>
|
||||
<div id="mastercontainer">
|
||||
|
||||
<?php $HEADER_ACTIVE='webapps'; include (__DIR__ . '/../fragments/header.php'); ?>
|
||||
<?php
|
||||
$FRAME_OPTIONS->title = 'External tools, apps and more';
|
||||
$FRAME_OPTIONS->canonical_url = 'https://www.mikescher.com/webapps';
|
||||
$FRAME_OPTIONS->activeHeader = 'webapps';
|
||||
|
||||
<div id="content" class="content-responsive">
|
||||
$allapps = $SITE->modules->WebApps()->listAllNewestFirst();
|
||||
?>
|
||||
|
||||
<div class="blockcontent">
|
||||
<div class="blockcontent">
|
||||
|
||||
<div class="contentheader"><h1>Online tools, web apps and more</h1><hr/></div>
|
||||
<div class="contentheader"><h1>Online tools, web apps and more</h1><hr/></div>
|
||||
|
||||
<div class='webapplistelem_container'>
|
||||
<?php
|
||||
<div class='webapplistelem_container'>
|
||||
<?php
|
||||
|
||||
foreach ($allapps as $post)
|
||||
{
|
||||
echo "<a class='webapplistelem' href='" . $post['url'] . "'>\n";
|
||||
echo "<div class='wle_date'>" . $post['date'] . "</div>\n";
|
||||
echo "<div class='wle_title'>" . $post['title'] . "</div>\n";
|
||||
echo "</a>\n";
|
||||
}
|
||||
foreach ($allapps as $post)
|
||||
{
|
||||
echo "<a class='webapplistelem' href='" . $post['url'] . "'>\n";
|
||||
echo "<div class='wle_date'>" . $post['date'] . "</div>\n";
|
||||
echo "<div class='wle_title'>" . $post['title'] . "</div>\n";
|
||||
echo "</a>\n";
|
||||
}
|
||||
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
?>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php include (__DIR__ . '/../fragments/footer.php'); ?>
|
||||
|
||||
</div>
|
||||
<?php printAdditionalScripts(); ?>
|
||||
<?php printAdditionalStylesheets(); ?>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user