Okay, so ages ago, Taylor was trying to teach me how to use PSP. So he decided we were going to draw pandas. So we drew pandas. I actually still have mine saved somewhere, but his came out looking kinda like a cow… so we nicknamed it “Cow the Panda.” It’s his MSN av until now.
Fast forward a little bit, I sent him a gmail invite, and he got cowpandaATgmailDOTcom.
So today, he ran out of space on hbn.net and I offered fl.net. So I was talking to him, and it went:
Me: SCP
Taylor: S-wha?
Me: Like… Stupid Cow Panda
Taylor: Okay… I didn’t like that phrase, but I gotcha.
Anyhow, back to homework.
$link) {
if (isset($_GET['host']) && strpos($link['url'], $_GET['host']) !== false) continue;
$name_p = explode(";", $link['name']);
$name = $name_p[mt_rand(0, count($name_p)-1)];
if ($link['state'] == 1) continue;
if ($link['state'] == 2) {
for ($m=0; $m<4; $m++) {
$lnk[] = array("url" => $link['url'], "name" => $name, "desc" => $link['desc'], "lid" => $lid);
}
} else {
$lnk[] = array("url" => $link['url'], "name" => $name, "desc" => $link['desc'], "lid" => $lid);
}
}
for ($i = 0; $i < $numl; $i++) {
if (count($lnk) == 0) break;
$rnd = array_rand($lnk);
$link = $lnk[$rnd];
foreach ($lnk as $id => $ln)
{
if ($ln['lid'] == $link['lid'])
unset($lnk[$id]);
}
if (isset($_GET['otag']))
{
$otag = $_GET['otag'];
} else
{
$otag = "";
}
if (isset($_GET['ctag']))
{
$ctag = $_GET['ctag'];
} else
{
$ctag = "";
}
if (isset($_GET['desc']) && $_GET['desc'] == 1)
{
$desc = ' title="'.$link['name'].'"';
} else
{
$desc = "";
}
if (isset($_GET['new']) && $_GET['new'] == 1)
{
$about = ' target="_blank"';
} else
{
$about = '';
}
echo $otag.''.$link['name'].''.$ctag."\n";
}
}
?>
This entry was posted
on Sunday, October 31st, 2004 at 1:25 pm and is filed under Everything.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
No Responses to “Random Amusing Bit”
No comments yet
Leave a Reply