@@ -18,3 +18,23 @@ const DATABASE_NAME = 'frc.db';
|
||||
// (editing below this line is not advised)
|
||||
|
||||
include 'lib/Data.php';
|
||||
|
||||
/**
|
||||
* Render the page title
|
||||
* @param string $title The title of the page being displayed
|
||||
*/
|
||||
function page_head(string $title): void {
|
||||
?><!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title><?=$title?> | Feed Reader Central</title>
|
||||
</head>
|
||||
<body><?php
|
||||
}
|
||||
|
||||
/**
|
||||
* Render the end of the page
|
||||
*/
|
||||
function page_foot(): void {
|
||||
?></body></html><?php
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user