Pith - miter
miter/front/direct.php [1.2 kb]
Modified: 17:48:02 114 026 (11 Jul 026)
14 Days Ago
<?php

if (isset($_GET['m'])) {
	include 'front/miter.php';
} elseif (isset($_GET['t'])) {
	include 'front/tenon.php';
} elseif (isset($_GET['l'])) {
	include 'front/tenons.php';
} elseif (isset($_GET['p'])) {
	include 'front/pith.php';
} elseif (isset($_GET['e'])) {
	if (($login ?? false) === true) {
		include 'front/tenon.php';
	}

} elseif (isset($_GET['q'])) {
	include 'front/search.php';

} elseif (isset($_GET['u']) && ($login ?? false) === true) {
	$action = $_GET['u'];

	$admin_routes = [
		'new'           => 'back/tenon/new.php',
		'panels'        => 'back/panels/panels.php',
		'icons'         => 'back/admin/icons_list.php',
		'tenon_images'  => 'back/tenon/tenon_images.php',
		'tenon_files'   => 'back/tenon/tenon_files.php',
		'settings'      => 'back/admin/settings.php',
		'tenon_inserts' => 'back/tenon/tenon_inserts.php',
		'log'           => 'back/admin/log.php',
		'css'           => 'back/admin/css_editor.php',
		'ditch'         => 'back/ditch/ditch.php',
		'tenons'        => 'front/tenons.php'
	];

	if (array_key_exists($action, $admin_routes)) {
		include $admin_routes[$action];
	}

} elseif (isset($_GET['i'])) {
	header('Location: index.php');
	exit;

} else {
	include 'front/miter.php';
}
?>
Updates
Wedge - Android 126.026
Wedge - Linux 124.026
Shim - Android 117.026
Miter - 114.026
Kerf - Android 112.026
Dev
TVShow (227) 'CSA'
TVShow (228) 'APT'
TVProgram (83) 'BXT'
Miter Update(s)
Peen (Messaging)

Menu
Calendar
Project Tin (024/029)
Miter
RSS Feed
User Avatar
@vgmlr
=SUM(parts)