-'
- . html_footer()
- . ''
- . html_close();
diff --git a/public/2019/blog.php b/public/2019/blog.php
deleted file mode 100644
index 93edae8..0000000
--- a/public/2019/blog.php
+++ /dev/null
@@ -1,50 +0,0 @@
-prepare('
- SELECT `post_id`, `post_title`, `post_text`, `post_published`
- FROM `fm_blog_posts`
- WHERE `post_id` = :id
- AND `post_published` IS NOT NULL
- AND `post_published` < CURRENT_TIMESTAMP
- AND `post_deleted` IS NULL
-');
-$getBlogPost->bindValue('id', $postId);
-$getBlogPost->execute();
-$blogPost = $getBlogPost->fetch(PDO::FETCH_OBJ);
-
-if (empty($blogPost)) die('Couldn\'t find that post.');
-
-echo html_open()
- . ''
- . html_head($blogPost->post_title, HEAD_FLASHWAVE)
- . ''
- . html_navigation(NAV_FLASHWAVE)
- . '
';
-
-?>
-
-
=$blogPost->post_title;?>
- post_text);
-
- foreach ($splitLines as $paragraph)
- if(!empty($paragraph))
- echo '
' . trim($paragraph) . '
';
- ?>
-
Posted =$blogPost->post_published;?>
-
-'
- . html_footer()
- . ''
- . html_close();
diff --git a/public/2019/index.php b/public/2019/index.php
deleted file mode 100644
index 1465324..0000000
--- a/public/2019/index.php
+++ /dev/null
@@ -1,236 +0,0 @@
- 'fas fa-at',
- 'title' => 'E-mail',
- 'url' => 'mailto:me@flash.moe',
- ],
- [
- 'icon' => 'fas fa-bolt',
- 'title' => 'Flashii',
- 'url' => 'https://flashii.net/profile.php?u=1',
- ],
- [
- 'icon' => 'fab fa-github',
- 'title' => 'Github',
- 'url' => 'https://github.com/flashwave',
- ],
- [
- 'icon' => 'fab fa-youtube',
- 'title' => 'YouTube',
- 'url' => 'https://youtube.com/c/flashwave',
- ],
- [
- 'icon' => 'fab fa-twitch',
- 'title' => 'Twitch',
- 'url' => 'https://twitch.tv/flashwave0',
- ],
- [
- 'icon' => 'fab fa-steam',
- 'title' => 'Steam',
- 'url' => 'https://steamcommunity.com/id/flashwave_',
- ],
- [
- 'icon' => 'fab fa-twitter',
- 'title' => 'Twitter',
- 'url' => 'javascript:confirm(\'Proceed with caution.\') ? location.assign(\'https://twitter.com/smugwave\') : void(0);',
- ],
- [
- 'icon' => 'fab fa-lastfm',
- 'title' => 'last.fm',
- 'url' => 'https://www.last.fm/user/flashwave_',
- ],
- [
- 'icon' => 'fab fa-nintendo-switch',
- 'title' => 'Switch',
- 'url' => 'javascript:alert(\'SW-7446-8163-4902\');',
- ],
- [
- 'icon' => 'fab fa-paypal',
- 'title' => 'Donate',
- 'url' => 'https://paypal.me/flashwave',
- ],
-];
-
-$getBlogPosts = $pdo->prepare('
- SELECT `post_id`, `post_title`, `post_text`, `post_published`
- FROM `fm_blog_posts` AS bp
- WHERE `post_published` IS NOT NULL
- AND `post_published` < CURRENT_TIMESTAMP
- AND `post_deleted` IS NULL
- ORDER BY `post_published` DESC
-');
-$getBlogPosts->execute();
-$blogPosts = $getBlogPosts->fetchAll(PDO::FETCH_OBJ);
-
-echo html_open()
- . ''
- . html_head('flash.moe', HEAD_FLASHWAVE)
- . '';
-
-if(html_old_ie())
- echo '
';
-if(html_netscape())
- echo '
';
-
-echo '
';
-?>
-
-
-
-
-
-
=$post->post_title;?>
-
=trim(explode("\n", $post->post_text)[0]);?>
-
Continue reading
-
Posted =$post->post_published;?>
-
-
-
-
-
-
-'
- . html_footer()
- . ''
- . html_close();
diff --git a/public/2019/projects.php b/public/2019/projects.php
deleted file mode 100644
index 1eddc5f..0000000
--- a/public/2019/projects.php
+++ /dev/null
@@ -1,82 +0,0 @@
-'
- . html_head('Projects', HEAD_FLASHWAVE)
- . ''
- . html_navigation(NAV_FLASHWAVE)
- . '
';
-?>
-
-
-
-
- prepare('
- SELECT `project_id`, `project_name`, `project_summary`, `project_homepage`, `project_repository`, `project_forum`, `project_archived`
- FROM `fm_projects`
- WHERE `project_deleted` IS NULL
- ORDER BY !ISNULL(`project_archived`), `project_order` DESC
- ');
- $getProjects->execute();
- $projects = $getProjects->fetchAll(PDO::FETCH_OBJ);
-
- $getLanguages = $pdo->prepare('
- SELECT pl.`language_name`, pl.`language_colour`
- FROM `fm_proglangs` AS pl
- LEFT JOIN `fm_projects_proglangs` AS ppl
- ON ppl.`language_id` = pl.`language_id`
- WHERE ppl.`project_id` = :project_id
- ORDER BY ppl.`priority`
- ');
-
- foreach ($projects as $project) {
- $getLanguages->bindValue('project_id', $project->project_id);
- $getLanguages->execute();
- $languages = $getLanguages->fetchAll(PDO::FETCH_OBJ);
-
- if(!$archived && !empty($project->project_archived)) {
- $archived = true;
- ?>
-
-
-
-
-
language_colour)) { echo sprintf(' style="background-color: %1$s; box-shadow: 0 0 3px %1$s;"', html_colour($languages[0]->language_colour)); } ?>>
-
-
=$project->project_name;?>
-
=trim($project->project_summary);?>
-
-
-
-
- =$language->language_name;?>
-
-
-
-
-
-
-
-
-
-'
- . html_footer()
- . ''
- . html_close();
diff --git a/public/nintendo.php b/public/nintendo.php
index ccc78a3..41cc616 100644
--- a/public/nintendo.php
+++ b/public/nintendo.php
@@ -1,2 +1,2 @@