复制代码 代码如下:
<html>
<head>
<title>52515.net上传程序</title>
<metahttp-equiv="Content-Type"content="text/html;charset=gb2312">
<styletype="text/css">
<>
</style>
<SCRIPTlanguage=JavaScript>
<current;
}
elselast();
}
functionfirst(){
current=0;
if(document.all){
document.images.show.style.filter="blendTrans(duration=2)"
document.images.show.style.filter="blendTrans(duration=crossFadeDuration)"
document.images.show.filters.blendTrans.Apply()
}
document.images.show.src=document.slideform.slide[0].value;
if(document.all){
document.images.show.filters.blendTrans.play()
}
document.slideform.slide.selectedIndex=0;
}
functionlast(){
current=document.slideform.slide.length-1;
if(document.all){
document.images.show.style.filter="blendTrans(duration=2)"
document.images.show.style.filter="blendTrans(duration=crossFadeDuration)"
document.images.show.filters.blendTrans.Apply()
}
document.images.show.src=document.slideform.slide[current].value;
if(document.all){
document.images.show.filters.blendTrans.play()
}
document.slideform.slide.selectedIndex=current;
}
functionap(text){
document.slideform.slidebutton.value=(text=="停止播放")?"自动播放":"停止播放";
rotate();
}
functionchange(){
current=document.slideform.slide.selectedIndex;
if(document.all){
document.images.show.style.filter="blendTrans(duration=2)"
document.images.show.style.filter="blendTrans(duration=crossFadeDuration)"
document.images.show.filters.blendTrans.Apply()
}
document.images.show.src=document.slideform.slide[current].value;
if(document.all){
document.images.show.filters.blendTrans.play()
}
}
functionrotate(){
if(document.slideform.slidebutton.value=="停止播放"){
current=(current==document.slideform.slide.length-1)?0:current+1;
if(document.all){
document.images.show.style.filter="blendTrans(duration=2)"
document.images.show.style.filter="blendTrans(duration=crossFadeDuration)"
document.images.show.filters.blendTrans.Apply()
}
document.images.show.src=document.slideform.slide[current].value;
if(document.all){
document.images.show.filters.blendTrans.play()
}
document.slideform.slide.selectedIndex=current;
window.setTimeout("rotate()",rotate_delay);
}
}
//End-->
</SCRIPT>
</head>
<body>
<FORMname=slideform>
<divalign="center"class="style1">TFDN图片播放器
</div>
<TABLEwidth="80%"height="243"border=1align=centercellPadding=0cellSpacing=0bordercolor="#009900"bgcolor="#009933"style="border-collapse:collapse">
<TR>
<TDheight="220"align="center"vAlign=center><IMGsrc="http://61.152.149.36/images/shanghai/office/8gua20050901/1767.jpg"align=centername=show></TD>
</TR>
</TABLE>
<TABLEwidth="80%"border=1align="center"cellPadding=0cellSpacing=0bordercolor="#FF9900"style="border-collapse:collapse">
<TR>
<TDheight=29align=middlebgcolor="#FF9900">
<%
setrs=conn.execute("select*fromuploadorderbyid")
%>
<SELECTonchange=change();name=slide>
<%dowhilenotrs.eof%>
<OPTIONvalue=<%=rs("upfile")%>><%=rs("filename")%></OPTION>
<%
rs.movenext
loop
setrs=nothing
setconn=nothing
%>
</SELECT>
<INPUTtitle=Beginningonclick=first();type=buttonvalue="首张">
<INPUTtitle=Previousonclick=previous();type=buttonvalue="上一张">
<INPUTtitle=AutoPlayonclick=ap(this.value);type=buttonvalue=自动播放name=slidebutton>
<INPUTtitle=Nextonclick=next();type=buttonvalue="下一张">
<INPUTtitle=Endonclick=last();type=buttonvalue="尾张">
<ahref="up.htm">[上传图片]</a><ahref="admin.asp">[图片管理]
</a></TD>
</TR>
</TABLE>
</FORM>
</body>
</html>