commit 30000da45be2aba9cfb7151325dcdf526971ec85 Author: Cody Casteel Date: Thu Mar 13 14:49:38 2025 +0000 first diff --git a/admin/index.php b/admin/index.php new file mode 100644 index 0000000..c37c7e9 --- /dev/null +++ b/admin/index.php @@ -0,0 +1,101 @@ + + + + + + Admin Page + + + + + + +
+
+
+ +
+

IP Pheasant

+

Where the Pheasant shows all the IP!

+

Admin Panel

+
+
+
+ + + + + + + +
Total Visit Count
+ + +
+ + + +
+ + + + + + diff --git a/admin/styles.css b/admin/styles.css new file mode 100644 index 0000000..d66193b --- /dev/null +++ b/admin/styles.css @@ -0,0 +1,186 @@ +body{ + background-color: #1f2122; + color: #d9d5d0; + font-family: "semplicitapro","Helvetica Neue",Helvetica,Arial,sans-serif; + font-weight: normal !important; + margin: 0; +} + +img{ + max-width: 100%; + height: 10rem; +} + +.location{ + text-align: center; +} +.countryFlag{ + height: auto; + margin-left: .5em; +} + +.center-container { + display: flex; + justify-content: center; + font-family: "semplicitapro", sans-serif; + font-weight: 400; + font-style: normal; +} +.header { + + padding: 0; + display: flex; /* Use flexbox */ + align-items: center; /* Vertically center align items */ +} + +.logo { + max-width: 100px; + height: auto; + margin-right: 20px; +} + +.header-content { + flex: 1; /* Expand to fill available space */ +} + +.text-content { + float: left; +} + +.header-content h1, +.header-content p { + margin: 0; +} + +h1{ + font-size: 3em; + color: rgb(60, 134, 204); +} +.h2-container { + display: flex; + justify-content: center; + align-items: center; +} +h2{ + font-size: 2em; + text-align: center; + border-radius: 1rem; + background-color: #484a4d; + padding: .5rem 1.5rem; + margin: auto 0; + display: inline-block; /* Keeps the box size around the text */ +} +h3{ + font-size: 1.5em; + margin: .5rem; +} + +p{ + margin: 1rem; + font-size: 1.5em; +} + +.ipBlock{ + background-color: #2d2f31; + margin: 0 auto; + margin-bottom: 1rem; + margin-top: 1rem; + padding: 2rem; + border-radius: 2rem; + max-width: 700px; + +} +ul{list-style-type: none;} +code{ + color: #1a7092; + font-size: 1.5rem; + background-color: #2a2941; + border-radius: .5rem; + padding: .5rem 1rem; +} + +#ipv4{ + color: #990000; +} +#ipv6{ + color: rgb(10, 158, 42); +} + +table { + + border-collapse: separate; /* Use separate border model */ + border-spacing: 10px; + width: 50%; + font-size: 2em; + margin: 0 auto; + margin-top: 2.5em; +} + +th, td { + border: none; + background-color: #2d2f31; + border-radius: 10px; + padding: 8px; + margin: 10px; + text-align: left; +} + +td{ + text-align: center; +} + +#last50Table { + width: 90%; + font-size: 1.5em; +} + +.footer { + background-color: #333; + padding: 10px; + text-align: center; + position: fixed; /* Position fixed for sticking to the bottom */ + left: 0; + bottom: 0; + width: 100%; /* Occupy full width */ + font-size: .5rem; +} +@media screen and (max-width: 2000px) { + footer{ + position: unset !important; + } +} +@media screen and (max-width: 800px) { + .header{padding: 0;} + .ipBlock{ + margin: 1rem; + margin-left: 1.3rem; + padding: 1rem; + } + + h1{font-size: 2em;} + h2{ + font-size: 1.5em; + padding: .5rem 1rem;} + h3{ + margin: .5rem; + font-size: 1.5em; + } + p{ + margin: .5rem; + font-size: 1em; + } + .ip-address{margin-bottom: 1rem!important;} + code{ + font-size: 14px; + } + ul{margin-top: .5rem;} + table{ + width: 90%; + } + #last50Table { + width: 98%; + font-size: .8em; + } + + +} diff --git a/index.php b/index.php new file mode 100644 index 0000000..9f7d873 --- /dev/null +++ b/index.php @@ -0,0 +1,446 @@ + + + + + + IP Pheasant + + + + + + + + +
+
+
+ +
+

IP Pheasant

+

Where the Pheasant shows all the IP!

+
+
+
+
+
+

IPv4

+
+

Address:

+

+ None + +

+ +

ASN Info:

+

+

    +

    +
    + + +
    +
    + +
    +
    +

    IPv6

    +
    +

    Address:

    +

    + None +

    + +

    ASN Info:

    +

    +

      +

      +
      + + +
      +
      +
      + + + diff --git a/logo.png b/logo.png new file mode 100644 index 0000000..27699f1 Binary files /dev/null and b/logo.png differ diff --git a/styles.css b/styles.css new file mode 100644 index 0000000..d66193b --- /dev/null +++ b/styles.css @@ -0,0 +1,186 @@ +body{ + background-color: #1f2122; + color: #d9d5d0; + font-family: "semplicitapro","Helvetica Neue",Helvetica,Arial,sans-serif; + font-weight: normal !important; + margin: 0; +} + +img{ + max-width: 100%; + height: 10rem; +} + +.location{ + text-align: center; +} +.countryFlag{ + height: auto; + margin-left: .5em; +} + +.center-container { + display: flex; + justify-content: center; + font-family: "semplicitapro", sans-serif; + font-weight: 400; + font-style: normal; +} +.header { + + padding: 0; + display: flex; /* Use flexbox */ + align-items: center; /* Vertically center align items */ +} + +.logo { + max-width: 100px; + height: auto; + margin-right: 20px; +} + +.header-content { + flex: 1; /* Expand to fill available space */ +} + +.text-content { + float: left; +} + +.header-content h1, +.header-content p { + margin: 0; +} + +h1{ + font-size: 3em; + color: rgb(60, 134, 204); +} +.h2-container { + display: flex; + justify-content: center; + align-items: center; +} +h2{ + font-size: 2em; + text-align: center; + border-radius: 1rem; + background-color: #484a4d; + padding: .5rem 1.5rem; + margin: auto 0; + display: inline-block; /* Keeps the box size around the text */ +} +h3{ + font-size: 1.5em; + margin: .5rem; +} + +p{ + margin: 1rem; + font-size: 1.5em; +} + +.ipBlock{ + background-color: #2d2f31; + margin: 0 auto; + margin-bottom: 1rem; + margin-top: 1rem; + padding: 2rem; + border-radius: 2rem; + max-width: 700px; + +} +ul{list-style-type: none;} +code{ + color: #1a7092; + font-size: 1.5rem; + background-color: #2a2941; + border-radius: .5rem; + padding: .5rem 1rem; +} + +#ipv4{ + color: #990000; +} +#ipv6{ + color: rgb(10, 158, 42); +} + +table { + + border-collapse: separate; /* Use separate border model */ + border-spacing: 10px; + width: 50%; + font-size: 2em; + margin: 0 auto; + margin-top: 2.5em; +} + +th, td { + border: none; + background-color: #2d2f31; + border-radius: 10px; + padding: 8px; + margin: 10px; + text-align: left; +} + +td{ + text-align: center; +} + +#last50Table { + width: 90%; + font-size: 1.5em; +} + +.footer { + background-color: #333; + padding: 10px; + text-align: center; + position: fixed; /* Position fixed for sticking to the bottom */ + left: 0; + bottom: 0; + width: 100%; /* Occupy full width */ + font-size: .5rem; +} +@media screen and (max-width: 2000px) { + footer{ + position: unset !important; + } +} +@media screen and (max-width: 800px) { + .header{padding: 0;} + .ipBlock{ + margin: 1rem; + margin-left: 1.3rem; + padding: 1rem; + } + + h1{font-size: 2em;} + h2{ + font-size: 1.5em; + padding: .5rem 1rem;} + h3{ + margin: .5rem; + font-size: 1.5em; + } + p{ + margin: .5rem; + font-size: 1em; + } + .ip-address{margin-bottom: 1rem!important;} + code{ + font-size: 14px; + } + ul{margin-top: .5rem;} + table{ + width: 90%; + } + #last50Table { + width: 98%; + font-size: .8em; + } + + +}