hostname,$db_config->username,$db_config->password,$db_config->database); $links = $db->query("SELECT id,url,text,status,released_date FROM wia_links WHERE status = 2 OR status = 3 ORDER BY released_date DESC LIMIT 15"); ?> Who is Andrew?

contact

Email AIM Yahoo! MSN ICQ Google Messaging Skype

twitter

Follow me on Twitter twitter->text ?>
twitter->time != 0) { echo time_since($data->twitter->time) ?> ago

github

Committed "github->commit ?>" on github->repo ?>.

projects

project 1

random

fetch_object()) { $link_text = $link->text; $link_text = preg_replace('/\[/','',$link_text); $link_text = preg_replace('/\]/','',$link_text); echo '

' . $link_text . '

' . "\n"; } ?>

fitness

Collecting data.

media

<?php echo $data->lastfm->artist ?> - <?php echo $data->lastfm->name ?> Last.fm lastfm->song ?>
by lastfm->artist ?>

lastfm->time) ?>
<?php echo $data->hulu->title ?> - <?php echo $data->hulu->series ?> Hulu hulu->series ?>
from hulu->title ?>

hulu->time) ?> ago

games

World of Warcraft

Starcraft 2

Starcraft 2 Gaffer.888
sc2ranks->division ?>
sc2ranks->points ?> points, Rank sc2ranks->rank ?>
sc2ranks->wins ?> wins
<?php echo ucfirst($data->sc2ranks->league) ?> League

Steam

Steam Toppazz
steam->hours ?> hours in the last two weeks.
steam->recent as $game) { ?> name ?>: hours ?> hours.
 



60, 'hour' => 60 * 60, 'day' => 60 * 60 * 24, 'week' => 60 * 60 * 24 * 7, 'month' => 60 * 60 * 24 * 30, 'year' => 60 * 60 * 24 * 365, ); $now = time(); $since = $now - $time; $formatted_since = array($since,'seconds'); foreach($periods as $period => $seconds) { $quotient = floor($since / $seconds); if($quotient >= 1) $formatted_since = array($quotient,$period); else break; } if($formatted_since[0] > 1) $formatted_since[1] .= 's'; return implode(' ',$formatted_since); } ?>