From 9a54dc351e2f42fcb587e557633d079b131fc49a Mon Sep 17 00:00:00 2001 From: Nathan Young Date: Wed, 30 Sep 2026 16:45:52 -0600 Subject: [PATCH] Got header, footer, and navbar all working with php --- includes/all.php | 182 ++++++++++++++++++++++++ index.html => index.html.bak | 1 + index.php | 216 +++++++++++++++++++++++++++++ projects/{index.html => index.php} | 14 +- projects/python_website/index.php | 12 ++ 5 files changed, 417 insertions(+), 8 deletions(-) create mode 100644 includes/all.php rename index.html => index.html.bak (99%) create mode 100644 index.php rename projects/{index.html => index.php} (98%) create mode 100644 projects/python_website/index.php diff --git a/includes/all.php b/includes/all.php new file mode 100644 index 0000000..51c29ce --- /dev/null +++ b/includes/all.php @@ -0,0 +1,182 @@ + + + + + " . $title . " + "; +} +function footer() { + return " + "; +} + +function navbar($highlighted_box) { + + $selected = " +
+ + "; + $unselected = " + + + Services + + + + + " . ($highlighted_box == 4 ? $selected : $unselected) . " + + +
+ + Certificates + + + + + " . ($highlighted_box == 5 ? $selected : $unselected) . " + + + + + Socials + + + + + +
+ + + Login + +
+ + + + "; +} + +function winamp() { + return " +
+ + "; +} + +function create_profile_dirs() { + if (!is_dir("/account_uploads/".$_SESSION['username']."_uploads/")) mkdir("/account_uploads/".$_SESSION['username']."_uploads/", 0766); +} +?> \ No newline at end of file diff --git a/index.html b/index.html.bak similarity index 99% rename from index.html rename to index.html.bak index 21b7d56..84a404c 100644 --- a/index.html +++ b/index.html.bak @@ -4,6 +4,7 @@ + Home
diff --git a/index.php b/index.php new file mode 100644 index 0000000..7a4784c --- /dev/null +++ b/index.php @@ -0,0 +1,216 @@ + + + + + + + +
+
+ +
+

Pizza2d1's Project Showcase

+

+ We suck big dick because we can +

+ +
+ + + + +
+
+
+ +
+ +

+ Services +

+

+ A complete developer toolkit with powerful APIs, comprehensive documentation, and enterprise-grade infrastructure. +

+
+ + +
+ +
+
+
+
+ + + +
+

Modular Architecture

+

+ Build with composable modules that scale independently and integrate seamlessly with your existing stack. +

+
+
+ Code on screen +
+
+
+ + +
+
+
+ + + +
+

Type Safety

+

+ Full TypeScript support with auto-generated types for bulletproof development. +

+
+ + Learn More + + + + +
+ + +
+
+ + + +
+

REST & GraphQL

+

+ Choose your preferred API style with full support for both endpoints. +

+
+ +
+
+ + + +
+

Rich Documentation

+

+ Comprehensive guides and tutorials to get you started quickly. +

+
+ +
+
+ + + +
+

Plugin System

+

+ Extend functionality with community and official plugins. +

+
+ + +
+
+

24/7 Enterprise Support

+

Dedicated engineers with guaranteed response times for your team.

+
+ + Contact Sales + +
+
+
+
+ + + + \ No newline at end of file diff --git a/projects/index.html b/projects/index.php similarity index 98% rename from projects/index.html rename to projects/index.php index e8ffe17..6ca00aa 100644 --- a/projects/index.html +++ b/projects/index.php @@ -1,14 +1,12 @@ + - + - - - - - Document - - + +
diff --git a/projects/python_website/index.php b/projects/python_website/index.php new file mode 100644 index 0000000..0dbe256 --- /dev/null +++ b/projects/python_website/index.php @@ -0,0 +1,12 @@ + + + + + + + + + + \ No newline at end of file