1
0

Use functions (not global variables) for protocol and base_url

This commit is contained in:
2014-01-24 22:44:19 -05:00
parent 98e62cf748
commit 0bcbf328da
24 changed files with 55 additions and 53 deletions

View File

@ -10,13 +10,13 @@ include("header_top.php");
<h2>The Homepage of Aaron Lindsay</h2>
<p>Welcome to my personal website!</p>
<p>Here you will find assorted digital things associated with me: a <a href="<?php echo $base_url; ?>/blog/">blog</a> about personal, technological and programming-related topics, a few of the <a href="<?php echo $base_url; ?>/projects/">projects</a> on which I have worked, and other miscellany which includes my <a href="<?php echo $base_url; ?>/resume/">resume</a>, <a href="<?php echo $base_url; ?>/calendar/">calendar</a>, and <a href="<?php echo $base_url; ?>/contact/">contact information</a>.</p>
<p>Here you will find assorted digital things associated with me: a <a href="<?php echo get_base_url(); ?>/blog/">blog</a> about personal, technological and programming-related topics, a few of the <a href="<?php echo get_base_url(); ?>/projects/">projects</a> on which I have worked, and other miscellany which includes my <a href="<?php echo get_base_url(); ?>/resume/">resume</a>, <a href="<?php echo get_base_url(); ?>/calendar/">calendar</a>, and <a href="<?php echo get_base_url(); ?>/contact/">contact information</a>.</p>
<h3>About Me</h3>
<p>The ten-word summary: I am a Lutheran Eagle Scout who enjoys <strike style="text-decoration:line-through;">tinkering with</strike> <a href="http://www.catb.org/jargon/html/H/hacker.html">hacking</a> things.</p>
</div>
<div id="sidebar">
<center><img src="<?php echo $base_url; ?>/graphics/aaron.jpg" alt="Aaron at Angel's Rest near Pearisburg, VA" title="Aaron at Angel's Rest near Pearisburg, VA" style="padding: .5em; width: 90%;" />
<center><img src="<?php echo get_base_url(); ?>/graphics/aaron.jpg" alt="Aaron at Angel's Rest near Pearisburg, VA" title="Aaron at Angel's Rest near Pearisburg, VA" style="padding: .5em; width: 90%;" />
<ul>
<li><h4 style="margin: 1em 0 .5em 0;">Find me on:</h4></li>
<li><a href="https://github.com/aclindsa">Github</a></li>