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?

who is andrew?



contact

Email Andrew Tomaka AIM Andrew Tomaka Yahoo! Andrew Tomaka MSN Andrew Tomaka ICQ Andrew Tomaka Google Messaging Andrew Tomaka Skype Andrew Tomaka

twitter

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

github

Follow Andrew Tomaka on 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->song ?> Andrew Tomaka's Last.fm lastfm->song ?>
by lastfm->artist ?>

lastfm->time == 0) ? 'currently playing' : time_since($data->lastfm->time) . ' ago' ?>
<?php echo $data->hulu->title ?> - <?php echo $data->hulu->series ?> Andrew Tomaka's Hulu hulu->title ?>
from hulu->series ?>

hulu->time) ?> ago

games

World of Warcraft

World of Warcraft wow as $character) { echo sprintf(' ' . "\n",$character->armory,$character->class,$character->name); } ?> wow as $character) { echo sprintf(' ' . "\n",$character->spec_icon,$character->class,$character->spec_name); } ?>
%s
%s

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); } ?>