rewritten
authorshort <>
Wed, 15 Oct 2003 10:38:23 +0000 (10:38 +0000)
committershort <>
Wed, 15 Oct 2003 10:38:23 +0000 (10:38 +0000)
Index.html.pl [new file with mode: 0755]

diff --git a/Index.html.pl b/Index.html.pl
new file mode 100755 (executable)
index 0000000..49cb4f4
--- /dev/null
@@ -0,0 +1,76 @@
+#! /usr/bin/perl
+# 
+# $Id$
+# Main page Perl template.
+# Copyright (C) 2003 Jan Kratochvil <project-www.jankratochvil.net@jankratochvil.net>
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; exactly version 2 of June 1991 is required
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+
+package Index;
+require 5.6.0; # at least 'use warnings;' but we need some 5.6.0+ modules anyway
+our $VERSION=do { my @r=(q$Revision$=~/\d+/g); sprintf "%d.".("%03d"x$#r),@r; };
+our $CVS_ID=q$Id$;
+use strict;
+use warnings;
+
+BEGIN{ open F,"Makefile"; our $top_dir=pop @{[split /\s/,(grep /^top_srcdir/,<F>)[0]]}; eval "use lib '$top_dir'"; close F; }
+use My::Web;
+require CGI;
+
+
+my $W=My::Web->init(
+               "__PACKAGE__"=>__PACKAGE__,
+               "title"=>'Homepage',
+               );
+My::Web->heading();
+
+
+print <<"HERE";
+<h1>Jan Kratochvil Homepage</h1>
+<hr />
+
+<p>Why did you come here? Shhh...Don't say anything &ndash; I'll guess.</p>
+
+<p>Some paper...no, not a paper...a file...maybe even a folder. It is
+so close you can almost touch it, but yet it is unreachable. It lies
+behind glass...perhaps you can see it...but you cannot touch it.</p>
+
+<p>For years, you have dreamed of being able to write to your NTFS partition
+from the safety of your favorite OS GNU/Linux. Well, the day of reckoning is at
+hand! Those nights lying awake feeling foolish for having that extra VFAT
+partition just to exchange files between GNU/Linux and MS-Windows are over!</p>
+
+<div style="background: #551111;><p>
+       <b>A programmer for hire:</b>
+       <span style="color: #ffaaaa;">
+               I am looking for new challenges.
+               If you find the software here useful, please
+               @{[ a_href $W->{"resume_url"},'consider me' ]}
+               for your next software project and
+               @{[ a_href 'Contact.html.pl','get in touch' ]}</a>.
+       </span>
+</p></div>
+
+
+<h2>Introducing the <i>Captive NTFS Filesystem</i> for GNU/Linux</h2>
+
+<p>The @{[ a_href '/project/captive/','Captive NTFS' ]} filesystem is an
+installable filesystem for GNU/Linux which allows read/write access to NTFS
+partitions created by Windows NT or 200x. You can download it
+@{[ a_href '/project/captive/','here' ]}.</p>
+HERE
+
+
+My::Web->footer();