Skip to content

Commit a7799bc

Browse files
authored
Merge pull request #171 from Mdwiki-TD/update_new
Update new
2 parents a960ade + 15d9562 commit a7799bc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+39
-4
lines changed

src/404.php

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php
2+
http_response_code(404);
3+
4+
// Include header
5+
include_once __DIR__ . '/header.php';
6+
//---
7+
function print_h3_title($h3_title)
8+
{
9+
echo <<<HTML
10+
<div class="card-header aligncenter" style="font-weight:bold;">
11+
<h3>$h3_title</h3>
12+
</div>
13+
<div class="card-body">
14+
HTML;
15+
}
16+
//---
17+
print_h3_title("404 Error.");
18+
19+
echo <<<HTML
20+
<div class="wrapper">
21+
<div class="header">
22+
<p>The page you requested was not found.</p>
23+
</div>
24+
</div>
25+
HTML;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)