Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Small changes and bugfixes from OSDN coding frenzy.

  • Loading branch information...
commit a959e738b33f01b6e60357444dd5c505da59736b 1 parent 511f638
@pudge pudge authored
View
4 Bundle/Slash.pm
@@ -1,6 +1,6 @@
package Bundle::Slash;
-$Bundle::Slash::VERSION = '1.0.6';
+$Bundle::Slash::VERSION = '1.0.7';
1;
@@ -22,6 +22,8 @@ Bundle::LWP - URI,HTML::Parser,MIME::Base64
Bundle::DBI - Storable
+DBI::FAQ
+
Bundle::DBD::mysql - Data::ShowTable
Date::Parse - TimeDate
View
43 Slash.pm
@@ -532,9 +532,7 @@ sub getUser {
}
# Do we want the index stuff?
- if (!$ENV{SCRIPT_NAME} || $ENV{SCRIPT_NAME} =~ /index/) {
- getExtraStuff('index');
- }
+ getExtraStuff('index');
} else {
getAnonCookie();
@@ -677,7 +675,7 @@ sub setCookie {
my %cookie = (
-name => $name,
-path => $I{cookiepath},
- -value => $val,
+ -value => $val || '',
);
$cookie{-expires} = '+1y' unless $session;
@@ -969,7 +967,7 @@ EOT
$cursor->finish;
return $tablestuff if $notable;
- fancybox(200, 'Poll', $tablestuff, 'c');
+ fancybox($I{fancyboxwidth}, 'Poll', $tablestuff, 'c');
}
@@ -1527,18 +1525,14 @@ EOT
########################################################
sub getAd {
- return "<!--#perl sub=\"sub { require Slash; use Slash; print Slash::getAd(); }\" -->"
+ my $num = $_[0] || 1;
+
+ return qq|<!--#perl sub="sub { use Slash; print Slash::getAd($num); }" -->|
unless $ENV{SCRIPT_NAME};
anonLog() unless $ENV{SCRIPT_NAME} =~ /\.pl/; # Log non .pl pages
- my $ad .= <<EOT;
-<center>
-$ENV{AD_BANNER_1}
-</center>
-<p>
-EOT
- return $ad;
+ return $ENV{"AD_BANNER_$num"};
}
########################################################
@@ -1603,7 +1597,7 @@ EOT
}
if ($I{run_ads}) {
- $adhtml = getAd();
+ $adhtml = getAd(1);
}
my $topics;
@@ -1692,8 +1686,17 @@ sub fancybox {
my($width, $title, $contents) = @_;
return unless $title && $contents;
- my $mainwidth = $width-4;
+ my $tmpwidth = $width;
+ my $pct = 1 if $tmpwidth =~ s/%$//;
+ # used in some blocks
+ my $mainwidth = $tmpwidth-4;
my $insidewidth = $mainwidth-8;
+ if ($pct) {
+ for ($mainwidth, $insidewidth) {
+ $_ .= '%';
+ }
+ }
+
my $execme = getWidgetBlock('fancybox');
print eval $execme;
print "\nError:$@\n" if $@;
@@ -1716,8 +1719,16 @@ sub portalbox {
my $execme = getWidgetBlock('portalmap');
$title = eval $execme if $bid;
- my $mainwidth = $width-4;
+ my $tmpwidth = $width;
+ my $pct = 1 if $tmpwidth =~ s/%$//;
+ # used in some blocks
+ my $mainwidth = $tmpwidth-4;
my $insidewidth = $mainwidth-8;
+ if ($pct) {
+ for ($mainwidth, $insidewidth) {
+ $_ .= '%';
+ }
+ }
$execme = getWidgetBlock('fancybox');
my $e = eval $execme;
View
55 contrib/recentcomm
@@ -1,8 +1,13 @@
-#!/usr/bin/perl -w
+#!/usr/bin/perl -sw
# get recent comments
-# pudge@pobox.com, 2000.06.02
+# pudge@pobox.com, 2000.06.02 - 2000.08.14
+# call with -sid to print by sid, not just date
+# call with -cid to direct URL to specific CID, not entire article
+
+use vars qw(@a $sid $cid %I);
use lib '..';
+use strict;
use Slash;
*I = getSlashConf;
@@ -12,33 +17,61 @@ my $comm = sqlSelectMany(
'', 'ORDER BY date DESC LIMIT ' . (shift || 30)
);
-my $len = 38 + length($I{rootdir});
+my($cidlink, $scriptname, $baselen);
+if ($cid) {
+ $cidlink = '&cid=';
+ $scriptname = 'comments';
+ $baselen = 43;
+} else {
+ $cidlink = '#';
+ $scriptname = 'article';
+ $baselen = 38;
+}
+my $len = $baselen + length($I{rootdir});
my $lines = '-' x $len;
my $lts = '<' x ($len-3);
+my(%sids, %dates);
init();
-while (@a = $comm->fetchrow) {
- push @a, "$I{rootdir}/article.pl?sid=$a[0]#$a[1]";
- write;
+while (my @data = $comm->fetchrow) {
+ my $cidlink =
+ @a = (@data, "$I{rootdir}/$scriptname.pl?sid=$data[0]$cidlink$data[1]");
+ if ($sid) {
+ push @{$sids{$data[0]}}, [@a];
+ $dates{$data[0]} = $data[3]
+ if !$dates{$data[0]}
+ || $dates{$data[0]} lt $data[3];
+ } else {
+ write;
+ }
+}
+
+if ($sid) {
+ for my $sid (sort { $dates{$b} cmp $dates{$a} } keys %dates) {
+ for (sort { $b->[0] cmp $a->[0] } @{$sids{$sid}}) {
+ @a = @$_;
+ write;
+ }
+ }
}
print <<EOT; # footer
-+------------------+--------+-------+---------------------+$lines+
++------------------+------+-------+---------------------+$lines+
EOT
sub init {
eval <<EOT;
format STDOUT_TOP =
-+------------------+--------+-------+---------------------+$lines+
-| sid | cid | uid | date | url${\(' ' x ($len-4))}|
-+------------------+--------+-------+---------------------+$lines+
++------------------+------+-------+---------------------+$lines+
+| sid | cid | uid | date | url${\(' ' x ($len-4))}|
++------------------+------+-------+---------------------+$lines+
.
EOT
eval <<EOT;
format STDOUT =
-| \@<<<<<<<<<<<<<<< | \@<<<<< | \@<<<< | \@<<<<<<<<<<<<<<<<<< | \@$lts |
+| \@<<<<<<<<<<<<<<< | \@<<< | \@<<<< | \@<<<<<<<<<<<<<<<<<< | \@$lts |
\@a
.
EOT
View
14 dailyStuff
@@ -27,6 +27,8 @@
###############################################################################
use strict;
use vars '%I';
+use File::Basename;
+use File::Path;
use Slash;
*I = getSlashConf();
@@ -157,7 +159,7 @@ for (@{$E}) {
"$I{basedir}/$section/$sid"."_F.shtml");
unlink("$I{basedir}/$section/$sid.shtml")
- or die "Can't unlink $I{basedir}/$section/$sid.shtml: $!";
+ or warn "Can't unlink $I{basedir}/$section/$sid.shtml: $!";
symlink("$I{basedir}/$section/${sid}_F.shtml", "$I{basedir}/$section/$sid.shtml")
or die "Can't symlink $I{basedir}/$section/${sid}_F.shtml -> $sid.shtml";
$I{dbh}->do("DELETE FROM comments WHERE sid='$sid'");
@@ -224,18 +226,14 @@ EOT
sub prog2file {
my($c, $f) = @_;
-# print "$c $f\n";
-
my $d = `$c`;
- $d =~ s/[\t\n\r\s ]+/ /g;
+ my $dir = dirname($f);
+ mkpath($dir, 0, 0755) unless -e $dir;
if (length($d) > 0) {
+ local *F;
open F, ">$f" or die "Can't open $f: $!";
print F $d;
close F;
- # Do some scp's
- # system("scp $d root@linux360.dn.net:$d");
- # system("scp $d root@linux361.dn.net:$d");
- # system("scp $d root@linux362.dn.net:$d"); # Only do 362 first!
return "1";
} else {
View
17 public_html/admin.pl
@@ -745,19 +745,19 @@ sub colorEdit {
<TR>
<TD>Background color 1 \$I{bg}[1]</TD>
<TD><INPUT TYPE="TEXT" WIDTH="12" NAME="bg1" VALUE="$colors[5]"></TD>
- <TD><FONT FACE="ARIAL,HELVETICA" SIZE="+1" COLOR="$colors[5]">Background color 1 \$I{fg}[1]</FONT></TD>
+ <TD><FONT FACE="ARIAL,HELVETICA" SIZE="+1" COLOR="$colors[5]">Background color 1 \$I{bg}[1]</FONT></TD>
<TD BGCOLOR="$colors[5]">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TD>
<TR>
<TD>Background color 2 \$I{bg}[2]</TD>
<TD><INPUT TYPE="TEXT" WIDTH="12" NAME="bg2" VALUE="$colors[6]"></TD>
- <TD><FONT FACE="ARIAL,HELVETICA" SIZE="+1" COLOR="$colors[6]">Background color 2 \$I{fg}[2]</FONT></TD>
+ <TD><FONT FACE="ARIAL,HELVETICA" SIZE="+1" COLOR="$colors[6]">Background color 2 \$I{bg}[2]</FONT></TD>
<TD BGCOLOR="$colors[6]">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR>
<TD>Background color 3 \$I{bg}[3]</TD>
<TD><INPUT TYPE="TEXT" WIDTH="12" NAME="bg3" VALUE="$colors[7]"></TD>
- <TD><FONT FACE="ARIAL,HELVETICA" SIZE="+1" COLOR="$colors[7]">Background color 3 \$I{fg}[3]</FONT></TD>
+ <TD><FONT FACE="ARIAL,HELVETICA" SIZE="+1" COLOR="$colors[7]">Background color 3 \$I{bg}[3]</FONT></TD>
<TD BGCOLOR="$colors[7]">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR>
@@ -1183,7 +1183,7 @@ sub editstory {
$S->{relatedtext} = getRelated("$S->{title} $S->{bodytext} $S->{introtext}")
. otherLinks($S->{aid}, $S->{tid});
- fancybox(200, 'Related Links', $S->{relatedtext});
+ fancybox($I{fancyboxwidth}, 'Related Links', $S->{relatedtext});
$I{query}->param('relatedtext', $S->{relatedtext});
$I{query}->hidden('relatedtext');
@@ -1202,7 +1202,7 @@ sub editstory {
$I{currentSection} = $tmp;
print '</TD><TD WIDTH="220" VALIGN="TOP">';
- fancybox(200,'Related Links', $S->{relatedtext});
+ fancybox($I{fancyboxwidth},'Related Links', $S->{relatedtext});
$I{query}->param('relatedtext', $S->{relatedtext});
print '</TD></TR></TABLE>';
@@ -1313,14 +1313,15 @@ sub editstory {
print <<EOT;
Extended Copy<BR>
- <TEXTAREA NAME="bodytext" COLS="70" WRAP="VIRTUAL" ROWS="10">$bodytext</TEXTAREA><BR>
-Import Image (don't even both trying this yet :)<BR>
- <INPUT TYPE="file" NAME="importme"><BR>
+ <TEXTAREA NAME="bodytext" COLS="70" WRAP="VIRTUAL" ROWS="40">$bodytext</TEXTAREA><BR>
<!-- end edit story -->
EOT
+#Import Image (don't even both trying this yet :)<BR>
+# <INPUT TYPE="file" NAME="importme"><BR>
+
editbuttons($newarticle);
}
View
8 public_html/article.pl
@@ -80,10 +80,10 @@ sub main {
pollbooth($I{F}{sid}) if sqlSelect('qid', 'pollquestions', "qid='$S->{sid}'");
# Related Links
- fancybox(200, 'Related Links', $S->{relatedtext});
+ fancybox($I{fancyboxwidth}, 'Related Links', $S->{relatedtext});
# Display this section's Section Block (if Found)
- fancybox(200, $SECT->{title}, getblock($SECT->{section}));
+ fancybox($I{fancyboxwidth}, $SECT->{title}, getblock($SECT->{section}));
print qq!</TD></TR><TR><TD COLSPAN="3">\n!;
@@ -156,7 +156,7 @@ sub pleaseLogin {
my $block = eval prepBlock getblock('userlogin');
$block =~ s/index\.pl/article.pl?sid=$I{F}{sid}/;
$block =~ s/\$I{rootdir}/$I{rootdir}/g;
- fancybox(200, "$I{sitename} Login", $block);
+ fancybox($I{fancyboxwidth}, "$I{sitename} Login", $block);
}
##################################################################
@@ -192,7 +192,7 @@ sub yourArticle {
$m .= "<P> $I{U}{mylinks} ";
- fancybox(200, $I{U}{aid} || $I{U}{nickname}, $m);
+ fancybox($I{fancyboxwidth}, $I{U}{aid} || $I{U}{nickname}, $m);
}
##################################################################
View
4 public_html/cheesyportal.pl
@@ -52,14 +52,14 @@ sub main {
my $b;
while (my($block, $title, $bid, $url) = $c->fetchrow) {
if ($bid eq "mysite") {
- $b = portalbox(200, "$I{U}{nickname}'s Slashbox",
+ $b = portalbox($I{fancyboxwidth}, "$I{U}{nickname}'s Slashbox",
$I{U}{mylinks} || $block
);
} elsif ($bid =~ /_more$/) {
} elsif ($bid eq "userlogin") {
} else {
- $b = portalbox(200, $title, $block, "", $url);
+ $b = portalbox($I{fancyboxwidth}, $title, $block, "", $url);
}
print $b;
View
16 public_html/index.pl
@@ -41,9 +41,11 @@ sub main {
# $I{F}{mode} = $I{U}{mode}="dynamic" if $ENV{SCRIPT_NAME};
for ($I{F}{op}) {
- /^u$/ and upBid($I{F}{bid});
- /^d$/ and dnBid($I{F}{bid});
- /^x$/ and rmBid($I{F}{bid});
+ my $c;
+ upBid($I{F}{bid}), $c++ if /^u$/;
+ dnBid($I{F}{bid}), $c++ if /^d$/;
+ rmBid($I{F}{bid}), $c++ if /^x$/;
+ redirect($ENV{SCRIPT_NAME}) if $c;
}
my $SECT = getSection($I{F}{section});
@@ -176,12 +178,12 @@ sub displayStandardBlocks {
foreach my $bid (@boxes) {
if ($bid eq 'mysite') {
print portalbox(
- 200, "$I{U}{nickname}'s Slashbox",
+ $I{fancyboxwidth}, "$I{U}{nickname}'s Slashbox",
$I{U}{mylinks} || 'This is your user space. Love it.',
$bid
);
} elsif ($bid =~ /_more$/) {
- print portalbox(200,"Older Stuff",
+ print portalbox($I{fancyboxwidth},"Older Stuff",
getOlderStories($olderStuff, $SECT),
$bid) if $olderStuff;
} elsif ($bid eq "userlogin" && $I{U}{uid} > 0) {
@@ -189,11 +191,11 @@ sub displayStandardBlocks {
} elsif ($bid eq "userlogin") {
my $SB = $I{boxBank}{$bid};
my $B = eval prepBlock $I{blockBank}{$bid};
- print portalbox(200, $SB->{title}, $B, $SB->{bid}, $SB->{url});
+ print portalbox($I{fancyboxwidth}, $SB->{title}, $B, $SB->{bid}, $SB->{url});
} else {
my $SB = $I{boxBank}{$bid};
my $B = $I{blockBank}{$bid};
- print portalbox(200, $SB->{title}, $B, $SB->{bid}, $SB->{url});
+ print portalbox($I{fancyboxwidth}, $SB->{title}, $B, $SB->{bid}, $SB->{url});
}
}
}
View
4 public_html/users.pl
@@ -162,7 +162,7 @@ sub checkList {
my $string = shift;
$string = substr($string, 0, -1);
- $string =~ s/[^\w,]//g;
+ $string =~ s/[^\w,-]//g;
my @e = split m/,/, $string;
$string = sprintf "'%s'", join "','", @e;
@@ -204,7 +204,7 @@ sub previewSlashbox {
print qq!</TD><TD WIDTH="180" VALIGN="TOP">!;
- print portalbox("200", $title, $content, "", $url);
+ print portalbox($I{fancyboxwidth}, $title, $content, "", $url);
}
#################################################################
View
1  slashdotrc.pl
@@ -55,6 +55,7 @@
approvedtags => [qw(B I P A LI OL UL EM BR TT STRONG BLOCKQUOTE DIV)],
defaultsection => 'articles', # default section for articles
http_proxy => '', # 'http://proxy.example.com/'
+ fancyboxwidth => 200,
# this controls the life of %storyBank
story_expire => 600,
View
2  sql/predata_dump.pl
@@ -8,7 +8,7 @@
open(DUMP,"<./slashdata_dump.sql") or die "can't locate slashdata_dump.sql! Where is it?";
while(<DUMP>) {
- s/www\.yoursite\.com/$hostname/g;
+ s/(?:www\.)?example\.com/$hostname/g;
$newdump .= $_;
}
close(DUMP);
View
44 sql/slashdata_dump.sql
@@ -12,8 +12,8 @@
# Dumping data for table 'authors'
#
-INSERT INTO authors VALUES ('author2','test author 2','http://www.yoursite.com','author2@yoursite.com','test quote','test copy','change',10000,'','',0,'author2');
-INSERT INTO authors VALUES ('author1','test author','http://www.yoursite.com','author1@yoursite.com','test quote','test copy','change',10000,'','',0,'author1');
+INSERT INTO authors VALUES ('author2','test author 2','http://www.example.com','author2@example.com','test quote','test copy','change',10000,'','',0,'author2');
+INSERT INTO authors VALUES ('author1','test author','http://www.example.com','author1@example.com','test quote','test copy','change',10000,'','',0,'author1');
INSERT INTO authors VALUES ('God','God','mailto:god@god.gov','god@god.gov','','','pete',10000,'','',0,'god');
INSERT INTO authors VALUES ('','All Authors',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL);
@@ -22,7 +22,7 @@ INSERT INTO authors VALUES ('','All Authors',NULL,NULL,NULL,NULL,NULL,NULL,NULL,
#
INSERT INTO blocks VALUES ('features','<!-- begin features block -->\r\nThis is a place where you can put linkage to important stories\r\nthat you have on your site. Or else you can just link some porn.\r\nYou can edit this space easily by just logging into backSlash, clicking\r\n\'Blocks\' from the admin menu, and editing the block named \'features\'.\r\n<!-- end features block -->\r\n\r\n','',500,'',NULL,'<!-- begin features block -->\r\nThis is a place where you can put linkage to important stories\r\nthat you have on your site. Or else you can just link some porn.\r\nYou can edit this space easily by just logging into backSlash, clicking\r\n\'Blocks\' from the admin menu, and editing the block named \'features\'.\r\n<!-- end features block -->\r\n\r\n');
-INSERT INTO blocks VALUES ('topics',' <TD><A HREF=\"http://www.yoursite.com/search.pl?topic=news\"><IMG\n SRC=\"http://www.yoursite.com/images/topics/topicnews.gif\" WIDTH=\"34\" HEIGHT=\"44\"\n BORDER=\"0\" ALT=\"News\"></A>\n </TD>\n\n <TD><A HREF=\"http://www.yoursite.com/search.pl?topic=slashdot\"><IMG\n SRC=\"http://www.yoursite.com/images/topics/topicslashdot.gif\" WIDTH=\"100\" HEIGHT=\"34\"\n BORDER=\"0\" ALT=\"Slashdot\"></A>\n </TD>\n\n','',10000,'static','<P>\r\nThe topics block.\r\n</P>',' <TD><A HREF=\"http://www.yoursite.com/search.pl?topic=news\"><IMG\n SRC=\"http://www.yoursite.com/images/topics/topicnews.gif\" WIDTH=\"34\" HEIGHT=\"44\"\n BORDER=\"0\" ALT=\"News\"></A>\n </TD>\n\n <TD><A HREF=\"http://www.yoursite.com/search.pl?topic=slashdot\"><IMG\n SRC=\"http://www.yoursite.com/images/topics/topicslashdot.gif\" WIDTH=\"100\" HEIGHT=\"34\"\n BORDER=\"0\" ALT=\"Slashdot\"></A>\n </TD>\n\n');
+INSERT INTO blocks VALUES ('topics',' <TD><A HREF=\"http://www.example.com/search.pl?topic=news\"><IMG\n SRC=\"http://www.example.com/images/topics/topicnews.gif\" WIDTH=\"34\" HEIGHT=\"44\"\n BORDER=\"0\" ALT=\"News\"></A>\n </TD>\n\n <TD><A HREF=\"http://www.example.com/search.pl?topic=slashdot\"><IMG\n SRC=\"http://www.example.com/images/topics/topicslashdot.gif\" WIDTH=\"100\" HEIGHT=\"34\"\n BORDER=\"0\" ALT=\"Slashdot\"></A>\n </TD>\n\n','',10000,'static','<P>\r\nThe topics block.\r\n</P>',' <TD><A HREF=\"http://www.example.com/search.pl?topic=news\"><IMG\n SRC=\"http://www.example.com/images/topics/topicnews.gif\" WIDTH=\"34\" HEIGHT=\"44\"\n BORDER=\"0\" ALT=\"News\"></A>\n </TD>\n\n <TD><A HREF=\"http://www.example.com/search.pl?topic=slashdot\"><IMG\n SRC=\"http://www.example.com/images/topics/topicslashdot.gif\" WIDTH=\"100\" HEIGHT=\"34\"\n BORDER=\"0\" ALT=\"Slashdot\"></A>\n </TD>\n\n');
INSERT INTO blocks VALUES ('perlnews','<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=951506002%7C26790\">perl 5.5.660, beta2, Released</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=951506061%7C26796\">yapc 19100 Calls for Participation</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=951506067%7C26798\">You Really Can\'t Ever Have Enough Books</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=951506123%7C26802\">New Modules 24 February 2000</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950784801%7C24102\">Orwant Hired as CTO of O\'Reilly</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950793168%7C12550\">New Modules 16 February 2000</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715418%7C20554\">ActivePerl 5.6 Beta 1 Released, Supports Linux and Solaris</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715422%7C20555\">Netizen Launches Perl Training in Brisbane</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715425%7C20557\">perlbugtron Gets Facelift, Source Released</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715428%7C20558\">Cozens Reveals Myths of Perl</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715432%7C20809\">O\'Reilly Puts Up Perl Survey</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715433%7C20560\">More Mongers Groups</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715500%7C20575\">New Modules 10-15 February 2000</A></LI>\n','',100,'portald','','<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=951506002%7C26790\">perl 5.5.660, beta2, Released</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=951506061%7C26796\">yapc 19100 Calls for Participation</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=951506067%7C26798\">You Really Can\'t Ever Have Enough Books</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=951506123%7C26802\">New Modules 24 February 2000</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950784801%7C24102\">Orwant Hired as CTO of O\'Reilly</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950793168%7C12550\">New Modules 16 February 2000</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715418%7C20554\">ActivePerl 5.6 Beta 1 Released, Supports Linux and Solaris</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715422%7C20555\">Netizen Launches Perl Training in Brisbane</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715425%7C20557\">perlbugtron Gets Facelift, Source Released</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715428%7C20558\">Cozens Reveals Myths of Perl</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715432%7C20809\">O\'Reilly Puts Up Perl Survey</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715433%7C20560\">More Mongers Groups</A></LI>\n<LI><A HREF=\"http://www.news.perl.org/perl-news.cgi?item=950715500%7C20575\">New Modules 10-15 February 2000</A></LI>\n');
INSERT INTO blocks VALUES ('story_trailer','qq|\r\n\r\n<!-- begin story_trailer block -->\r\n\r\n <B>)</B></FONT></P>\r\n\r\n </TD></TR></TABLE>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/wr_cccccc.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\" ALT=\"\"></TD>\r\n </TR>\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n </TABLE>\r\n\r\n<BR><BR>\r\n\r\n<!-- end story_trailer block -->\r\n\r\n|\r\n',NULL,500,'eval','<P>\r\nThe code that\'s evaled to create the closing part of the story block.\r\n</P>','qq|\r\n\r\n<!-- begin story_trailer block -->\r\n\r\n <B>)</B></FONT></P>\r\n\r\n </TD></TR></TABLE>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/wr_cccccc.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\" ALT=\"\"></TD>\r\n </TR>\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n </TABLE>\r\n\r\n<BR><BR>\r\n\r\n<!-- end story_trailer block -->\r\n\r\n|\r\n');
INSERT INTO blocks VALUES ('index_qlinks','<!-- begin quicklinks block -->\r\n\r\n<A HREF=\"http://server51.freshmeat.net/\">Server 51</A><BR>\r\n<A HREF=\"http://lists.slashdot.org/mailman/listinfo.cgi\">Slash Mailing lists</A><BR>\r\n<A HREF=\"http://www.slashcode.com/\">Slashcode.com</A><BR>\r\n<A HREF=\"http://slashdot.org/\">Slashdot</A><BR>\r\n<A HREF=\"http://andover.net/\">Andover.Net</A><BR>\r\n<A HREF=\"http://CmdrTaco.net/\">CmdrTaco.net</A><BR>\r\n<A HREF=\"http://www.cowboyneal.org/\">Cowboyneal.org</A><BR>\r\n<A HREF=\"http://pudge.net/\">Pudge.Net</A><BR>\r\n<A HREF=\"http://thinkgeek.com/\">ThinkGeek</A><BR>\r\n\r\n<!-- end quicklinks block -->\r\n\r\n',NULL,10000,'',NULL,'<!-- begin quicklinks block -->\r\n\r\n<A HREF=\"http://server51.freshmeat.net/\">Server 51</A><BR>\r\n<A HREF=\"http://lists.slashdot.org/mailman/listinfo.cgi\">Slash Mailing lists</A><BR>\r\n<A HREF=\"http://www.slashcode.com/\">Slashcode.com</A><BR>\r\n<A HREF=\"http://slashdot.org/\">Slashdot</A><BR>\r\n<A HREF=\"http://andover.net/\">Andover.Net</A><BR>\r\n<A HREF=\"http://CmdrTaco.net/\">CmdrTaco.net</A><BR>\r\n<A HREF=\"http://www.cowboyneal.org/\">Cowboyneal.org</A><BR>\r\n<A HREF=\"http://pudge.net/\">Pudge.Net</A><BR>\r\n<A HREF=\"http://thinkgeek.com/\">ThinkGeek</A><BR>\r\n\r\n<!-- end quicklinks block -->\r\n\r\n');
@@ -30,7 +30,7 @@ INSERT INTO blocks VALUES ('books','\r\n<!-- begin books block -->\r\nBooks bloc
INSERT INTO blocks VALUES ('commentswarning','<FONT SIZE=\"${\\( $I{fontbase} + 1 )}\">\r\n<B>The Fine Print:</B>\r\nThe following comments are owned by whoever posted them. \r\nWe are not responsible for them in any way.\r\n</FONT>\r\n',NULL,10000,'',NULL,'<FONT SIZE=\"${\\( $I{fontbase} + 1 )}\">\r\n<B>The Fine Print:</B>\r\nThe following comments are owned by whoever posted them. \r\nWe are not responsible for them in any way.\r\n</FONT>\r\n');
INSERT INTO blocks VALUES ('freshmeat','<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952015210.html\">LANdb 0.90</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012904.html\">Mozilla M14</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012753.html\">P\'mail 0.5.5</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012681.html\">PresTiMeL 0.4</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012490.html\">Unpoison.pl 0.4</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012347.html\">Nessus 0.99.7</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012272.html\">jingle 0.6</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012187.html\">DejaSearch 1.8.2</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952011341.html\">mod_ssl 2.6.2-1.3.12</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/951990909.html\">centerICQ 2.7.4</A></LI>\n','',10000,'portald','','<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952015210.html\">LANdb 0.90</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012904.html\">Mozilla M14</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012753.html\">P\'mail 0.5.5</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012681.html\">PresTiMeL 0.4</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012490.html\">Unpoison.pl 0.4</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012347.html\">Nessus 0.99.7</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012272.html\">jingle 0.6</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952012187.html\">DejaSearch 1.8.2</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/952011341.html\">mod_ssl 2.6.2-1.3.12</A></LI>\n<LI><A HREF=\"http://freshmeat.net/news/2000/03/02/951990909.html\">centerICQ 2.7.4</A></LI>\n');
INSERT INTO blocks VALUES ('motd','I\'m going to Vietnam at the request of the White House. President Johnson\r\nsays a war isn\'t really a war without my jokes.\r\n -- Bob Hope\r\n','',500,'',NULL,'I\'m going to Vietnam at the request of the White House. President Johnson\r\nsays a war isn\'t really a war without my jokes.\r\n -- Bob Hope\r\n');
-INSERT INTO blocks VALUES ('poll','<FORM ACTION=\"http://www.yoursite.com/pollBooth.pl\">\n <INPUT TYPE=\"hidden\" NAME=\"qid\" VALUE=\"happy\"\n<B>Are you happy?</B>\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"1\">No\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"2\">Yes\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"3\">thorazine\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"4\">apathy\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"5\">manic depressive\n<BR><INPUT TYPE=\"submit\" VALUE=\"Vote\"> [ <A HREF=\"http://www.yoursite.com/pollBooth.pl?qid=happy&aid=-1\"><B>Results</B></A> | <A HREF=\"http://www.yoursite.com/pollBooth.pl?\"><B>Polls</B></A> ] <BR>\nComments:<B>0</B> | Votes:<B>43</B>\n</FORM>\n','CmdrTaco',1000,'portald','','<FORM ACTION=\"http://www.yoursite.com/pollBooth.pl\">\n <INPUT TYPE=\"hidden\" NAME=\"qid\" VALUE=\"happy\"\n<B>Are you happy?</B>\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"1\">No\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"2\">Yes\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"3\">thorazine\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"4\">apathy\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"5\">manic depressive\n<BR><INPUT TYPE=\"submit\" VALUE=\"Vote\"> [ <A HREF=\"http://www.yoursite.com/pollBooth.pl?qid=happy&aid=-1\"><B>Results</B></A> | <A HREF=\"http://www.yoursite.com/pollBooth.pl?\"><B>Polls</B></A> ] <BR>\nComments:<B>0</B> | Votes:<B>43</B>\n</FORM>\n');
+INSERT INTO blocks VALUES ('poll','<FORM ACTION=\"http://www.example.com/pollBooth.pl\">\n <INPUT TYPE=\"hidden\" NAME=\"qid\" VALUE=\"happy\"\n<B>Are you happy?</B>\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"1\">No\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"2\">Yes\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"3\">thorazine\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"4\">apathy\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"5\">manic depressive\n<BR><INPUT TYPE=\"submit\" VALUE=\"Vote\"> [ <A HREF=\"http://www.example.com/pollBooth.pl?qid=happy&aid=-1\"><B>Results</B></A> | <A HREF=\"http://www.example.com/pollBooth.pl?\"><B>Polls</B></A> ] <BR>\nComments:<B>0</B> | Votes:<B>43</B>\n</FORM>\n','CmdrTaco',1000,'portald','','<FORM ACTION=\"http://www.example.com/pollBooth.pl\">\n <INPUT TYPE=\"hidden\" NAME=\"qid\" VALUE=\"happy\"\n<B>Are you happy?</B>\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"1\">No\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"2\">Yes\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"3\">thorazine\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"4\">apathy\n<BR><INPUT TYPE=\"radio\" NAME=\"aid\" VALUE=\"5\">manic depressive\n<BR><INPUT TYPE=\"submit\" VALUE=\"Vote\"> [ <A HREF=\"http://www.example.com/pollBooth.pl?qid=happy&aid=-1\"><B>Results</B></A> | <A HREF=\"http://www.example.com/pollBooth.pl?\"><B>Polls</B></A> ] <BR>\nComments:<B>0</B> | Votes:<B>43</B>\n</FORM>\n');
INSERT INTO blocks VALUES ('postvote','<P>\r\n <LI>Don\'t complain about lack of options. You\'ve got to pick a few\r\n when you do multiple choice. Those are the breaks.\r\n\r\n <LI>Feel free to suggest poll ideas if you\'re feeling creative.\r\n I\'d strongly suggest reading the past polls first.\r\n\r\n <LI>This whole thing is wildly inaccurate. Rounding errors,\r\n ballot stuffers, dynamic IPs, firewalls. If you\'re using these\r\n numbers to do anything important, you\'re insane.\r\n</P>','',10000,'',NULL,'<P>\r\n <LI>Don\'t complain about lack of options. You\'ve got to pick a few\r\n when you do multiple choice. Those are the breaks.\r\n\r\n <LI>Feel free to suggest poll ideas if you\'re feeling creative.\r\n I\'d strongly suggest reading the past polls first.\r\n\r\n <LI>This whole thing is wildly inaccurate. Rounding errors,\r\n ballot stuffers, dynamic IPs, firewalls. If you\'re using these\r\n numbers to do anything important, you\'re insane.\r\n</P>');
INSERT INTO blocks VALUES ('titlebar','<!-- begin titlebar block -->\n\n <TABLE WIDTH=\"$width\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\"><TR VALIGN=\"TOP\">\n <TD BGCOLOR=\"$I{bg}[3]\"><IMG SRC=\"$I{imagedir}/cl.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"4\" HEIGHT=\"4\" ALT=\"\"></TD>\n <TD BGCOLOR=\"$I{bg}[3]\" WIDTH=\"100%\">\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"2\" CELLSPACING=\"0\"><TR>\n <TD BGCOLOR=\"$I{bg}[3]\"><FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 3 )}\" COLOR=\"$I{fg}[0]\"><B>$title</B></FONT></TD>\n </TR></TABLE>\n </TD>\n <TD BGCOLOR=\"$I{bg}[3]\" ALIGN=\"right\"><IMG SRC=\"$I{imagedir}/cr.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\n </TR></TABLE>\n\n<!-- end titlebar block -->\n',NULL,10000,'','<P>\r\nThis is the html that makes up the bar above each story, \r\ncontaining the actual title of the story.\r\n</P>','<!-- begin titlebar block -->\n\n <TABLE WIDTH=\"$width\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\"><TR VALIGN=\"TOP\">\n <TD BGCOLOR=\"$I{bg}[3]\"><IMG SRC=\"$I{imagedir}/cl.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"4\" HEIGHT=\"4\" ALT=\"\"></TD>\n <TD BGCOLOR=\"$I{bg}[3]\" WIDTH=\"100%\">\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"2\" CELLSPACING=\"0\"><TR>\n <TD BGCOLOR=\"$I{bg}[3]\"><FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 3 )}\" COLOR=\"$I{fg}[0]\"><B>$title</B></FONT></TD>\n </TR></TABLE>\n </TD>\n <TD BGCOLOR=\"$I{bg}[3]\" ALIGN=\"right\"><IMG SRC=\"$I{imagedir}/cr.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\n </TR></TABLE>\n\n<!-- end titlebar block -->\n');
INSERT INTO blocks VALUES ('fancybox','<!-- begin fancy box -->\n\n <TABLE WIDTH=\"200\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n <TR VALIGN=\"TOP\" BGCOLOR=\"$I{bg}[3]\">\n <TD BGCOLOR=\"$I{bg}[2]\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\n <TD><IMG SRC=\"$I{imagedir}/cl.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\n <TD><FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\" COLOR=\"$I{fg}[0]\"><B>$title</B></FONT></TD>\n <TD ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/cr.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\n <TD BGCOLOR=\"$I{bg}[2]\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\n </TR>\n </TABLE>\n\n <TABLE WIDTH=\"200\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\n <TR>\n <TD BACKGROUND=\"$I{imagedir}/sl.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\n <TD BGCOLOR=\"$I{bg}[1]\" WIDTH=\"100%\"><TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"5\" CELLSPACING=\"0\"><TR><TD BGCOLOR=\"$I{bg}[1]\">\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">\n\n$contents\n\n</FONT>\n </TD></TR></TABLE></TD>\n <TD BACKGROUND=\"$I{imagedir}/sr.gif\" ALIGN=\"right\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\n </TR>\n <TR BGCOLOR=\"$I{bg}[3]\"><TD COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\n </TABLE>\n<P>\n\n\n<!-- end fancy box -->\n',NULL,10000,'',NULL,'<!-- begin fancy box -->\n\n <TABLE WIDTH=\"200\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n <TR VALIGN=\"TOP\" BGCOLOR=\"$I{bg}[3]\">\n <TD BGCOLOR=\"$I{bg}[2]\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\n <TD><IMG SRC=\"$I{imagedir}/cl.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\n <TD><FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\" COLOR=\"$I{fg}[0]\"><B>$title</B></FONT></TD>\n <TD ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/cr.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\n <TD BGCOLOR=\"$I{bg}[2]\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\n </TR>\n </TABLE>\n\n <TABLE WIDTH=\"200\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\n <TR>\n <TD BACKGROUND=\"$I{imagedir}/sl.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\n <TD BGCOLOR=\"$I{bg}[1]\" WIDTH=\"100%\"><TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"5\" CELLSPACING=\"0\"><TR><TD BGCOLOR=\"$I{bg}[1]\">\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">\n\n$contents\n\n</FONT>\n </TD></TR></TABLE></TD>\n <TD BACKGROUND=\"$I{imagedir}/sr.gif\" ALIGN=\"right\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\n </TR>\n <TR BGCOLOR=\"$I{bg}[3]\"><TD COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\n </TABLE>\n<P>\n\n\n<!-- end fancy box -->\n');
@@ -39,7 +39,7 @@ INSERT INTO blocks VALUES ('footer','<!-- begin footer block -->\r\n\r\n\r\n</TD
INSERT INTO blocks VALUES ('mainmenu',' - <A HREF=\"/about.shtml\">About</A><BR>\r\n - <A HREF=\"/faq.shtml\">FAQ</A><BR>\r\n - <A HREF=\"/topics.shtml\">Topics</A><BR>\r\n - <A HREF=\"/authors.pl\">Authors</A>\r\n <HR NOSHADE SIZE=\"1\">\r\n - <A HREF=\"/users.pl?op=preferences\">Preferences</A><BR>\r\n - <A HREF=\"/search.pl\">Older Stuff</A><BR>\r\n - <A HREF=\"/pollBooth.pl\">Past Polls</A><BR>\r\n - <A HREF=\"/submit.pl\">Submit Story</A><BR>\r\n\r\n',NULL,10000,'',NULL,' - <A HREF=\"/about.shtml\">About</A><BR>\r\n - <A HREF=\"/faq.shtml\">FAQ</A><BR>\r\n - <A HREF=\"/topics.shtml\">Topics</A><BR>\r\n - <A HREF=\"/authors.pl\">Authors</A>\r\n <HR NOSHADE SIZE=\"1\">\r\n - <A HREF=\"/users.pl?op=preferences\">Preferences</A><BR>\r\n - <A HREF=\"/search.pl\">Older Stuff</A><BR>\r\n - <A HREF=\"/pollBooth.pl\">Past Polls</A><BR>\r\n - <A HREF=\"/submit.pl\">Submit Story</A><BR>\r\n\r\n');
INSERT INTO blocks VALUES ('slashdot','<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0837204\">5GB portable MP3 Player</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0827210\">1-GHz Pentium III Due This Month</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0846234\">E-Mail, Privacy and the Law</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0831204\">Importing PSX2 Illegal?</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0833211\">Microsoft Invents Symbolic Links</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0851210\">Care To Register Your own TLD?</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0825246\">Robust Hyperlinks: The End of 404s?</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0834256\">Tera Will Buy Cray Research</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/02/27/1510217\">What Can Be Patented?</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/01/092251\">Free Internet Access for Hamburgers</A></LI>\n',NULL,100,'portald','','<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0837204\">5GB portable MP3 Player</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0827210\">1-GHz Pentium III Due This Month</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0846234\">E-Mail, Privacy and the Law</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0831204\">Importing PSX2 Illegal?</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0833211\">Microsoft Invents Symbolic Links</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0851210\">Care To Register Your own TLD?</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0825246\">Robust Hyperlinks: The End of 404s?</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/02/0834256\">Tera Will Buy Cray Research</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/02/27/1510217\">What Can Be Patented?</A></LI>\n<LI><A HREF=\"http://slashdot.org/article.pl?sid=00/03/01/092251\">Free Internet Access for Hamburgers</A></LI>\n');
INSERT INTO blocks VALUES ('pdabuzz','<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951982788,6623,\">QotW: Adding COM ports for PDA use</A></LI>\n<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951968596,2087,\">Palm IIIc battery life test results are impressive</A></LI>\n<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951941548,44,\">Casio Pocket PC showing up for sale online</A></LI>\n<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951934593,9548,\">IBM giving Palms an ear, and CF slot</A></LI>\n<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951933787,631,\">Palm targeted in another lawsuit</A></LI>\n<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951841524,2048,\">Symbian\'s Quartz devices at CeBIT 2000</A></LI>\n<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951837238,2170,\">Palm doubles IPO price</A></LI>\n',NULL,100,'portald','','<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951982788,6623,\">QotW: Adding COM ports for PDA use</A></LI>\n<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951968596,2087,\">Palm IIIc battery life test results are impressive</A></LI>\n<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951941548,44,\">Casio Pocket PC showing up for sale online</A></LI>\n<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951934593,9548,\">IBM giving Palms an ear, and CF slot</A></LI>\n<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951933787,631,\">Palm targeted in another lawsuit</A></LI>\n<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951841524,2048,\">Symbian\'s Quartz devices at CeBIT 2000</A></LI>\n<LI><A HREF=\"http://www.pdabuzz.com/#newsitem951837238,2170,\">Palm doubles IPO price</A></LI>\n');
-INSERT INTO blocks VALUES ('header','<!-- begin header block -->\r\n\r\n</HEAD>\r\n<BODY BGCOLOR=\"$I{bg}[0]\" TEXT=\"$I{fg}[1]\" LINK=\"$I{bg}[3]\" VLINK=\"$I{fg}[1]\">\r\n<TABLE CELLPADDING=\"0\" CELLSPACING=\"0\" BORDER=\"0\" WIDTH=\"99%\" ALIGN=\"CENTER\">\r\n <TR VALIGN=\"TOP\">\r\n <TD BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"LEFT\"><IMG SRC=\"$I{imagedir}/line-corner.gif\" WIDTH=\"1\" HEIGHT=\"74\" ALT=\"\"></TD>\r\n <TD BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"LEFT\" WIDTH=\"100%\"><A HREF=\"$I{rootdir}/\"><IMG SRC=\"$I{imagedir}/slashhead.gif\" WIDTH=\"300\" HEIGHT=\"74\" BORDER=\"0\" ALT=\"$I{sitename}\"></A></TD>\r\n <TD VALIGN=\"MIDDLE\" BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"RIGHT\">\r\n <FORM ACTION=\"/search.pl\">\r\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">search&nbsp;$I{sitename}:<BR></FONT>\r\n <INPUT TYPE=\"text\" NAME=\"query\">&nbsp;<INPUT TYPE=\"submit\" VALUE=\" Go \">\r\n </FORM>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/line-corner.gif\" WIDTH=\"1\" HEIGHT=\"74\" ALT=\"\"></TD>\r\n </TR>\r\n <TR>\r\n <TD BACKGROUND=\"$I{imagedir}/wl.gif\" ALIGN=\"LEFT\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\" ALIGN=\"LEFT\" WIDTH=\"100%\"><IMG SRC=\"$I{imagedir}/slashslogan.gif\" WIDTH=\"300\" HEIGHT=\"20\" ALT=\"$I{slogan}\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD> <!-- for some reason colspan=\"2\" doesn\'t cut it here -->\r\n <TD BACKGROUND=\"$I{imagedir}/wr.gif\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\"></TD>\r\n </TR>\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"4\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n</TABLE>\r\n\r\n&nbsp;\r\n\r\n<TABLE WIDTH=\"99%\" ALIGN=\"CENTER\" CELLPADDING=\"0\" CELLSPACING=\"0\" BORDER=\"0\">\r\n <TR><TD VALIGN=\"TOP\" ROWSPAN=\"5\">\r\n\r\n<!-- begin menu block -->\r\n\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\r\n <TR VALIGN=\"TOP\">\r\n <TD BGCOLOR=\"$I{bg}[2]\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[3]\"><IMG SRC=\"$I{imagedir}/cl.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[3]\"><FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\" COLOR=\"$I{bg}[1]\"><B>$I{sitename}</B></FONT></TD>\r\n <TD BGCOLOR=\"$I{bg}[3]\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/cr.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[2]\" ALIGN=\"right\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n </TR>\r\n </TABLE>\r\n\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n <TR>\r\n <TD BACKGROUND=\"$I{imagedir}/sl.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\" WIDTH=\"100%\">\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"5\" CELLSPACING=\"0\"><TR><TD>\r\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">\r\n\r\n$menu\r\n\r\n </FONT>\r\n </TD></TR></TABLE>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/sr.gif\" ALIGN=\"right\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n </TR>\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n </TABLE>\r\n<BR>\r\n\r\n<!-- end menu block -->\r\n\r\n<P>\r\n\r\n<!-- begin sectionmenu variable -->\r\n\r\n$sectionmenu\r\n\r\n<!-- end sectionmenu variable -->\r\n\r\n</P>\r\n\r\n </TD><TD>&nbsp;</TD><TD VALIGN=\"TOP\" ALIGN=\"LEFT\"><FONT COLOR=\"$I{fg}[1]\">\r\n\r\n<!-- end header block -->\r\n\r\n',NULL,10000,'',NULL,'<!-- begin header block -->\r\n\r\n</HEAD>\r\n<BODY BGCOLOR=\"$I{bg}[0]\" TEXT=\"$I{fg}[1]\" LINK=\"$I{bg}[3]\" VLINK=\"$I{fg}[1]\">\r\n<TABLE CELLPADDING=\"0\" CELLSPACING=\"0\" BORDER=\"0\" WIDTH=\"99%\" ALIGN=\"CENTER\">\r\n <TR VALIGN=\"TOP\">\r\n <TD BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"LEFT\"><IMG SRC=\"$I{imagedir}/line-corner.gif\" WIDTH=\"1\" HEIGHT=\"74\" ALT=\"\"></TD>\r\n <TD BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"LEFT\" WIDTH=\"100%\"><A HREF=\"$I{rootdir}/\"><IMG SRC=\"$I{imagedir}/slashhead.gif\" WIDTH=\"300\" HEIGHT=\"74\" BORDER=\"0\" ALT=\"$I{sitename}\"></A></TD>\r\n <TD VALIGN=\"MIDDLE\" BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"RIGHT\">\r\n <FORM ACTION=\"/search.pl\">\r\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">search&nbsp;$I{sitename}:<BR></FONT>\r\n <INPUT TYPE=\"text\" NAME=\"query\">&nbsp;<INPUT TYPE=\"submit\" VALUE=\" Go \">\r\n </FORM>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/line-corner.gif\" WIDTH=\"1\" HEIGHT=\"74\" ALT=\"\"></TD>\r\n </TR>\r\n <TR>\r\n <TD BACKGROUND=\"$I{imagedir}/wl.gif\" ALIGN=\"LEFT\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\" ALIGN=\"LEFT\" WIDTH=\"100%\"><IMG SRC=\"$I{imagedir}/slashslogan.gif\" WIDTH=\"300\" HEIGHT=\"20\" ALT=\"$I{slogan}\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD> <!-- for some reason colspan=\"2\" doesn\'t cut it here -->\r\n <TD BACKGROUND=\"$I{imagedir}/wr.gif\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\"></TD>\r\n </TR>\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"4\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n</TABLE>\r\n\r\n&nbsp;\r\n\r\n<TABLE WIDTH=\"99%\" ALIGN=\"CENTER\" CELLPADDING=\"0\" CELLSPACING=\"0\" BORDER=\"0\">\r\n <TR><TD VALIGN=\"TOP\" ROWSPAN=\"5\">\r\n\r\n<!-- begin menu block -->\r\n\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\r\n <TR VALIGN=\"TOP\">\r\n <TD BGCOLOR=\"$I{bg}[2]\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[3]\"><IMG SRC=\"$I{imagedir}/cl.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[3]\"><FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\" COLOR=\"$I{bg}[1]\"><B>$I{sitename}</B></FONT></TD>\r\n <TD BGCOLOR=\"$I{bg}[3]\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/cr.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[2]\" ALIGN=\"right\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n </TR>\r\n </TABLE>\r\n\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n <TR>\r\n <TD BACKGROUND=\"$I{imagedir}/sl.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\" WIDTH=\"100%\">\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"5\" CELLSPACING=\"0\"><TR><TD>\r\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">\r\n\r\n$menu\r\n\r\n </FONT>\r\n </TD></TR></TABLE>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/sr.gif\" ALIGN=\"right\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n </TR>\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n </TABLE>\r\n<BR>\r\n\r\n<!-- end menu block -->\r\n\r\n<P>\r\n\r\n<!-- begin sectionmenu variable -->\r\n\r\n$sectionmenu\r\n\r\n<!-- end sectionmenu variable -->\r\n\r\n</P>\r\n\r\n </TD><TD>&nbsp;</TD><TD VALIGN=\"TOP\" ALIGN=\"LEFT\"><FONT COLOR=\"$I{fg}[1]\">\r\n\r\n<!-- end header block -->\r\n\r\n');
+INSERT INTO blocks VALUES ('header','<!-- begin header block -->\r\n\r\n</HEAD>\r\n<BODY BGCOLOR=\"$I{bg}[0]\" TEXT=\"$I{fg}[1]\" LINK=\"$I{bg}[3]\" VLINK=\"$I{fg}[1]\">\r\n<TABLE CELLPADDING=\"0\" CELLSPACING=\"0\" BORDER=\"0\" WIDTH=\"99%\" ALIGN=\"CENTER\">\r\n <TR VALIGN=\"TOP\">\r\n <TD BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"LEFT\"><IMG SRC=\"$I{imagedir}/line-corner.gif\" WIDTH=\"1\" HEIGHT=\"74\" ALT=\"\"></TD>\r\n <TD BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"LEFT\" WIDTH=\"100%\"><A HREF=\"$I{rootdir}/\"><IMG SRC=\"$I{imagedir}/slashhead.gif\" WIDTH=\"300\" HEIGHT=\"74\" BORDER=\"0\" ALT=\"$I{sitename}\"></A></TD>\r\n <TD VALIGN=\"MIDDLE\" BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"RIGHT\">\r\n <FORM ACTION=\"$I{rootdir}/search.pl\">\r\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">search&nbsp;$I{sitename}:<BR></FONT>\r\n <INPUT TYPE=\"text\" NAME=\"query\">&nbsp;<INPUT TYPE=\"submit\" VALUE=\" Go \">\r\n </FORM>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/line-corner.gif\" WIDTH=\"1\" HEIGHT=\"74\" ALT=\"\"></TD>\r\n </TR>\r\n <TR>\r\n <TD BACKGROUND=\"$I{imagedir}/wl.gif\" ALIGN=\"LEFT\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\" ALIGN=\"LEFT\" WIDTH=\"100%\"><IMG SRC=\"$I{imagedir}/slashslogan.gif\" WIDTH=\"300\" HEIGHT=\"20\" ALT=\"$I{slogan}\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD> <!-- for some reason colspan=\"2\" doesn\'t cut it here -->\r\n <TD BACKGROUND=\"$I{imagedir}/wr.gif\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\"></TD>\r\n </TR>\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"4\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n</TABLE>\r\n\r\n&nbsp;\r\n\r\n<TABLE WIDTH=\"99%\" ALIGN=\"CENTER\" CELLPADDING=\"0\" CELLSPACING=\"0\" BORDER=\"0\">\r\n <TR><TD VALIGN=\"TOP\" ROWSPAN=\"5\">\r\n\r\n<!-- begin menu block -->\r\n\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\r\n <TR VALIGN=\"TOP\">\r\n <TD BGCOLOR=\"$I{bg}[2]\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[3]\"><IMG SRC=\"$I{imagedir}/cl.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[3]\"><FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\" COLOR=\"$I{bg}[1]\"><B>$I{sitename}</B></FONT></TD>\r\n <TD BGCOLOR=\"$I{bg}[3]\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/cr.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[2]\" ALIGN=\"right\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n </TR>\r\n </TABLE>\r\n\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n <TR>\r\n <TD BACKGROUND=\"$I{imagedir}/sl.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\" WIDTH=\"100%\">\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"5\" CELLSPACING=\"0\"><TR><TD>\r\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">\r\n\r\n$menu\r\n\r\n </FONT>\r\n </TD></TR></TABLE>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/sr.gif\" ALIGN=\"right\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n </TR>\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n </TABLE>\r\n<BR>\r\n\r\n<!-- end menu block -->\r\n\r\n<P>\r\n\r\n<!-- begin sectionmenu variable -->\r\n\r\n$sectionmenu\r\n\r\n<!-- end sectionmenu variable -->\r\n\r\n</P>\r\n\r\n </TD><TD>&nbsp;</TD><TD VALIGN=\"TOP\" ALIGN=\"LEFT\"><FONT COLOR=\"$I{fg}[1]\">\r\n\r\n<!-- end header block -->\r\n\r\n',NULL,10000,'',NULL,'<!-- begin header block -->\r\n\r\n</HEAD>\r\n<BODY BGCOLOR=\"$I{bg}[0]\" TEXT=\"$I{fg}[1]\" LINK=\"$I{bg}[3]\" VLINK=\"$I{fg}[1]\">\r\n<TABLE CELLPADDING=\"0\" CELLSPACING=\"0\" BORDER=\"0\" WIDTH=\"99%\" ALIGN=\"CENTER\">\r\n <TR VALIGN=\"TOP\">\r\n <TD BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"LEFT\"><IMG SRC=\"$I{imagedir}/line-corner.gif\" WIDTH=\"1\" HEIGHT=\"74\" ALT=\"\"></TD>\r\n <TD BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"LEFT\" WIDTH=\"100%\"><A HREF=\"$I{rootdir}/\"><IMG SRC=\"$I{imagedir}/slashhead.gif\" WIDTH=\"300\" HEIGHT=\"74\" BORDER=\"0\" ALT=\"$I{sitename}\"></A></TD>\r\n <TD VALIGN=\"MIDDLE\" BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"RIGHT\">\r\n <FORM ACTION=\"$I{rootdir}/search.pl\">\r\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">search&nbsp;$I{sitename}:<BR></FONT>\r\n <INPUT TYPE=\"text\" NAME=\"query\">&nbsp;<INPUT TYPE=\"submit\" VALUE=\" Go \">\r\n </FORM>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/line-bg.gif\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/line-corner.gif\" WIDTH=\"1\" HEIGHT=\"74\" ALT=\"\"></TD>\r\n </TR>\r\n <TR>\r\n <TD BACKGROUND=\"$I{imagedir}/wl.gif\" ALIGN=\"LEFT\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\" ALIGN=\"LEFT\" WIDTH=\"100%\"><IMG SRC=\"$I{imagedir}/slashslogan.gif\" WIDTH=\"300\" HEIGHT=\"20\" ALT=\"$I{slogan}\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD> <!-- for some reason colspan=\"2\" doesn\'t cut it here -->\r\n <TD BACKGROUND=\"$I{imagedir}/wr.gif\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\"></TD>\r\n </TR>\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"4\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n</TABLE>\r\n\r\n&nbsp;\r\n\r\n<TABLE WIDTH=\"99%\" ALIGN=\"CENTER\" CELLPADDING=\"0\" CELLSPACING=\"0\" BORDER=\"0\">\r\n <TR><TD VALIGN=\"TOP\" ROWSPAN=\"5\">\r\n\r\n<!-- begin menu block -->\r\n\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\r\n <TR VALIGN=\"TOP\">\r\n <TD BGCOLOR=\"$I{bg}[2]\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[3]\"><IMG SRC=\"$I{imagedir}/cl.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[3]\"><FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\" COLOR=\"$I{bg}[1]\"><B>$I{sitename}</B></FONT></TD>\r\n <TD BGCOLOR=\"$I{bg}[3]\" ALIGN=\"RIGHT\"><IMG SRC=\"$I{imagedir}/cr.gif\" WIDTH=\"7\" HEIGHT=\"10\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[2]\" ALIGN=\"right\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n </TR>\r\n </TABLE>\r\n\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n <TR>\r\n <TD BACKGROUND=\"$I{imagedir}/sl.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\" WIDTH=\"100%\">\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"5\" CELLSPACING=\"0\"><TR><TD>\r\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">\r\n\r\n$menu\r\n\r\n </FONT>\r\n </TD></TR></TABLE>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/sr.gif\" ALIGN=\"right\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"3\" HEIGHT=\"3\" ALT=\"\"></TD>\r\n </TR>\r\n <TR><TD BGCOLOR=\"$I{bg}[3]\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n </TABLE>\r\n<BR>\r\n\r\n<!-- end menu block -->\r\n\r\n<P>\r\n\r\n<!-- begin sectionmenu variable -->\r\n\r\n$sectionmenu\r\n\r\n<!-- end sectionmenu variable -->\r\n\r\n</P>\r\n\r\n </TD><TD>&nbsp;</TD><TD VALIGN=\"TOP\" ALIGN=\"LEFT\"><FONT COLOR=\"$I{fg}[1]\">\r\n\r\n<!-- end header block -->\r\n\r\n');
INSERT INTO blocks VALUES ('admin_header','<!-- begin admin header -->\r\n\r\n\r\n</HEAD>\r\n<BODY BGCOLOR=\"$I{bg}[1]\" LINK=\"$I{bg}[3]\" VLINK=\"$I{bg}[3]\" TOPMARGIN=\"0\" LEFTMARGIN=\"0\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\">\r\n\r\n<TABLE WIDTH=\"100%\" ALIGN=\"CENTER\" CELLPADDING=\"3\" CELLSPACING=\"0\" BORDER=\"0\" BGCOLOR=\"#C0C0C0\">\r\n <TR><TD VALIGN=\"TOP\" BGCOLOR=\"#505050\" ALIGN=\"RIGHT\">\r\n <FONT SIZE=\"${\\( $I{fontbase} + 4 )}\" COLOR=\"#FFFFFF\">$I{sitename} backSlash</FONT>\r\n </TD></TR>\r\n <TR><TD VALIGN=\"TOP\"><FONT COLOR=\"#000000\">\r\n\r\n<!-- end admin header -->\r\n\r\n',NULL,10000,'',NULL,'<!-- begin admin header -->\r\n\r\n\r\n</HEAD>\r\n<BODY BGCOLOR=\"$I{bg}[1]\" LINK=\"$I{bg}[3]\" VLINK=\"$I{bg}[3]\" TOPMARGIN=\"0\" LEFTMARGIN=\"0\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\">\r\n\r\n<TABLE WIDTH=\"100%\" ALIGN=\"CENTER\" CELLPADDING=\"3\" CELLSPACING=\"0\" BORDER=\"0\" BGCOLOR=\"#C0C0C0\">\r\n <TR><TD VALIGN=\"TOP\" BGCOLOR=\"#505050\" ALIGN=\"RIGHT\">\r\n <FONT SIZE=\"${\\( $I{fontbase} + 4 )}\" COLOR=\"#FFFFFF\">$I{sitename} backSlash</FONT>\r\n </TD></TR>\r\n <TR><TD VALIGN=\"TOP\"><FONT COLOR=\"#000000\">\r\n\r\n<!-- end admin header -->\r\n\r\n');
INSERT INTO blocks VALUES ('pollitem',' <TR>\r\n <TD WIDTH=\"100\" ALIGN=\"RIGHT\">$answer &nbsp;</TD>\r\n <TD WIDTH=\"450\"><NOBR><IMG\r\n SRC=\"$I{imagedir}/leftbar.gif\" WIDTH=\"4\" HEIGHT=\"20\" ALT=\"\"><IMG\r\n SRC=\"$I{imagedir}/mainbar.gif\" HEIGHT=20\r\n width=\"$imagewidth\" ALT=\"$percent%\"><IMG\r\n SRC=\"$I{imagedir}/rightbar.gif\" WIDTH=\"4\" HEIGHT=\"20\" ALT=\"\">\r\n $votes /\r\n <FONT COLOR=\"#006666\">$percent%</FONT></NOBR>\r\n </TD>\r\n </TR>\r\n',NULL,10000,'',NULL,' <TR>\r\n <TD WIDTH=\"100\" ALIGN=\"RIGHT\">$answer &nbsp;</TD>\r\n <TD WIDTH=\"450\"><NOBR><IMG\r\n SRC=\"$I{imagedir}/leftbar.gif\" WIDTH=\"4\" HEIGHT=\"20\" ALT=\"\"><IMG\r\n SRC=\"$I{imagedir}/mainbar.gif\" HEIGHT=20\r\n width=\"$imagewidth\" ALT=\"$percent%\"><IMG\r\n SRC=\"$I{imagedir}/rightbar.gif\" WIDTH=\"4\" HEIGHT=\"20\" ALT=\"\">\r\n $votes /\r\n <FONT COLOR=\"#006666\">$percent%</FONT></NOBR>\r\n </TD>\r\n </TR>\r\n');
INSERT INTO blocks VALUES ('story','\r\n\r\n<!-- begin story block -->\r\n <TABLE BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\"><TR>\r\n <TD BACKGROUND=\"$I{imagedir}/gl.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"#E6E6E6\" WIDTH=\"100%\">\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"5\" CELLSPACING=\"0\"><TR>\r\n <TD BGCOLOR=\"#E6E6E6\">\r\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">posted by $author $I{U}{aton} $I{U}{storytime}</FONT><BR>\r\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">from the <B>$S->{dept}</B> dept.</FONT>\r\n </TD>\r\n </TR></TABLE>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/gr.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\" ALT=\"\"></TD>\r\n </TR>\r\n <TR><TD BGCOLOR=\"#006666\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n <TR>\r\n <TD BACKGROUND=\"$I{imagedir}/wl.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\" WIDTH=\"100%\">\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"5\" CELLSPACING=\"0\"><TR><TD BGCOLOR=\"$I{bg}[1]\">\r\n $topicicon\r\n $S->{introtext} \r\n </TD></TR></TABLE>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/wr.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\" ALT=\"\"></TD>\r\n </TR>\r\n <TR BGCOLOR=\"$I{bg}[3]\"><TD COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n </TABLE>\r\n\r\n<!-- end story block -->\r\n\r\n',NULL,10000,'','','\r\n\r\n<!-- begin story block -->\r\n <TABLE BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\"><TR>\r\n <TD BACKGROUND=\"$I{imagedir}/gl.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"#E6E6E6\" WIDTH=\"100%\">\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"5\" CELLSPACING=\"0\"><TR>\r\n <TD BGCOLOR=\"#E6E6E6\">\r\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">posted by $author $I{U}{aton} $I{U}{storytime}</FONT><BR>\r\n <FONT FACE=\"$I{mainfontface}\" SIZE=\"${\\( $I{fontbase} + 1 )}\">from the <B>$S->{dept}</B> dept.</FONT>\r\n </TD>\r\n </TR></TABLE>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/gr.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\" ALT=\"\"></TD>\r\n </TR>\r\n <TR><TD BGCOLOR=\"#006666\" COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n <TR>\r\n <TD BACKGROUND=\"$I{imagedir}/wl.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\" ALT=\"\"></TD>\r\n <TD BGCOLOR=\"$I{bg}[1]\" WIDTH=\"100%\">\r\n <TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"5\" CELLSPACING=\"0\"><TR><TD BGCOLOR=\"$I{bg}[1]\">\r\n $topicicon\r\n $S->{introtext} \r\n </TD></TR></TABLE>\r\n </TD>\r\n <TD BACKGROUND=\"$I{imagedir}/wr.gif\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"11\" HEIGHT=\"11\" ALT=\"\"></TD>\r\n </TR>\r\n <TR BGCOLOR=\"$I{bg}[3]\"><TD COLSPAN=\"3\"><IMG SRC=\"$I{imagedir}/pix.gif\" WIDTH=\"1\" HEIGHT=\"1\"></TD></TR>\r\n </TABLE>\r\n\r\n<!-- end story block -->\r\n\r\n');
@@ -268,7 +268,7 @@ INSERT INTO dateformats VALUES (16,'%a %d %b %h:%i%p','Sun 21 Mar 10:00AM');
#
INSERT INTO discussions VALUES ('00/01/25/1430236','You\'ve Installed Slash!','http://slashcode.com/article.pl?sid=00/01/25/1430236','2000-01-25 14:30:36');
-INSERT INTO discussions VALUES ('00/01/25/1236215','Now What?','http://www.yoursite.com/article.pl?sid=00/01/25/1236215','2000-01-25 17:36:15');
+INSERT INTO discussions VALUES ('00/01/25/1236215','Now What?','http://www.example.com/article.pl?sid=00/01/25/1236215','2000-01-25 17:36:15');
#
# Dumping data for table 'displaycodes'
@@ -320,8 +320,8 @@ INSERT INTO maillist VALUES (1,'Email Headlines Each Night');
# Dumping data for table 'newstories'
#
-INSERT INTO newstories VALUES ('00/01/25/1236215','slash','God',0,'Now What?','where-do-you-go-from-here','2000-01-25 08:32:02','You should play around with the admin stuff. Configure things to\r\nyour tastes. You should also edit the slashdotrc.pl to define things like your websites name and slogan. You should also donate some money to the <A href=http://www.fsf.org>FSF</A> and <A href=http://slashdot.org>Read Slashdot</A>. \r\n','',0,0,'articles',0,0,'0,0,0,0,0,0,0','<LI><A HREF=http://www.yoursite.com>Slashdot</A>\n<LI><A href=http://www.fsf.org>FSF</A>\n<LI><A href=http://slashdot.org>Read Slashdot</A>\n<LI><A href=\"http://www.yoursite.com/search.pl?topic=slash\">More \n on Slash </A> \n <LI><A href=\"http://www.yoursite.com/search.pl?author=God\">Also \n by God </A>\n',NULL);
-INSERT INTO newstories VALUES ('00/01/25/1430236','slash','God',1,'You\'ve Installed Slash!','congratulations-dude','2000-01-25 10:13:31','So it took some doing, but it looks like you\'ve got Slash installed and ready to rock. You can now login using <A href=/admin.pl>backSlash</A>, the Slash Code Administration tool. The default l/p is God/pete, but I\'d suggest you change that. And you might wanna start posting some stories too.','',0,0,'articles',0,0,'1,1,0,0,0,0,0','<LI><A href=/admin.pl>backSlash</A>\n<LI><A href=\"http://www.yoursite.com/search.pl?topic=slash\">More \n on Slash </A> \n <LI><A href=\"http://www.yoursite.com/search.pl?author=God\">Also \n by God </A>\n',NULL);
+INSERT INTO newstories VALUES ('00/01/25/1236215','slash','God',0,'Now What?','where-do-you-go-from-here','2000-01-25 08:32:02','You should play around with the admin stuff. Configure things to\r\nyour tastes. You should also edit the slashdotrc.pl to define things like your websites name and slogan. You should also donate some money to the <A href=http://www.fsf.org>FSF</A> and <A href=http://slashdot.org>Read Slashdot</A>. \r\n','',0,0,'articles',0,0,'0,0,0,0,0,0,0','<LI><A HREF=http://www.example.com>Slashdot</A>\n<LI><A href=http://www.fsf.org>FSF</A>\n<LI><A href=http://slashdot.org>Read Slashdot</A>\n<LI><A href=\"http://www.example.com/search.pl?topic=slash\">More \n on Slash </A> \n <LI><A href=\"http://www.example.com/search.pl?author=God\">Also \n by God </A>\n',NULL);
+INSERT INTO newstories VALUES ('00/01/25/1430236','slash','God',1,'You\'ve Installed Slash!','congratulations-dude','2000-01-25 10:13:31','So it took some doing, but it looks like you\'ve got Slash installed and ready to rock. You can now login using <A href=/admin.pl>backSlash</A>, the Slash Code Administration tool. The default l/p is God/pete, but I\'d suggest you change that. And you might wanna start posting some stories too.','',0,0,'articles',0,0,'1,1,0,0,0,0,0','<LI><A href=/admin.pl>backSlash</A>\n<LI><A href=\"http://www.example.com/search.pl?topic=slash\">More \n on Slash </A> \n <LI><A href=\"http://www.example.com/search.pl?author=God\">Also \n by God </A>\n',NULL);
#
# Dumping data for table 'pollanswers'
@@ -364,10 +364,10 @@ INSERT INTO postmodes VALUES ('exttrans','Extrans (html tags to text)');
INSERT INTO sectionblocks VALUES ('index','index_qlinks',7,'Quick Links',1,NULL,NULL,0);
INSERT INTO sectionblocks VALUES ('index','freshmeat',8,'Freshmeat',1,'http://freshmeat.net','http://freshmeat.net/backend/fm.rdf',1);
-INSERT INTO sectionblocks VALUES ('index','books',0,'Book Reviews',1,'/index.pl?section=books',NULL,0);
-INSERT INTO sectionblocks VALUES ('index','askslashdot',-1,'Ask Slashdot',1,'/index.pl?section=askslashdot','http://slashdot.org/askslashdot.rdf',0);
+INSERT INTO sectionblocks VALUES ('index','books',0,'Book Reviews',1,'index.pl?section=books',NULL,0);
+INSERT INTO sectionblocks VALUES ('index','askslashdot',-1,'Ask Slashdot',1,'index.pl?section=askslashdot','http://slashdot.org/askslashdot.rdf',0);
INSERT INTO sectionblocks VALUES ('features','features_qlinks',7,'Quick Links',0,NULL,NULL,0);
-INSERT INTO sectionblocks VALUES ('index','features',1,'Features',1,'/index.pl?section=features',NULL,0);
+INSERT INTO sectionblocks VALUES ('index','features',1,'Features',1,'index.pl?section=features',NULL,0);
INSERT INTO sectionblocks VALUES ('slash','slash',10,'This *is* Slash',0,NULL,NULL,0);
INSERT INTO sectionblocks VALUES ('index','poll',2,'Poll',1,NULL,NULL,0);
INSERT INTO sectionblocks VALUES ('index','index_more',5,'Older Stuff',1,NULL,NULL,0);
@@ -404,7 +404,7 @@ INSERT INTO sectionblocks VALUES ('index','newstrolls',0,'News Trolls',1,'http:/
INSERT INTO sectionblocks VALUES ('index','freaktech',0,'Freak Tech',1,'http://sunsite.auc.dk/FreakTech/','http://sunsite.auc.dk/FreakTech/FreakTech.rdf',0);
INSERT INTO sectionblocks VALUES ('index','absolutegame',0,'Absolute Games',1,'http://files.gameaholic.com/','http://files.gameaholic.com/agfa.rdf',0);
INSERT INTO sectionblocks VALUES ('index','sfnews',0,'Sci-Fi News',1,'http://www.technopagan.org/sf-news/','http://www.technopagan.org/sf-news/rdf.php',0);
-INSERT INTO sectionblocks VALUES ('index','userlogin',4,'Login',1,'/users.pl',NULL,0);
+INSERT INTO sectionblocks VALUES ('index','userlogin',4,'Login',1,'users.pl',NULL,0);
INSERT INTO sectionblocks VALUES ('index','slashdot',9,'Slashdot',1,'http://slashdot.org','http://slashdot.org/slashdot.rdf',1);
INSERT INTO sectionblocks VALUES ('index','smug',0,'Sister Machine Gun',1,'http://www.smg.org','http://www.smg.org/index/mynetscape.html',0);
INSERT INTO sectionblocks VALUES ('index','linuxm68k',0,'Linux M68k',1,'http://www.linux-m68k.org','http://www.linux-m68k.org/linux-m68k.rdf',0);
@@ -433,8 +433,8 @@ INSERT INTO sectionblocks VALUES ('index','geeks',-1,'Geeks in Space',1,'http://
INSERT INTO sectionblocks VALUES ('articles','articles_more',5,'Articles',0,NULL,NULL,0);
INSERT INTO sectionblocks VALUES ('index','linuxtuneup',-1,'Linux.com Tuneup',1,'http://tune.linux.com','http://linux.com/tuneup/chantips.phtml/tuneup.rdf',0);
INSERT INTO sectionblocks VALUES ('index','osopinion',-1,'osOpinion',1,'http://www.osopinion.com','http://www.osOpinion.com/OSOlinks2.xml',0);
-INSERT INTO sectionblocks VALUES ('index','yro',-1,'Your Rights Online',1,'/index.pl?section=yro','http://slashdot.org/yro.rdf',0);
-INSERT INTO sectionblocks VALUES ('index','bsd',-1,'BSD',1,'/index.pl?section=bsd','http://slashdot.org/bsd.rdf',0);
+INSERT INTO sectionblocks VALUES ('index','yro',-1,'Your Rights Online',1,'index.pl?section=yro','http://slashdot.org/yro.rdf',0);
+INSERT INTO sectionblocks VALUES ('index','bsd',-1,'BSD',1,'index.pl?section=bsd','http://slashdot.org/bsd.rdf',0);
INSERT INTO sectionblocks VALUES ('index','dailydaemon',-1,'Daily Daemon News',1,'http://daily.daemonnews.org/','http://daily.daemonnews.org/ddn.rdf.php3',0);
INSERT INTO sectionblocks VALUES ('index','lwndaily',-1,'LWN Daily',1,'http://www.lwn.net/daily/','http://lwn.net/headlines/rss',0);
INSERT INTO sectionblocks VALUES ('index','apache',-1,'Apache',1,'http://slashdot.org/index.pl?section=apache','http://slashdot.org/apache.rdf',0);
@@ -534,8 +534,8 @@ INSERT INTO statuscodes VALUES (10,'Archive');
# Dumping data for table 'stories'
#
-INSERT INTO stories VALUES ('00/01/25/1236215','slash','God',0,'Now What?','where-do-you-go-from-here','2000-01-25 08:32:02','You should play around with the admin stuff. Configure things to\r\nyour tastes. You should also edit the slashdotrc.pl to define things like your websites name and slogan. You should also donate some money to the <A href=http://www.fsf.org>FSF</A> and <A href=http://slashdot.org>Read Slashdot</A>. \r\n','',0,0,'articles',0,0,'0,0,0,0,0,0,0','<LI><A HREF=http://www.yoursite.com>Slashdot</A>\n<LI><A href=http://www.fsf.org>FSF</A>\n<LI><A href=http://slashdot.org>Read Slashdot</A>\n<LI><A href=\"http://www.yoursite.com/search.pl?topic=slash\">More \n on Slash </A> \n <LI><A href=\"http://www.yoursite.com/search.pl?author=God\">Also \n by God </A>\n',NULL);
-INSERT INTO stories VALUES ('00/01/25/1430236','slash','God',1,'You\'ve Installed Slash!','congratulations-dude','2000-01-25 10:13:31','So it took some doing, but it looks like you\'ve got Slash installed and ready to rock. You can now login using <A href=/admin.pl>backSlash</A>, the Slash Code Administration tool. The default l/p is God/pete, but I\'d suggest you change that. And you might wanna start posting some stories too.','',0,0,'articles',0,0,'1,1,0,0,0,0,0','<LI><A href=/admin.pl>backSlash</A>\n<LI><A href=\"http://www.yoursite.com/search.pl?topic=slash\">More \n on Slash </A> \n <LI><A href=\"http://www.yoursite.com/search.pl?author=God\">Also \n by God </A>\n',NULL);
+INSERT INTO stories VALUES ('00/01/25/1236215','slash','God',0,'Now What?','where-do-you-go-from-here','2000-01-25 08:32:02','You should play around with the admin stuff. Configure things to\r\nyour tastes. You should also edit the slashdotrc.pl to define things like your websites name and slogan. You should also donate some money to the <A href=http://www.fsf.org>FSF</A> and <A href=http://slashdot.org>Read Slashdot</A>. \r\n','',0,0,'articles',0,0,'0,0,0,0,0,0,0','<LI><A HREF=http://www.example.com>Slashdot</A>\n<LI><A href=http://www.fsf.org>FSF</A>\n<LI><A href=http://slashdot.org>Read Slashdot</A>\n<LI><A href=\"http://www.example.com/search.pl?topic=slash\">More \n on Slash </A> \n <LI><A href=\"http://www.example.com/search.pl?author=God\">Also \n by God </A>\n',NULL);
+INSERT INTO stories VALUES ('00/01/25/1430236','slash','God',1,'You\'ve Installed Slash!','congratulations-dude','2000-01-25 10:13:31','So it took some doing, but it looks like you\'ve got Slash installed and ready to rock. You can now login using <A href=/admin.pl>backSlash</A>, the Slash Code Administration tool. The default l/p is God/pete, but I\'d suggest you change that. And you might wanna start posting some stories too.','',0,0,'articles',0,0,'1,1,0,0,0,0,0','<LI><A href=/admin.pl>backSlash</A>\n<LI><A href=\"http://www.example.com/search.pl?topic=slash\">More \n on Slash </A> \n <LI><A href=\"http://www.example.com/search.pl?author=God\">Also \n by God </A>\n',NULL);
#
# Dumping data for table 'storiestuff'
@@ -649,13 +649,13 @@ INSERT INTO tzcodes VALUES ('iss',7200,'Israel Standard');
# Dumping data for table 'users'
#
-INSERT INTO users VALUES (1,'author1','author1@yoursite.com',NULL,NULL,'change',NULL,0,'author1');
+INSERT INTO users VALUES (1,'author1','author1@example.com',NULL,NULL,'change',NULL,0,'author1');
INSERT INTO users VALUES (-1,'Anonymous Coward','','','','change','',0,'anonymouscoward');
-INSERT INTO users VALUES (2,'user1','user1@user1.com',NULL,NULL,'change',NULL,0,'user1');
-INSERT INTO users VALUES (3,'user2','user2@user2.com',NULL,NULL,'change',NULL,0,'user2');
-INSERT INTO users VALUES (4,'user3','user3@user3.com',NULL,NULL,'change',NULL,0,'user3');
-INSERT INTO users VALUES (5,'user4','user4@user4.com',NULL,NULL,'change',NULL,0,'user4');
-INSERT INTO users VALUES (6,'author2','author2@mysite.com',NULL,NULL,'change',NULL,0,'author2');
+INSERT INTO users VALUES (2,'user1','user1@example.com',NULL,NULL,'change',NULL,0,'user1');
+INSERT INTO users VALUES (3,'user2','user2@example.com',NULL,NULL,'change',NULL,0,'user2');
+INSERT INTO users VALUES (4,'user3','user3@example.com',NULL,NULL,'change',NULL,0,'user3');
+INSERT INTO users VALUES (5,'user4','user4@example.com',NULL,NULL,'change',NULL,0,'user4');
+INSERT INTO users VALUES (6,'author2','author2@example.com',NULL,NULL,'change',NULL,0,'author2');
#
# Dumping data for table 'users_comments'
View
17 themes/slashcode/htdocs/admin.pl
@@ -745,19 +745,19 @@ sub colorEdit {
<TR>
<TD>Background color 1 \$I{bg}[1]</TD>
<TD><INPUT TYPE="TEXT" WIDTH="12" NAME="bg1" VALUE="$colors[5]"></TD>
- <TD><FONT FACE="ARIAL,HELVETICA" SIZE="+1" COLOR="$colors[5]">Background color 1 \$I{fg}[1]</FONT></TD>
+ <TD><FONT FACE="ARIAL,HELVETICA" SIZE="+1" COLOR="$colors[5]">Background color 1 \$I{bg}[1]</FONT></TD>
<TD BGCOLOR="$colors[5]">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TD>
<TR>
<TD>Background color 2 \$I{bg}[2]</TD>
<TD><INPUT TYPE="TEXT" WIDTH="12" NAME="bg2" VALUE="$colors[6]"></TD>
- <TD><FONT FACE="ARIAL,HELVETICA" SIZE="+1" COLOR="$colors[6]">Background color 2 \$I{fg}[2]</FONT></TD>
+ <TD><FONT FACE="ARIAL,HELVETICA" SIZE="+1" COLOR="$colors[6]">Background color 2 \$I{bg}[2]</FONT></TD>
<TD BGCOLOR="$colors[6]">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR>
<TD>Background color 3 \$I{bg}[3]</TD>
<TD><INPUT TYPE="TEXT" WIDTH="12" NAME="bg3" VALUE="$colors[7]"></TD>
- <TD><FONT FACE="ARIAL,HELVETICA" SIZE="+1" COLOR="$colors[7]">Background color 3 \$I{fg}[3]</FONT></TD>
+ <TD><FONT FACE="ARIAL,HELVETICA" SIZE="+1" COLOR="$colors[7]">Background color 3 \$I{bg}[3]</FONT></TD>
<TD BGCOLOR="$colors[7]">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR>
@@ -1183,7 +1183,7 @@ sub editstory {
$S->{relatedtext} = getRelated("$S->{title} $S->{bodytext} $S->{introtext}")
. otherLinks($S->{aid}, $S->{tid});
- fancybox(200, 'Related Links', $S->{relatedtext});
+ fancybox($I{fancyboxwidth}, 'Related Links', $S->{relatedtext});
$I{query}->param('relatedtext', $S->{relatedtext});
$I{query}->hidden('relatedtext');
@@ -1202,7 +1202,7 @@ sub editstory {
$I{currentSection} = $tmp;
print '</TD><TD WIDTH="220" VALIGN="TOP">';
- fancybox(200,'Related Links', $S->{relatedtext});
+ fancybox($I{fancyboxwidth},'Related Links', $S->{relatedtext});
$I{query}->param('relatedtext', $S->{relatedtext});
print '</TD></TR></TABLE>';
@@ -1313,14 +1313,15 @@ sub editstory {
print <<EOT;
Extended Copy<BR>
- <TEXTAREA NAME="bodytext" COLS="70" WRAP="VIRTUAL" ROWS="10">$bodytext</TEXTAREA><BR>
-Import Image (don't even both trying this yet :)<BR>
- <INPUT TYPE="file" NAME="importme"><BR>
+ <TEXTAREA NAME="bodytext" COLS="70" WRAP="VIRTUAL" ROWS="40">$bodytext</TEXTAREA><BR>
<!-- end edit story -->
EOT
+#Import Image (don't even both trying this yet :)<BR>
+# <INPUT TYPE="file" NAME="importme"><BR>
+
editbuttons($newarticle);
}
View
8 themes/slashcode/htdocs/article.pl
@@ -80,10 +80,10 @@ sub main {
pollbooth($I{F}{sid}) if sqlSelect('qid', 'pollquestions', "qid='$S->{sid}'");
# Related Links
- fancybox(200, 'Related Links', $S->{relatedtext});
+ fancybox($I{fancyboxwidth}, 'Related Links', $S->{relatedtext});
# Display this section's Section Block (if Found)
- fancybox(200, $SECT->{title}, getblock($SECT->{section}));
+ fancybox($I{fancyboxwidth}, $SECT->{title}, getblock($SECT->{section}));
print qq!</TD></TR><TR><TD COLSPAN="3">\n!;
@@ -156,7 +156,7 @@ sub pleaseLogin {
my $block = eval prepBlock getblock('userlogin');
$block =~ s/index\.pl/article.pl?sid=$I{F}{sid}/;
$block =~ s/\$I{rootdir}/$I{rootdir}/g;
- fancybox(200, "$I{sitename} Login", $block);
+ fancybox($I{fancyboxwidth}, "$I{sitename} Login", $block);
}
##################################################################
@@ -192,7 +192,7 @@ sub yourArticle {
$m .= "<P> $I{U}{mylinks} ";
- fancybox(200, $I{U}{aid} || $I{U}{nickname}, $m);
+ fancybox($I{fancyboxwidth}, $I{U}{aid} || $I{U}{nickname}, $m);
}
##################################################################
View
4 themes/slashcode/htdocs/cheesyportal.pl
@@ -52,14 +52,14 @@ sub main {
my $b;
while (my($block, $title, $bid, $url) = $c->fetchrow) {
if ($bid eq "mysite") {
- $b = portalbox(200, "$I{U}{nickname}'s Slashbox",
+ $b = portalbox($I{fancyboxwidth}, "$I{U}{nickname}'s Slashbox",
$I{U}{mylinks} || $block
);
} elsif ($bid =~ /_more$/) {
} elsif ($bid eq "userlogin") {
} else {
- $b = portalbox(200, $title, $block, "", $url);
+ $b = portalbox($I{fancyboxwidth}, $title, $block, "", $url);
}
print $b;
View
16 themes/slashcode/htdocs/index.pl
@@ -41,9 +41,11 @@ sub main {
# $I{F}{mode} = $I{U}{mode}="dynamic" if $ENV{SCRIPT_NAME};
for ($I{F}{op}) {
- /^u$/ and upBid($I{F}{bid});
- /^d$/ and dnBid($I{F}{bid});
- /^x$/ and rmBid($I{F}{bid});
+ my $c;
+ upBid($I{F}{bid}), $c++ if /^u$/;
+ dnBid($I{F}{bid}), $c++ if /^d$/;
+ rmBid($I{F}{bid}), $c++ if /^x$/;
+ redirect($ENV{SCRIPT_NAME}) if $c;
}
my $SECT = getSection($I{F}{section});
@@ -176,12 +178,12 @@ sub displayStandardBlocks {
foreach my $bid (@boxes) {
if ($bid eq 'mysite') {
print portalbox(
- 200, "$I{U}{nickname}'s Slashbox",
+ $I{fancyboxwidth}, "$I{U}{nickname}'s Slashbox",
$I{U}{mylinks} || 'This is your user space. Love it.',
$bid
);
} elsif ($bid =~ /_more$/) {
- print portalbox(200,"Older Stuff",
+ print portalbox($I{fancyboxwidth},"Older Stuff",
getOlderStories($olderStuff, $SECT),
$bid) if $olderStuff;
} elsif ($bid eq "userlogin" && $I{U}{uid} > 0) {
@@ -189,11 +191,11 @@ sub displayStandardBlocks {
} elsif ($bid eq "userlogin") {
my $SB = $I{boxBank}{$bid};
my $B = eval prepBlock $I{blockBank}{$bid};
- print portalbox(200, $SB->{title}, $B, $SB->{bid}, $SB->{url});
+ print portalbox($I{fancyboxwidth}, $SB->{title}, $B, $SB->{bid}, $SB->{url});
} else {
my $SB = $I{boxBank}{$bid};
my $B = $I{blockBank}{$bid};
- print portalbox(200, $SB->{title}, $B, $SB->{bid}, $SB->{url});
+ print portalbox($I{fancyboxwidth}, $SB->{title}, $B, $SB->{bid}, $SB->{url});
}
}
}
View
4 themes/slashcode/htdocs/users.pl
@@ -162,7 +162,7 @@ sub checkList {
my $string = shift;
$string = substr($string, 0, -1);
- $string =~ s/[^\w,]//g;
+ $string =~ s/[^\w,-]//g;
my @e = split m/,/, $string;
$string = sprintf "'%s'", join "','", @e;
@@ -204,7 +204,7 @@ sub previewSlashbox {
print qq!</TD><TD WIDTH="180" VALIGN="TOP">!;
- print portalbox("200", $title, $content, "", $url);
+ print portalbox($I{fancyboxwidth}, $title, $content, "", $url);
}
#################################################################
Please sign in to comment.
Something went wrong with that request. Please try again.