And I finally have tons of stuff to do. 
I have like a bazillion things to read and an essay to rewrite for tomorrow morning. Graaaaaaaah. I suppose that if I keep myself off of the computer and away from MSN and DW I’ll be fine. But that’s an if, a major one.
Well I haven’t done anything the whole day. I had Calculus in the morning, which tied up the morning, then Writing stuff in the afternoon… which pretty much tied up the afternoon. And I shall be a good kid and do my writing homework after dinner… and hopefully get myself online after that… when the people I wanna talk to get online anyway.
I’m off in the meantime in an attempt to convince myself to take a shower before dinner.
$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 Wednesday, June 23rd, 2004 at 12:03 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 “Writing lessons”
No comments yet
Leave a Reply