<!--#include file="conn.asp"-->
<!--#include file="check.asp"-->
<!--#include file="../sub.asp"-->
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>图片上传</title>
<link href="images/bbs.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
<!--

function xxg()
{
	if(frmadd.titleName.value==""){
		alert("组图名称不能为空！");
		return false;
	}
  if (frmadd.file1.value=="" && frmadd.file2.value=="" && frmadd.file3.value=="" && frmadd.file4.value=="" && frmadd.file5.value=="" && frmadd.file6.value=="")
   {
	alert("图片路径？");
	return false;
	 }
  }
//-->
</script>
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>
</head>

<body topmargin="0">

<div align="center">
  <center>
    <table width="618" border="0" cellpadding="0" cellspacing="0" id="AutoNumber1">
      <form method="post" name="frmadd" enctype="multipart/form-data" onsubmit="return xxg();" action="upload.asp">
        <tr> 
          <td height="36" colspan="4">
            <div align="center"><strong>图 片 上 传</strong></div>
          </td>
        </tr>
        <tr> 
          <td colspan="4">　<strong><font color="#FF0000">图片类型：</font></strong> 
            <%ShowClass(ClassID)%>
            组图名称： 
            <input name="titleName" type="text" id="titleName" style="font-family:宋体; font-size:9pt; color:#000000; width:68px; height:19px; border:1px solid #000000; background-color:#F0F0F0;">
            摄 影 师： 
            <%ShowPhotoer%>
            推荐 
            <select name="Recomm" id="Recomm">
              <option value="1">是</option>
              <option value="0" selected>否</option>
            </select>
          </td>
        </tr>
        <tr> 
          <td colspan="4">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td width="75" valign="top">　组图说明：</td>
                <td width="543">
                  <textarea name="desc" cols="58" rows="6" id="desc" style="font-family:宋体; font-size:9pt; color:#000000; width:468px; height:119px; border:1px solid #000000; background-color:#F0F0F0;">组图说明</textarea>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td width="76" height="25"> <b>　</b>选择图片：</td>
          <td colspan="2">　　</td>
          <td width="248"> 
            <p>
          </td>
        </tr>
        <tr> 
          <td> 
            <div align="right">图片1 </div>
          </td>
          <td colspan="2">
            <input style="WIDTH: 300px" type="file" name="file1">
          </td>
          <td width="248">&nbsp;</td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td width="293" valign="top">
            <textarea name="content1" cols="40" rows="3" id="textarea1" style="font-family:宋体; font-size:9pt; color:#000000; width:230px; height:50px; border:1px solid #000000; background-color:#F0F0F0;">图片一说明</textarea>
          </td>
          <td colspan="2" valign="top">&nbsp;</td>
        </tr>
        <tr> 
          <td> 
            <div align="right">图片2 </div>
          </td>
          <td colspan="2">
            <input name="file2" type="file" id="file2" style="WIDTH: 300px">
          </td>
          <td width="248">&nbsp;</td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td colspan="3">
            <textarea name="content2" cols="40" rows="3" id="textarea2" style="font-family:宋体; font-size:9pt; color:#000000; width:230px; height:50px; border:1px solid #000000; background-color:#F0F0F0;">图片二说明</textarea>
          </td>
        </tr>
        <tr> 
          <td> 
            <div align="right">图片3 </div>
          </td>
          <td colspan="2">
            <input name="file3" type="file" id="file3" style="WIDTH: 300px">
          </td>
          <td width="248">&nbsp;</td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td colspan="3">
            <textarea name="content3" cols="40" rows="3" id="textarea3" style="font-family:宋体; font-size:9pt; color:#000000; width:230px; height:50px; border:1px solid #000000; background-color:#F0F0F0;">图片三说明</textarea>
          </td>
        </tr>
        <tr> 
          <td> 
            <div align="right">图片4 </div>
          </td>
          <td colspan="2">
            <input name="file4" type="file" id="file4" style="WIDTH: 300px">
          </td>
          <td width="248">&nbsp;</td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td colspan="3">
            <textarea name="content4" cols="40" rows="3" id="textarea4" style="font-family:宋体; font-size:9pt; color:#000000; width:230px; height:50px; border:1px solid #000000; background-color:#F0F0F0;">图片四说明</textarea>
          </td>
        </tr>
        <tr> 
          <td> 
            <div align="right">图片5 </div>
          </td>
          <td colspan="2">
            <input name="file5" type="file" id="file5" style="WIDTH: 300px">
          </td>
          <td width="248">&nbsp;</td>
        </tr>
        <tr> 
          <td>&nbsp;</td>
          <td colspan="3">
            <textarea name="content5" cols="40" rows="3" id="textarea6" style="font-family:宋体; font-size:9pt; color:#000000; width:230px; height:50px; border:1px solid #000000; background-color:#F0F0F0;">图片五说明</textarea>
          </td>
        </tr>
        <tr> 
          <td colspan="3">　</td>
          <td width="248">　</td>
        </tr>
        <tr> 
          <td colspan="4">
            <div align="center"> 
              <input type="submit" name="Submit" value="上传">
              <input type="reset" name="Submit2" value="取消">
            </div>
          </td>
        </tr>
      </form>
    </table>
  </center>
</div>
</body>
</html>