diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-23 20:40:55 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-06-23 20:40:55 +0200 |
commit | 1f7fd32437245a78e14cbf0795dcd88685ddf436 (patch) | |
tree | 74a83f0767f9931175cdc45149119bc58ad2ac2a /inc | |
parent | Working fine (diff) | |
download | joe-www-1f7fd32437245a78e14cbf0795dcd88685ddf436.tar.gz joe-www-1f7fd32437245a78e14cbf0795dcd88685ddf436.tar.bz2 joe-www-1f7fd32437245a78e14cbf0795dcd88685ddf436.tar.xz joe-www-1f7fd32437245a78e14cbf0795dcd88685ddf436.tar.zst joe-www-1f7fd32437245a78e14cbf0795dcd88685ddf436.zip |
php rework
Diffstat (limited to 'inc')
-rw-r--r-- | inc/classic-contents.inc.php | 71 | ||||
-rw-r--r-- | inc/index.php | 1 |
2 files changed, 72 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 +} +?> diff --git a/inc/index.php b/inc/index.php new file mode 100644 index 0000000..d29ead0 --- /dev/null +++ b/inc/index.php @@ -0,0 +1 @@ +<?php header("Location: ../"); ?> |