This repository has been archived on 2023-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
site/src/index.php

46 lines
1.2 KiB
PHP
Raw Normal View History

2022-11-23 20:56:06 +00:00
<!DOCTYPE html>
2022-11-26 04:40:11 +00:00
<html lang="en">
2022-11-23 20:56:06 +00:00
<head>
<?php include 'common/include.php' ?>
<title>Tyler Perkins - Home</title>
2022-11-26 01:33:57 +00:00
<link rel="stylesheet" href="index.css">
2022-11-23 20:56:06 +00:00
</head>
<body>
<?php include 'common/header.php' ?>
2022-11-26 01:33:57 +00:00
<div class="centered top-fade">
2022-12-01 22:56:59 +00:00
<!--<a class="clickable-div" href="about.php"> -->
<div class="index-item single-column tagline-link">
<h1>Hi, I'm Tyler</h1>
<p>I'm a software developer and tinkerer</p>
<?php
$remote_addr = $_SERVER['REMOTE_ADDR'];
$forwarded_addr = $_SERVER['REMOTE_ADDR'];
$home_addr = gethostbyname("gluttony.clortox.com");
if($remote_addr == $home_addr)
echo "<p>Hello from within the home network!</p>"
?>
</div>
<!--</a>-->
2022-11-26 01:33:57 +00:00
</div>
<div class="centered">
<div class="index-item soft-background articles-box">
<div>
<h3>Articles</h3>
</div>
<div>
<p>To be implemented...</p>
</div>
</div>
</div>
2022-11-23 20:56:06 +00:00
<?php include 'common/footer.php' ?>
</body>
</html>