#!/usr/bin/perl
#発表申し込み　入力確認ページ
require "cgi-lib.pl";
&ReadParse;
$bgcolor = "#FFFFFF";  #背景色 
$fcolor="#000000";     #文字色
$align = "center";

print "Content-type: text/html\n\n";
print"<HTML><HEAD><TITLE>SCCJ 秋季年会 \発\表\申\し込み内容の確認</TITLE>
<META http-equiv=\"Content-Type\" content=\"text/html; charset=Shift_JIS\">
<META http-equiv=\"Content-Style-Type\" content=\"text/css\">
</HEAD>
<BODY bgcolor=#FFFFFF leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>
  <div align=center></div>
<form action=./entry01_2.cgi method=post enctype=\"multipart/form-data\">
  <div align=center><BR>
<TABLE border=1 cellpadding=0 cellspacing=0 width=609 bordercolor=#FFFFFF>
        
      <tr>
        <td colspan=2 nowrap bgcolor=#CCCCCC><div align=center><STRONG>\発\表\申\込内容の確認</STRONG></div></td>
      </tr>
      <tr>
        <td colspan=2 nowrap bgcolor=#FFFFFF></td>
      </tr>
      <tr>
        <td colspan=2 nowrap bgcolor=#FFFFFF></td>
      </tr>
      <tr>
    <TD nowrap bgcolor=#CCCCFF align=left height=19 width=144><FONT size=-1>&nbsp;氏名</FONT></TD>
    <TD bgcolor=#CCCCCC height=19 width=459>$in{'name'}<INPUT type=hidden name=name value=$in{'name'}></TD>
  </tr>
      <tr>
    <TD nowrap bgcolor=#CCCCFF align=left height=19 width=144><font size=2>&nbsp;氏名（フリガナ）</font></TD>
    <TD bgcolor=#CCCCCC height=19 width=459>$in{'name_furigana'}<INPUT type=hidden name=name_furigana value=$in{'name_furigana'}></TD>
  </tr>        
      <tr>
    <TD nowrap bgcolor=#CCCCFF align=left width=144><font size=2>&nbsp;所属</font></TD>
    <TD bgcolor=#CCCCCC width=459>$in{'company'}<INPUT type=hidden name=company value=$in{'company'}></TD>
  </tr>
      <tr>
    <TD nowrap bgcolor=#CCCCFF align=left width=144><font size=2>&nbsp;E-mail</font></TD>
    <TD bgcolor=#CCCCCC width=459>$in{'email1'}<INPUT type=hidden name=email value=$in{'email1'}></TD>
  </tr><tr>
    <TD nowrap bgcolor=#CCCCFF align=left width=144>
    <div align=right>
    <DIV align=left><FONT size=2>&nbsp;電話番号</FONT></DIV>
    </div>
    </TD>
    <TD bgcolor=#CCCCCC width=459>$in{'tel1'} $in{'tel2'} $in{'tel3'}<INPUT type=hidden name=tel value=\"$in{'tel1'}-$in{'tel2'}-$in{'tel3'}\"></TD>
  </tr>
      <tr>
    <TD nowrap bgcolor=#CCCCFF align=left width=144>
    <div align=right>
    <DIV align=left><FONT size=2>&nbsp;電話内線番号</FONT></DIV>
    </div>
    </TD>
    <TD bgcolor=#CCCCCC width=459>$in{'telext'}<INPUT type=hidden name=telext value=$in{'telext'}></TD>
  </tr>
      <tr>
    <TD nowrap bgcolor=#CCCCFF align=left width=144><font size=2>&nbsp;郵便物宛先</font></TD>
    <TD bgcolor=#CCCCCC width=459></TD>
  </tr>
      <tr>
    <TD nowrap bgcolor=#CCCCFF align=center width=144><div align=right><font size=2>郵便番号：</font></div></TD>
    <TD bgcolor=#CCCCCC width=459>$in{'zip_1'} $in{'zip_2'} <INPUT type=hidden name=zip value=\"$in{'zip_1'}-$in{'zip_2'}\"></TD>
  </tr>
      <tr>
    <TD nowrap bgcolor=#CCCCFF align=center width=144><div align=right>
    <DIV align=right><FONT size=2>住所：</FONT></DIV>
    </div></TD>
    <TD bgcolor=#CCCCCC width=459> $in{'addr'}<INPUT type=hidden name=addr value=$in{'addr'}></TD>
  </tr>
      <tr>
    <TD nowrap bgcolor=#CCCCFF align=center width=144>
    <DIV align=left><font size=2>&nbsp;発表論文題目</font></DIV>
    </TD>
    <TD bgcolor=#CCCCCC width=459> $in{'theme'}<INPUT type=hidden name=theme value=$in{'theme'}></TD>
  </tr>
      <tr>
    <TD nowrap bgcolor=#CCCCFF align=center width=144><div align=right>
    <DIV align=right>
    <DIV align=left><FONT size=2>&nbsp;発表者氏名と所属略称</FONT></DIV>
    </DIV>
    </div></TD>
    <TD bgcolor=#CCCCCC width=459> $in{'presen'}<INPUT type=hidden name=presen value=$in{'presen'}></TD>
  </tr><tr>
    <TD nowrap bgcolor=#CCCCFF align=left width=144><font size=2>&nbsp;概 &nbsp; 要</font></TD>
    <TD bgcolor=#CCCCCC width=459> $in{'gai'}<INPUT type=hidden name=gai value=$in{'gai'}></TD>
  </tr>
      <tr>
    <TD nowrap bgcolor=#CCCCFF align=left width=144>
    <DIV align=left><font size=2>&nbsp;発表種別</font></DIV>
    </TD>
    <TD bgcolor=#CCCCCC width=459> $in{'shu'}<INPUT type=hidden name=shu value=$in{'shu'}></TD>
  </tr><tr>
    <TD nowrap bgcolor=#CCCCFF align=left width=144><font size=2>&nbsp;連絡事項</font></TD>
    <TD bgcolor=#CCCCCC width=459 valign=top> $in{'comment'}<INPUT type=hidden name=comment value=$in{'comment'}></TD>
  </tr><tr>
    <TD width=144></TD>
    <TD width=459></TD>
  </tr>
        
      <tr> 
        <td colspan=2 bgcolor=#CCCCCC>
    <DIV align=center>
            <font size=2>
            <input type=hidden name=phase value=1>
            </font> &nbsp; &nbsp;&nbsp;<INPUT type=submit value=\"       この内容で送信する       \" name=submit>
        </DIV>
    </td>
      </tr>
    </TABLE><br></div>
</form></BODY></HTML>";
$back="entry01backup.csv";
open(FILE, ">> $back") && flock(FILE,2);
print FILE "$in{'name'},$in{'company'},$in{'email1'},$in{'theme'},$in{'presen'},$in{'gai'},$in{'shu'}\n";
close(FILE);