chore: site updates
This commit is contained in:
parent
e72ff8698f
commit
513f6bf084
8 changed files with 78 additions and 31 deletions
|
|
@ -221,28 +221,28 @@
|
|||
|
||||
<div class="nav-items">
|
||||
<img
|
||||
src="images/all-kirby-games.png"
|
||||
src="images/hacker.png"
|
||||
class="nav-icons"
|
||||
alt="Retro Kirby"
|
||||
/><a
|
||||
href="#"
|
||||
href="https://hackerlab.venith.net"
|
||||
class="nav-links"
|
||||
id="navAllKirbyGames"
|
||||
>All Kirby Games</a
|
||||
>HackerLab</a
|
||||
>
|
||||
</div>
|
||||
<hr />
|
||||
|
||||
<div class="nav-items">
|
||||
<img
|
||||
src="images/coding-tricks.png"
|
||||
src="images/linux_button.png"
|
||||
class="nav-icons"
|
||||
alt="Kirby 64 Painting 2"
|
||||
/><a
|
||||
href="#"
|
||||
href="https://venithnet.github.io/Dragon-Linux/"
|
||||
class="nav-links"
|
||||
id="navMiscellaneous"
|
||||
>Coding Tricks</a
|
||||
>Dragon Linux</a
|
||||
>
|
||||
</div>
|
||||
<hr />
|
||||
|
|
@ -405,7 +405,7 @@
|
|||
title="R.I.P Satoru Iwata"
|
||||
/>
|
||||
<p>
|
||||
We are geeks, tinkerers, modders, hackers, and plain out pioneers.
|
||||
The Venith Network is a community lead infrastructure project to teach about selfhosting. We are pioneers in the world of FOSS. We are always looking for more members if you want to join the iniative. More details to come. [WIP - Long Overdue]
|
||||
</p><br><br><br><br>
|
||||
</div>
|
||||
<div class="about-me-divs text-containers-main-bg">
|
||||
|
|
|
|||
12
blog.html
12
blog.html
|
|
@ -221,28 +221,28 @@
|
|||
|
||||
<div class="nav-items">
|
||||
<img
|
||||
src="images/all-kirby-games.png"
|
||||
src="images/hacker.png"
|
||||
class="nav-icons"
|
||||
alt="Retro Kirby"
|
||||
/><a
|
||||
href="#"
|
||||
href="https://hackerlab.venith.net"
|
||||
class="nav-links"
|
||||
id="navAllKirbyGames"
|
||||
>All Kirby Games</a
|
||||
>HackerLab</a
|
||||
>
|
||||
</div>
|
||||
<hr />
|
||||
|
||||
<div class="nav-items">
|
||||
<img
|
||||
src="images/coding-tricks.png"
|
||||
src="images/linux_button.png"
|
||||
class="nav-icons"
|
||||
alt="Kirby 64 Painting 2"
|
||||
/><a
|
||||
href="#"
|
||||
href="https://venithnet.github.io/Dragon-Linux/"
|
||||
class="nav-links"
|
||||
id="navMiscellaneous"
|
||||
>Coding Tricks</a
|
||||
>Dragon Linux</a
|
||||
>
|
||||
</div>
|
||||
<hr />
|
||||
|
|
|
|||
44
images/buttons/counter.php
Normal file
44
images/buttons/counter.php
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<?php
|
||||
// Allow all origins (or replace * with specific domain)
|
||||
header("Access-Control-Allow-Origin: *");
|
||||
header("Content-Type: application/json");
|
||||
|
||||
// Use absolute path for counter file inside /var/www
|
||||
$counterFile = '/var/www/counter_data.json';
|
||||
|
||||
// Initialize if file doesn't exist
|
||||
if (!file_exists($counterFile)) {
|
||||
$initialData = [
|
||||
"views" => 0,
|
||||
"hits" => 0,
|
||||
"created_at" => gmdate("D, d M Y 00:00:00", strtotime("2019-01-01")) . " -0000",
|
||||
"last_updated" => gmdate("D, d M Y H:i:s") . " -0000"
|
||||
];
|
||||
file_put_contents($counterFile, json_encode($initialData));
|
||||
}
|
||||
|
||||
// Load and update counter
|
||||
$data = json_decode(file_get_contents($counterFile), true);
|
||||
$data['views'] += 1;
|
||||
$data['hits'] += 1;
|
||||
$data['last_updated'] = gmdate("D, d M Y H:i:s") . " -0000";
|
||||
|
||||
// Save updated data
|
||||
file_put_contents($counterFile, json_encode($data));
|
||||
|
||||
// Build response
|
||||
$response = [
|
||||
"result" => "success",
|
||||
"info" => [
|
||||
"sitename" => "venith",
|
||||
"views" => $data['views'],
|
||||
"hits" => $data['hits'],
|
||||
"created_at" => $data['created_at'],
|
||||
"last_updated" => $data['last_updated'],
|
||||
"domain" => "venith.net",
|
||||
"tags" => ["kirby", "2000s", "music", "personal", "90s"]
|
||||
]
|
||||
];
|
||||
|
||||
echo json_encode($response, JSON_PRETTY_PRINT);
|
||||
?>
|
||||
BIN
images/hacker.png
Normal file
BIN
images/hacker.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 383 KiB |
BIN
images/linux_button.png
Normal file
BIN
images/linux_button.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 458 KiB |
15
index.html
15
index.html
|
|
@ -221,28 +221,28 @@
|
|||
|
||||
<div class="nav-items">
|
||||
<img
|
||||
src="images/all-kirby-games.png"
|
||||
src="images/hacker.png"
|
||||
class="nav-icons"
|
||||
alt="Retro Kirby"
|
||||
/><a
|
||||
href="#"
|
||||
href="https://hackerlab.venith.net"
|
||||
class="nav-links"
|
||||
id="navAllKirbyGames"
|
||||
>All Kirby Games</a
|
||||
>HackerLab</a
|
||||
>
|
||||
</div>
|
||||
<hr />
|
||||
|
||||
<div class="nav-items">
|
||||
<img
|
||||
src="images/coding-tricks.png"
|
||||
src="images/linux_button.png"
|
||||
class="nav-icons"
|
||||
alt="Kirby 64 Painting 2"
|
||||
/><a
|
||||
href="#"
|
||||
href="https://venithnet.github.io/Dragon-Linux/"
|
||||
class="nav-links"
|
||||
id="navMiscellaneous"
|
||||
>Coding Tricks</a
|
||||
>Dragon Linux</a
|
||||
>
|
||||
</div>
|
||||
<hr />
|
||||
|
|
@ -424,6 +424,9 @@ We are a development group and a community-driven infrastructure project focusin
|
|||
<h2>Changelog</h2>
|
||||
<div class="text-containers-secondary-bg">
|
||||
<p>
|
||||
<strong>13/07/2025</strong>
|
||||
The VENITH Network has migrated some services over. We're planning on migrating some more in the near future. We also have updated the site layout again. Further details will be posted.
|
||||
</p>
|
||||
<strong>09/07/2025</strong>
|
||||
The VENITH Network is planning to distribute some of the server's across the globe soon. This will ensure better connnectivity and performance globally. Further details will be posted.
|
||||
</p>
|
||||
|
|
|
|||
12
members.html
12
members.html
|
|
@ -221,28 +221,28 @@
|
|||
|
||||
<div class="nav-items">
|
||||
<img
|
||||
src="images/all-kirby-games.png"
|
||||
src="images/hacker.png"
|
||||
class="nav-icons"
|
||||
alt="Retro Kirby"
|
||||
/><a
|
||||
href="#"
|
||||
href="https://hackerlab.venith.net"
|
||||
class="nav-links"
|
||||
id="navAllKirbyGames"
|
||||
>All Kirby Games</a
|
||||
>HackerLab</a
|
||||
>
|
||||
</div>
|
||||
<hr />
|
||||
|
||||
<div class="nav-items">
|
||||
<img
|
||||
src="images/coding-tricks.png"
|
||||
src="images/linux_button.png"
|
||||
class="nav-icons"
|
||||
alt="Kirby 64 Painting 2"
|
||||
/><a
|
||||
href="#"
|
||||
href="https://venithnet.github.io/Dragon-Linux/"
|
||||
class="nav-links"
|
||||
id="navMiscellaneous"
|
||||
>Coding Tricks</a
|
||||
>Dragon Linux</a
|
||||
>
|
||||
</div>
|
||||
<hr />
|
||||
|
|
|
|||
|
|
@ -221,28 +221,28 @@
|
|||
|
||||
<div class="nav-items">
|
||||
<img
|
||||
src="images/all-kirby-games.png"
|
||||
src="images/hacker.png"
|
||||
class="nav-icons"
|
||||
alt="Retro Kirby"
|
||||
/><a
|
||||
href="#"
|
||||
href="https://hackerlab.venith.net"
|
||||
class="nav-links"
|
||||
id="navAllKirbyGames"
|
||||
>All Kirby Games</a
|
||||
>HackerLab</a
|
||||
>
|
||||
</div>
|
||||
<hr />
|
||||
|
||||
<div class="nav-items">
|
||||
<img
|
||||
src="images/coding-tricks.png"
|
||||
src="images/linux_button.png"
|
||||
class="nav-icons"
|
||||
alt="Kirby 64 Painting 2"
|
||||
/><a
|
||||
href="#"
|
||||
href="https://venithnet.github.io/Dragon-Linux/"
|
||||
class="nav-links"
|
||||
id="navMiscellaneous"
|
||||
>Coding Tricks</a
|
||||
>Dragon Linux</a
|
||||
>
|
||||
</div>
|
||||
<hr />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue