Dynamicly calculate amount of gallery items.

Submitted by:	Hiroki Sato <hrs@geocities.co.jp>
This commit is contained in:
Alexey Zelkin 2000-04-07 13:09:21 +00:00
parent ff77bb7190
commit 817b33c2ef
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=7021
2 changed files with 42 additions and 8 deletions

View file

@ -1,4 +1,4 @@
# $FreeBSD$
# $FreeBSD: www/en/gallery/Makefile,v 1.7 1999/09/06 07:02:43 peter Exp $
.if exists(../Makefile.conf)
.include "../Makefile.conf"
@ -11,7 +11,7 @@ DOCS+= pgallery.sgml
INDEXLINK= gallery.html
CLEANFILES+= cgallery.inc npgallery.inc pgallery.inc
CLEANFILES+= cgallery.inc npgallery.inc pgallery.inc gallery.inc
cgallery.html: cgallery.sgml cgallery.inc
cgallery.inc: gallery.db gengallery.pl
@ -25,5 +25,12 @@ pgallery.html: pgallery.sgml pgallery.inc
pgallery.inc: gallery.db gengallery.pl
perl ./gengallery.pl personal gallery.db > pgallery.inc
gallery.html: gallery.sgml gallery.inc
gallery.inc: gallery.db gallery.sgml
perl ./prune.pl gallery.db /dev/null | \
perl -ne 'chomp; m/([-\w]+):\s+(\d+)/ and \
print qq/<!ENTITY num./.lc($$1).qq/ CDATA "$$2">\n/' \
> gallery.inc
.include "../web.mk"

View file

@ -1,15 +1,31 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN" [
<!ENTITY base CDATA "..">
<!ENTITY date "$FreeBSD: www/en/gallery/gallery.sgml,v 1.48 2000/03/05 18:36:40 phantom Exp $">
<!ENTITY date "$FreeBSD: www/en/gallery/gallery.sgml,v 1.49 2000/04/01 10:43:54 phantom Exp $">
<!ENTITY title "The FreeBSD Gallery">
<!ENTITY % includes SYSTEM "../includes.sgml"> %includes;
<!ENTITY % gallery SYSTEM "./gallery.inc"> %gallery;
]>
<!-- $FreeBSD: www/en/gallery/gallery.sgml,v 1.48 2000/03/05 18:36:40 phantom Exp $ -->
<!-- $FreeBSD: www/en/gallery/gallery.sgml,v 1.49 2000/04/01 10:43:54 phantom Exp $ -->
<html>
<HTML>
&header;
<P>All over the world, FreeBSD is powering innovative Internet applications and services. This gallery is a showcase of 1608 organizations and individuals who have put FreeBSD to work for them. Browse and find out more about what FreeBSD can do for <STRONG>you</STRONG>!</P><P></P>
<A NAME="commercial"></A><A NAME="non-profit"></A><A NAME="personal"></A><UL><LI><A HREF="cgallery.html">1008 commercial organizations</A></LI><LI><A HREF="npgallery.html">438 non-profit organizations</A></LI><LI><A HREF="pgallery.html">162 personal sites</A></LI></UL><P>To have your site added to these lists, simply fill out <A HREF="http://www.FreeBSD.org/cgi/gallery.cgi">this form</A>.<P>
<P>All over the world, FreeBSD is powering innovative Internet applications
and services. This gallery is a showcase of &num.total; organizations and
individuals who have put FreeBSD to work for them. Browse and find out
more about what FreeBSD can do for <STRONG>you</STRONG>!</P>
<P></P>
<A NAME="commercial"></A>
<A NAME="non-profit"></A>
<A NAME="personal"></A>
<UL>
<LI><A HREF="cgallery.html">&num.commercial; commercial organizations</A></LI>
<LI><A HREF="npgallery.html">&num.non-profit; non-profit organizations</A></LI>
<LI><A HREF="pgallery.html">&num.personal; personal sites</A></LI>
</UL>
<P>To have your site added to these lists, simply fill out
<A HREF="http://www.FreeBSD.org/cgi/gallery.cgi">this form</A>.</P>
<TABLE WIDTH="100%" BORDER="0">
<TR>
<TD ALIGN="LEFT"><IMG SRC="../gifs/powerlogo.gif" ALT="" ALIGN="LEFT" BORDER="0"></TD>
@ -28,6 +44,17 @@
<IMG SRC="../gifs/banner3.gif" ALT="" WIDTH=250 HEIGHT=35 BORDER=0><P>
<IMG SRC="../gifs/banner4.gif" ALT="" WIDTH=225 HEIGHT=46 BORDER=0><P>
</CENTER>
<P>The "Powered by FreeBSD" logos above may be <A HREF="../gifs/powerlogo.gif">downloaded</A> and displayed on personal or commercial home pages served by FreeBSD machines. Use of this logo or the likeliness of the <A HREF="../copyright/daemon.html">BSD Daemons</A> for profitable gain requires the consent of <A HREF="mailto:taob@risc.org">Brian Tao</A> (creator of the "power" logo) and <A HREF="mailto:mckusick@mckusick.com">Marshall Kirk McKusick</A> (trademark holder for the BSD Daemon image).<P>&footer;</body></html>
<P>The "Powered by FreeBSD" logos above may be
<A HREF="../gifs/powerlogo.gif">downloaded</A> and displayed on personal or
commercial home pages served by FreeBSD machines. Use of this logo or the
likeliness of the <A HREF="../copyright/daemon.html">BSD Daemons</A> for
profitable gain requires the consent of
<A HREF="mailto:taob@risc.org">Brian Tao</A> (creator of the "power" logo)
and <A HREF="mailto:mckusick@mckusick.com">Marshall Kirk McKusick</A>
(trademark holder for the BSD Daemon image).
<P>
&footer;
</BODY>
</HTML>