diff --git a/blog/by_tag/index.php b/blog/by_tag/index.php index e50604d..8bf0009 100644 --- a/blog/by_tag/index.php +++ b/blog/by_tag/index.php @@ -1,6 +1,6 @@

Posts by Tag

"; echo "
"; @@ -64,5 +64,5 @@ $coloum_number++; } echo "\n"; - include_once ($_SERVER['DOCUMENT_ROOT'].'/common/footer.php'); + include_once ($_SERVER['DOCUMENT_ROOT'].'/common/php/footer.php'); ?> diff --git a/common/gallery.css b/common/css/gallery.css similarity index 100% rename from common/gallery.css rename to common/css/gallery.css diff --git a/common/jmenu.css b/common/css/jmenu.css similarity index 100% rename from common/jmenu.css rename to common/css/jmenu.css diff --git a/common/print.css b/common/css/print.css similarity index 100% rename from common/print.css rename to common/css/print.css diff --git a/common/styles.css b/common/css/styles.css similarity index 100% rename from common/styles.css rename to common/css/styles.css diff --git a/common/error_pages/403.php b/common/error_pages/403.php index 2dd9f9e..19405c9 100644 --- a/common/error_pages/403.php +++ b/common/error_pages/403.php @@ -1,6 +1,6 @@

Error 403

@@ -11,4 +11,4 @@ include_once ($_SERVER['DOCUMENT_ROOT'].'/common/menu.php');
You're not allowed here. Stop that.

- + diff --git a/common/error_pages/404.php b/common/error_pages/404.php index 70d2939..4334460 100644 --- a/common/error_pages/404.php +++ b/common/error_pages/404.php @@ -1,6 +1,6 @@

Error 404

@@ -21,4 +21,4 @@ include_once ($_SERVER['DOCUMENT_ROOT'].'/common/menu.php');

- + diff --git a/common/error_pages/500.php b/common/error_pages/500.php index 98b0ab5..17d14bf 100644 --- a/common/error_pages/500.php +++ b/common/error_pages/500.php @@ -1,10 +1,10 @@

Error 500


We done made a boo boo...

- + diff --git a/common/index.php b/common/index.php deleted file mode 100644 index f004ae0..0000000 --- a/common/index.php +++ /dev/null @@ -1,14 +0,0 @@ - diff --git a/common/font_size.js b/common/js/font_size.js similarity index 100% rename from common/font_size.js rename to common/js/font_size.js diff --git a/common/gallery.js b/common/js/gallery.js similarity index 100% rename from common/gallery.js rename to common/js/gallery.js diff --git a/common/page_format.js b/common/js/page_format.js similarity index 98% rename from common/page_format.js rename to common/js/page_format.js index d36a48f..2d61243 100644 --- a/common/page_format.js +++ b/common/js/page_format.js @@ -10,9 +10,9 @@ function format_page(){//Set the title of the page based on the main header,

- <?php $title = Title(); echo $title;?> - - - - + + + +
diff --git a/common/php/index.php b/common/php/index.php new file mode 100644 index 0000000..d1efd11 --- /dev/null +++ b/common/php/index.php @@ -0,0 +1,14 @@ + diff --git a/common/markdown.php b/common/php/markdown.php similarity index 100% rename from common/markdown.php rename to common/php/markdown.php diff --git a/common/md_read.php b/common/php/md_read.php similarity index 96% rename from common/md_read.php rename to common/php/md_read.php index 9a257bc..8d372cc 100644 --- a/common/md_read.php +++ b/common/php/md_read.php @@ -37,5 +37,5 @@ } echo "\n
\n"; } - include_once ($_SERVER['DOCUMENT_ROOT'].'/common/modal.php'); + include_once ($_SERVER['DOCUMENT_ROOT'].'/common/php/modal.php'); ?> diff --git a/common/menu.php b/common/php/menu.php similarity index 100% rename from common/menu.php rename to common/php/menu.php diff --git a/common/modal.php b/common/php/modal.php similarity index 100% rename from common/modal.php rename to common/php/modal.php diff --git a/common/page_menu.php b/common/php/page_menu.php similarity index 96% rename from common/page_menu.php rename to common/php/page_menu.php index bd5f5c1..3960ead 100644 --- a/common/page_menu.php +++ b/common/php/page_menu.php @@ -2,7 +2,7 @@

">Homepage

@@ -11,5 +11,5 @@ include_once ($_SERVER['DOCUMENT_ROOT'].'/common/menu.php');
diff --git a/license/GPLv2.php b/license/GPLv2.php index 6c3b435..328bd73 100644 --- a/license/GPLv2.php +++ b/license/GPLv2.php @@ -1,7 +1,7 @@ ".$MD_Parser->text($MD_Text); fclose($MD_File); echo "

A text version of this document can be found here.

\n"; - include ($_SERVER['DOCUMENT_ROOT'].'/common/footer.php'); + include ($_SERVER['DOCUMENT_ROOT'].'/common/php/footer.php'); ?> diff --git a/license/MIT.php b/license/MIT.php index 46d8f4f..bd46ebc 100644 --- a/license/MIT.php +++ b/license/MIT.php @@ -1,7 +1,7 @@ "; ?>

The MIT License (MIT)

@@ -15,5 +15,5 @@

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

A text version of this document can be found here.

\n"; - include ($_SERVER['DOCUMENT_ROOT'].'/common/footer.php'); + include ($_SERVER['DOCUMENT_ROOT'].'/common/php/footer.php'); ?> diff --git a/license/index.php b/license/index.php index 2888d40..19e20db 100644 --- a/license/index.php +++ b/license/index.php @@ -3,8 +3,8 @@ function display_file($license_file){ $out = file_get_contents($license_file); echo "
".$out."
"; } -include_once ($_SERVER['DOCUMENT_ROOT'].'/common/header.php'); -include_once ($_SERVER['DOCUMENT_ROOT'].'/common/menu.php'); +include_once ($_SERVER['DOCUMENT_ROOT'].'/common/php/header.php'); +include_once ($_SERVER['DOCUMENT_ROOT'].'/common/php/menu.php'); ?>

A summery of all licenses that apply to this website.

@@ -57,4 +57,4 @@ You can learn more on prismjs.com.

MIT Licensed.

- +