$header

<script language="JavaScript">
function Juge(theForm)
{
  
  if (theForm.name.value.length<2 || theForm.name.value.length>16){alert('姓名请用中文全名。');theForm.name.focus();return false}
if (theForm.email.value.length<5 || theForm.email.value.length>50){alert('请填写Email！！');theForm.email.focus();return false}


}
</script>

<p align="center"><b><font size="5" color="#FF9900">忆&nbsp;&nbsp;&nbsp;&nbsp;    
库</font></b><font color="#FFFFFF">[添加相片]</font><b><font size="2" color="#ffffff"><br>   
<br>请用gif或jpg文件格式！！   
</font></b></p>   
<form method="POST"  enctype="multipart/form-data" action="add.php" onSubmit="return Juge(this)">  
   
  <div align="center">
    <center>
    <table border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="50%"><font color="#FFFFFF">您的姓名:</font><input type="text" name="name" size="20">&nbsp;&nbsp;</td>
        <td width="50%">&nbsp;<font color="#FFFFFF">E-mail地址:</font><input type="text" name="email" size="20"></td>
      </tr>
      
    </table>
    </center>
  </div>
<div align="center">
  <center>
  <table border="1" width="628" bgcolor="#C0C0C0">
    <tr>
      <td width="218" align="center">相片文件名</td> 
      <td width="243" align="center">主&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 题</td>  
      <td width="151" align="center">拍&nbsp; 摄&nbsp; 日&nbsp; 期</td> 
    </tr> 
    <tr> 
      <td width="218" align="center" bgcolor="#CCFFFF"><input type="file" name="file1" size="30"></td> 
      <td width="243" align="center" bgcolor="#CCFFFF"><input type="text" name="t1" size="33"></td> 
      <td width="151" align="center" bgcolor="#CCFFFF"><input type="text" name="d1" size="20"></td> 
    </tr> 
    <tr> 
      <td width="218" align="center" bgcolor="#FFFFCC"><input type="file" name="file2" size="30"></td> 
      <td width="243" align="center" bgcolor="#FFFFCC"><input type="text" name="t2" size="33"></td> 
      <td width="151" align="center" bgcolor="#FFFFCC"><input type="text" name="d2" size="20"></td> 
    </tr> 
    <tr> 
      <td width="218" align="center" bgcolor="#CCFFFF"><input type="file" name="file3" size="30"></td> 
      <td width="243" align="center" bgcolor="#CCFFFF"><input type="text" name="t3" size="33"></td> 
      <td width="151" align="center" bgcolor="#CCFFFF"><input type="text" name="d3" size="20"></td> 
    </tr> 
    <tr> 
      <td width="218" align="center">　</td> 
      <td width="243" align="center">　</td> 
      <td width="151" align="center">　</td> 
    </tr> 
  </table> 
 <input type="hidden" name="MAX_FILE_SIZE" value="800000"> 
<input type="hidden" name="action1" value="1"> 

<p align="center"><input type="submit" value="提交" name="B1"><input type="reset" value="全部重写" name="B2"></p> 
</form> 
<br>
[<a href="./index.php">返回首页</a>]
<br>

   </center> 
</div> 

$footer