include 'notwerk_setup.php';
$title = "Links";
html_begin($title, $title);
include("/home/sites/site8/web/config_local.php");
include("/home/sites/site8/web/ADOdb/adodb.inc.php");
include("/home/sites/site8/web/global_funcs.php");
connectdb();
$roll = rand(0,169);
$res = $db->Execute("SELECT * FROM ent_humor WHERE id=$roll");
$joke=$res->fields;
if($joke[catagory] == "Quotes" || $joke[catagory] == "Jokes")
{
$jokes = str_replace("\n", '
', $joke[content]); // Replace returns for
}
?>
Random Quote
echo "$jokes"; ?>
html_end();
?>