aboutsummaryrefslogtreecommitdiffstats
path: root/inc/classic-contents.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/classic-contents.inc.php')
-rw-r--r--inc/classic-contents.inc.php71
1 files changed, 71 insertions, 0 deletions
diff --git a/inc/classic-contents.inc.php b/inc/classic-contents.inc.php
new file mode 100644
index 0000000..280558a
--- /dev/null
+++ b/inc/classic-contents.inc.php
@@ -0,0 +1,71 @@
+<?php
+function
+jo_head($title) {
+?>
+<html>
+ <head>
+ <title>Joe's own website - <?php echo "$title"; ?></title>
+ <link rel="stylesheet" type="text/css" href="css/site.css">
+ <meta charset="UTF-8">
+ </head>
+ <body>
+ <div class="fullpage">
+ <header>
+ <h1>Joe's dev blog - <?php echo "$title"; ?></h1>
+ </header>
+<?php
+}
+
+function
+jo_sidebar() {
+?>
+
+ <div class="sidebar">
+ <ul>
+ <li>
+ <a href="index.html">Home</a>
+ </li>
+ <li>
+ <a href="">C</a>
+ </li>
+ <li>
+ <a href="">C++</a>
+ </li>
+ <li>
+ <a href="">Lisp</a>
+ </li>
+ <li>
+ <a href="">Assembly</a>
+ </li>
+ <li>
+ <a href="">UNIX</a>
+ </li>
+ <li>
+ <a href="">GNU Emacs</a>
+ </li>
+ <li>
+ <a href="">My projects</a>
+ </li>
+ <li>
+ <a href="">My C/C++ style</a>
+ </li>
+ <li>
+ <a href="">Links</a>
+ </li>
+ </ul>
+ </div>
+<?php
+}
+function
+jo_footer() {
+?>
+ <footer>
+ <p>
+ Copyright Joe 2020 -
+ see <a href="LICENSE">LICENSE</a> -
+ we do not use cookies
+ </p>
+ </footer>
+<?php
+}
+?>