diff --git a/README.md b/README.md index 720c88e..baacb71 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,6 @@ Anyways, let's get to the *how*. - SQL_PASSWORD - SQL_DATABASE - Changes to php.ini should include: - - adding the /docs/common/header.hp and /docs/common/footer.php as - the auto_prepend_file and auto_append_file - Enabling the pdo_mysql extension - Setting the file_uploads on and setting max upload (and post) size, if you are going to make use of that function. Please note that it is @@ -46,6 +44,10 @@ Anyways, let's get to the *how*. - The basic skeleton for any document should be: ```php ); ?> @@ -53,6 +55,10 @@ display_header(); + + ``` - Do check out the already existing css rules before adding your own, the rule for what you are trying to create might already exist. I might add a more diff --git a/assets/errors/403.php b/assets/errors/403.php index 3faf08a..bfea877 100644 --- a/assets/errors/403.php +++ b/assets/errors/403.php @@ -1,4 +1,8 @@ @@ -8,3 +12,7 @@ display_header("403: Forbidden"); Internet meme image of a confused-looking cat with a text reading "Hey you... What are you doing here??" + + diff --git a/assets/errors/404.php b/assets/errors/404.php index 1797052..4c54e00 100644 --- a/assets/errors/404.php +++ b/assets/errors/404.php @@ -1,4 +1,8 @@ @@ -8,3 +12,7 @@ display_header("404: Not Found"); GIF of a cat hiding in a cupboard + + diff --git a/assets/errors/500.php b/assets/errors/500.php index 84047fd..14405ec 100644 --- a/assets/errors/500.php +++ b/assets/errors/500.php @@ -1,4 +1,8 @@ @@ -8,3 +12,7 @@ display_header("500: Internal Server Error"); GIF of a very confused cat. + + diff --git a/assets/errors/503.php b/assets/errors/503.php index 66de481..ba72111 100644 --- a/assets/errors/503.php +++ b/assets/errors/503.php @@ -1,4 +1,8 @@ @@ -8,3 +12,7 @@ display_header("503: Service Unavailable"); GIF of a cat going to work in a cardboard box. + + diff --git a/docs/www/blog/article.php b/docs/www/blog/article.php index 39e5f88..e0855e6 100644 --- a/docs/www/blog/article.php +++ b/docs/www/blog/article.php @@ -1,4 +1,8 @@ display_comments(); + +include_once($COMMONS."/footer.php"); ?> diff --git a/docs/www/blog/index.php b/docs/www/blog/index.php index 8856d7b..a10643c 100755 --- a/docs/www/blog/index.php +++ b/docs/www/blog/index.php @@ -1,4 +1,8 @@ diff --git a/docs/www/deleteaccount.php b/docs/www/deleteaccount.php index 7121df6..b16cac3 100644 --- a/docs/www/deleteaccount.php +++ b/docs/www/deleteaccount.php @@ -1,4 +1,8 @@ "); } + +include_once($COMMONS."/footer.php"); ?> diff --git a/docs/www/errors/403.php b/docs/www/errors/403.php index 3faf08a..b67efb9 100644 --- a/docs/www/errors/403.php +++ b/docs/www/errors/403.php @@ -1,4 +1,8 @@ @@ -8,3 +12,7 @@ display_header("403: Forbidden"); Internet meme image of a confused-looking cat with a text reading "Hey you... What are you doing here??" + + diff --git a/docs/www/errors/404.php b/docs/www/errors/404.php index 1797052..8c670e3 100644 --- a/docs/www/errors/404.php +++ b/docs/www/errors/404.php @@ -1,5 +1,9 @@
@@ -8,3 +12,7 @@ display_header("404: Not Found"); GIF of a cat hiding in a cupboard
+ + diff --git a/docs/www/errors/500.php b/docs/www/errors/500.php index 84047fd..0b2cf9d 100644 --- a/docs/www/errors/500.php +++ b/docs/www/errors/500.php @@ -1,5 +1,9 @@
@@ -8,3 +12,7 @@ display_header("500: Internal Server Error"); GIF of a very confused cat.
+ + diff --git a/docs/www/errors/503.php b/docs/www/errors/503.php index 66de481..b947580 100644 --- a/docs/www/errors/503.php +++ b/docs/www/errors/503.php @@ -1,5 +1,10 @@ +
@@ -8,3 +13,7 @@ display_header("503: Service Unavailable"); GIF of a cat going to work in a cardboard box.
+ + diff --git a/docs/www/fileupload.php b/docs/www/fileupload.php index 2a7f682..5929031 100644 --- a/docs/www/fileupload.php +++ b/docs/www/fileupload.php @@ -1,10 +1,14 @@ permissions & 128)) { header($_SERVER["SERVER_PROTOCOL"]." 403 Forbidden", true, 403); - include($_SERVER["DOCUMENT_ROOT"]."/errors/403.php"); - include($_SERVER["DOCUMENT_ROOT"]."/../common/footer.php"); + include_once($_SERVER["DOCUMENT_ROOT"]."/errors/403.php"); + include_once($COMMONS."/footer.php"); die(); } @@ -41,3 +45,7 @@ if(isset($_POST["submit"])) { + + diff --git a/docs/www/index.php b/docs/www/index.php index b1d0dce..3ede584 100755 --- a/docs/www/index.php +++ b/docs/www/index.php @@ -1,4 +1,8 @@ @@ -74,3 +78,7 @@ display_header("About"); Beauty is in the eye of the beholder and while I can appreciate this look is unusual, I really dig it. You are always free to make your own custom css for my site, of course. Hmm, now I am thinking about adding built-in customisation support, but that would require user settings, and having users makes no sense until theres some kind of user interaction like a forum, or article comments, or something like that. I will save that one for later.

+ + diff --git a/docs/www/login.php b/docs/www/login.php index 6bf6d68..1540250 100644 --- a/docs/www/login.php +++ b/docs/www/login.php @@ -1,4 +1,8 @@ + + diff --git a/docs/www/privacy.php b/docs/www/privacy.php index df80228..8e003ff 100644 --- a/docs/www/privacy.php +++ b/docs/www/privacy.php @@ -1,4 +1,8 @@ diff --git a/docs/www/random/conversions.php b/docs/www/random/conversions.php index 73272d6..83fb58e 100644 --- a/docs/www/random/conversions.php +++ b/docs/www/random/conversions.php @@ -1,4 +1,8 @@ @@ -185,3 +189,7 @@ display_header("Unit conversions"); + + diff --git a/docs/www/random/index.php b/docs/www/random/index.php index 2680dcf..586b910 100644 --- a/docs/www/random/index.php +++ b/docs/www/random/index.php @@ -1,4 +1,8 @@ @@ -12,3 +16,7 @@ display_header("Random tools"); + + diff --git a/docs/www/register.php b/docs/www/register.php index 6f34027..9ebcb28 100644 --- a/docs/www/register.php +++ b/docs/www/register.php @@ -1,4 +1,8 @@ + +