<form name="myform" action="add_wj.asp?Action=Save" method="post" >
<tr>
<td width="88" height="30" class="Text01"><strong>选择类别:</strong></td>
<td width="397" height="30"> <select name="SortID" size="1" onChange="window.location.href='add_wj.asp?sortid='+this.options[this.selectedIndex].value;">
<%
Rs.Open "Select * From wj_Sorts",Conn,1,1
Do While Not Rs.Eof
%>
<option value="<%=Rs("ID")%>"><%=Rs("SortName")%></option>
<%
Rs.MoveNext
Loop
Rs.Close
%>
</select></td>
</tr>
<tr>
<td height="30" class="Text01"><strong>排 序:</strong></td>
<td height="30"> <select name="This_Order">
<%
Rs.Open "Select * From wj",Conn,1,1
All_Record = Rs.RecordCount
Rs.Close
For I = 1 To 100
%>
<option value="<%=I%>" <%If I = All_Record + 1 Then%> selected <%End If%>><%=I%></option>
<%Next%>
</select></td>
</tr>
<tr>
<td height="30" class="Text01"><strong>名 字 :</strong></td>
<td height="30"><input name="H_Name" type="text" class="input1" value="输入姓名"></td>
</tr>
<tr>
<td height="30" colspan="2" class="Text01"><table width="485" border="0" cellspacing="0" cellpadding="0">
<%
sortid=request("sortid")
if sortid=14 then
%>
<tr>
<td height="30" class="Text01"><strong>小 图:</strong></td>
<td height="30"><input name="S_Pic" type="text" class="input1" value="请上传">
<input type="button" name="Up_S_Pic" value="上传小图" onClick="window.open('upload_flash.asp?formname=myform&editname=S_Pic&uppath=newspic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"></td>
</tr>
<tr>
<td height="30" class="Text01"><strong>大 图:</strong></td>
<td height="30"><input type="text" name="B_Pic" class="input1">
<input type="button" name="Up_B_Pic" value="上传大图" onClick="window.open('upload_flash.asp?formname=myform&editname=B_Pic&uppath=newspic&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"></td>
</tr>
<%elseif sortid=10 then%>
<tr align="center">
<td height="30" align="left" class="Text01"><strong>视频风采:
<input name="ys_num" type="hidden" id="ys_num">
</strong></td>
<td height="30" id="show_ys_table"><table width="100%" border="1" cellpadding="0" cellspacing="1">
<tr bordercolor="#86AE9D" class="Text01">
<td width="8%" height="44" align="center"><strong><font color="#FF0000">new</font></strong></td>
<td width="31%">
<input name="add_ys_name" id="add_ys_name" type="text" value="输入作品名字" style="width:120px;color:#ff0000;"></td>
<td width="61%">
<input name="add_ys_file" type="text" id="add_ys_file" style="width:120px;color:#ff0000;" value="未上传" readonly>
<input name="Submit" type="button" onClick="window.open('upload_flash.asp?formname=myform&editname=add_ys_file&uppath=YSDIR&filelx=mwv','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')" value="上传">
<input type="button" name="Submit2" value="添加" onClick="javascript:add_ys();"></td>
</tr>
</table></td>
</tr>
<%elseif sortid=9 then%>
<tr align="center">
<td height="30" align="left" class="Text01"><strong>靓音试听:
<input name="gc_num" type="hidden" id="gc_num">
</strong></td>
<td height="30" id="show_gc_table"><table width="100%" border="1" cellpadding="0" cellspacing="1">
<tr bordercolor="#86AE9D" class="Text01">
<td width="8%" height="39" align="center"><font color="#FF0000"><strong>new</strong></font></td>
<td width="31%">
<input name="add_gc_name" id="add_gc_name" type="text" value="输入作品名字" style="width:120px;color:#ff0000;"></td>
<td width="61%">
<input name="add_gc_file" type="text" id="add_gc_file" style="width:120px;color:#ff0000;" value="未上传" readonly>
<input type="button" name="Submit3" value="上传" onClick="window.open('upload_flash.asp?formname=myform&editname=add_gc_file&uppath=songDIR&filelx=mp3','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')">
<input type="button" name="Submit22" value="添加" onClick="add_gc();"></td>
</tr>
</table></td>
</tr>
<%end if%>
</table></td>
</tr>
<tr align="center">
<td height="30" colspan="2"> <input type="submit" name="submit" value="提交" >
<input type="reset" name="reset" value="重置"></td>
</tr>
</form>
以上文件名为add_wj.asp