head     1.1;
branch   ;
access   ;
symbols  ;
locks    perlman:1.1; strict;
comment  @# @;


1.1
date     96.06.26.11.25.53;  author perlman;  state Exp;
branches ;
next     ;


desc
@@



1.1
log
@Initial revision
@
text
@#! /bin/ksh

. functions

title="HCI-Related Conferences"
genheader "$title"

years="96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81"
confers="CHI CSCW HYPER UIST SIGDOC SIGIR SIGOIS"

echo "<table border=1>"

# first print the list of all conferences with links to pages
echo "<tr><td>YEAR"
for confer in $confers
do
	echo "<td><a href=conferences-$confer.html>$confer</a>"
done

for year in $years
do

	echo "<tr>"
	echo "<td>19$year"
	for confer in $confers
	do
		# get picture of conference or use string if missing
		echo "<td valign=center align=center>"
		record=`sssearch "codename=$confer & year=$year" conferences.db`
		if test "$record"
		then
			imagesmall=`echo "$record" | ssformat -t %imagesmall`
			#url=`echo "$record" | ssformat -t %url`
			acmordernumber=`echo "$record" | ssformat -t %acmordernumber`
			if test "$acmordernumber"
			then
				set -- $acmordernumber # only want the first matching
				echo "	<a href=$1.html>"
			fi
			if test "$imagesmall"
			then
				echo "		<img height=100 src=$imagesmall alt=[$confer'$year]>"
			else
				echo "		$confer'$year"
			fi
			if test "$acmordernumber"
			then
				echo "	</a>"
			fi
		else
			echo "<br>"
		fi
	done
done

echo "</table>"

genfooter
@
