#!/usr/bin/env ruby
#
# 表題: ape お絵描きサムネイル HTML 作成スクリプト
#
# 履歴: 2003/09/28 やまだ由 
#
# 注意: 本プログラムは, 
#       dcphoto.pl Ver 1.02 - 写真用 HTML作成スクリプト
#       Mitsuda Chihiro   <totera@ep.sci.hokudai.ac.jp>
#       を ruby で写経し, やまだ由用にカスタマイズしたものである 
#
#
#
#

END{

unless $index == "end" then

  print $title, "\n"

  # rd のみの出力
  #apethum_rd 
  # html も出力
  apethum

end

}


########################################################
##  ユーザ設定
########################################################


# インデックスファイル  $PWD/../html/${index}.html, $PWD/../html/table_${index}.rd
$index = "figs-qradl"

# 情報ファイル, $PWD/${infofile}
$infofile = $index + ".txt"

# 拡張子
$base = ".gif"

# 絵のあるディレクトリ名, $PWD/../${figdir}
# $figdir = "spct"
# $figdir = "xteq"
$figdir = "tmean"

# 横にならべるファイル数

# $figtable_num = 5
$figtable_num = 2

#画像ファイルサイズ

# $width  = "160"
# $height = "120"

# $width  = "200"
# $height = "150"

$width  = "280"
$height = "210"


# テーブル, フォントの色
$color_table   = "#ADD8E6" 
$color_font    = "#000080" 
$color_link    = "#269900" 
$color_visited = "#269900" 
$color_hover   = "#99FF33" 

# html ヘッダタイトル
$title  = "修論 figs"

# サムネイルタイトル
$header1 = $title 
$header2 = " "


# サムネイルフッタ ;
$footer = "Last update: #{Time.now} <br> 
           Copyright &copy\; 2003 YAMADA Yukiko"




########################################################
##  include ファイル
########################################################

require 'date'
require '/home/yukiko/lib/ape-thum.rb'
$KCODE = "e"

