Bah. I’m almost done with one part out of three bits of math homework.
Then I shall go to sleep. Maybe. Or do more math homework. Or actually do my Poli Sci reading… It majorly needs doing, since it’s my first sub tomorrow, at 940. Poop.
Then I’ll have to find a copy of one of those Sociology movies so I can write my paper… which, conviniently, is due on Tuesday.
Someone has obviously been doing a lot of procrastinating. :lalala::crazy:
$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, September 26th, 2004 at 1:21 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 “Deadness”
No comments yet
Leave a Reply