#!/usr/local/bin/perl
$allsongsfile = "/www/sethi/html/ssi/all-songs.txt";
$navbarfile         = "/www/sethi/html/ssi/navbar.html";
$footerfile         = "/www/sethi/html/ssi/commonFooter.html";
$favouritesfile     = "/www/sethi/html/ssi/song-recommendation.html";
$favourites = "";
undef $/;open(FAVE,"$favouritesfile");chomp($favourites=<FAVE>);close(FAVE);$/ = "\n";

$MPEGSPOLICY = <<"ENDMESSAGE";

<hr>

<!--
<h3>Hang on, new disk was just installed!</h3>

<B><u>Nota Bene</u>:</B> Mpegs are <b>temporarily</b> unavailable
because I just replaced my hard drive.  We are now sporting two 18.6
Gig SCSI drives on Sethi.ORG (this is wayyy up from our measly 8Gig
drive).  One 18 gig'er will serve as the permanent drive (with 11Gig
dedicated to mp3's, as opposed to 6Gig earlier).  The other 18Gig
drive will serve as a backup drive so that <i>when</i> the disk goes
down again, we'll be back up <b>without</b> that 3 day gap!  I'm
currently copying over all the songs into one location and organizing
them... hence the mp3's will be down probably the rest of the day. 

<h3>I'm having some hard disk troubles...</h3>

<B><u>Nota Bene</u>:</B> Mpegs are <b>temporarily</b> unavailable
because I seem to be having a problem with my SCSI disk.  Not the one
that houses the mp3's but the one that has the system files.  I intend
    to buy a new disk this weekend but I don't want to chance a disk
failure before I get the opportunity to put the new one in place... hence,
the mpegs have temporarily been taken down.  Sorry for the
interruption but hopefully everything should be back to normal by
Monday, July 30, 2001.
-->

<h3>Hang on a minute, please...</h3>

<B><u>Nota Bene</u>:</B> Mpegs are <b>temporarily</b> unavailable because I
    need the bandwidth for a little bit.  Sorry about that, but check
    back again in a little while and they should be back up.  If this is
    an emergency and you <i>really</i> need access to something, just
    drop me an email and I'll pop em back up asap.

<!--
<B><u>Nota Bene</u>:</B> Mpegs are <b>temporarily</b> unavailable because I
    need the bandwidth for a little bit.  Sorry about that, but I'm downloading some programs off the net using <a target="_new" href="http://www.bigredh.com">Hotlne</a> and I'll probably let that run the rest of the day.  If this is
    an emergency and you <i>really</i> need access to something, just
    drop me an email and I'll pop em back up asap.
-->

<p>

<hr>

<p>
<b><u>In the interim, here's a list of our songs</u>:</b>
<p>

ENDMESSAGE
;

	print "Content-type: text/html\n\n<html><body>\n";
        print ("<small><div align=\"left\">$favourites</div></small><p>\n");
	print "$MPEGSPOLICY";
print "<pre>\n";
    open(IN, "$allsongsfile");
    while (<IN>) {s%.*/%%;print;}
    close(IN);
print "</pre><BR>\n";
    open(SSI, "$navbarfile");
    while (<SSI>) {print;}
    close(SSI);

    open(SSI, "$footerfile");
    while (<SSI>) {print;}
    close(SSI);
    
    print "</body></html>\n";

	exit;

__END__
