圖書管理程序(二)

圖書目錄輸入部分:
<?
if(!$UploadAction):
?>
<?
//本程序是為輸入書名,作者、出版社資料而設。
//編者:孔秀祥。日期:2001/3/24
/*
session_start();
if (!isset($auth_passed)) {
echo “本功能隻有授權用戶才能使用。”;
return -1;
}

if(isset($u_name)) {
  session_name($u_name);

//echo “<center><font color=red>”.session_name().”:本程序將竭誠為您服務。</font></center>
“;
//echo “<hr>”;
}
*/
?>
<HTML><HEAD>
<TITLE>圖書目錄輸入 </TITLE>
</HEAD>
<BODY><TABLE align=CENTER>
<FORM ENCTYPE= “multipart/form-data” NAME = “SubmitForm”
ACTION= “<? $php(做為現在的主流開發語言)_SELF ?>” METHOD = “POST”>
<INPUT TYPE= “hidden” NAME = “MAX_FILE_SIZE” VALUE =”20000000″>
<INPUT TYPE= “hidden” NAME = “UploadAction” VALUE = “1”>

<!–TR><TD>文件名<TD><INPUT NAME = “UploadFile” TYPE = “file” VALUE=”” SIZE = “30”></TR–>
<TR><TD align=center>著作名<TD><INPUT NAME = “b_name” TYPE = “text” VALUE=”” SIZE = “30” maxlength=100></TD></TR>
<TR><TD align=center>作者<TD>姓<INPUT NAME = “a_first1” TYPE = “text” VALUE=”” SIZE = “6” maxlength=20>
名<INPUT NAME = “a_last1” TYPE = “text” VALUE=”” SIZE = “6” maxlength=20></TD></TR>
<TR><TD align=center>作者<TD>姓<INPUT NAME = “a_first2” TYPE = “text” VALUE=”” SIZE = “6” maxlength=20>
名<INPUT NAME = “a_last2” TYPE = “text” VALUE=”” SIZE = “6” maxlength=20></TD></TR>
<TR><TD align=center>作者<TD>姓<INPUT NAME = “a_first3” TYPE = “text” VALUE=”” SIZE = “6” maxlength=20>
名<INPUT NAME = “a_last3” TYPE = “text” VALUE=”” SIZE = “6” maxlength=20></TD></TR>
<TD>編著方式</TD>
<TD>
<SELECT size=”1″ name=”author_type” TYPE = “int” default=11>
<OPTION selected value=”11″>&nbsp;&nbsp;著 </OPTION>
<OPTION selected value=”12″>&nbsp;編著 </OPTION>
<OPTION value=”13″>&nbsp;主編</OPTION>
<OPTION value=”14″>副主編</OPTION>
<OPTION value=”15″> &nbsp;參編</OPTION>
<OPTION value=”16″> &nbsp;&nbsp;註 </OPTION>
<OPTION value=”17″> &nbsp;&nbsp;編 </OPTION>
<OPTION value=”18″> &nbsp;&nbsp;選 </OPTION>
<OPTION value=”19″> &nbsp;&nbsp;評 </OPTION>
<OPTION value=”20″>&nbsp;其他</OPTION>
</SELECT>
&nbsp;&nbsp;定價<INPUT NAME = “b_price_a” TYPE = “text” VALUE=”” SIZE = “3”>.<INPUT NAME = “b_price_b” TYPE = “text” VALUE=”” SIZE = “2”>元
</TR>

<TR><TD align=center>出版社<TD><INPUT NAME = “p_name” TYPE = “text” VALUE=”” SIZE = “30” maxlength=100></TD></TR>
<TR><TD>出版日期<TD><INPUT NAME = “p_year” TYPE = “text” VALUE=”” SIZE = “4”>年
<INPUT NAME = “p_month” TYPE = “text” VALUE=”” SIZE = “2”>月  
<TR><TD>ISBN<TD><INPUT NAME = “isbn” TYPE = “text” VALUE=”” SIZE = “25”>

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *