亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? editor_selectupfile.asp

?? 短信銷售類網(wǎng)站
?? ASP
字號:
<%@language=vbscript codepage=936 %>
<%
option explicit
response.buffer=true	
if trim(session("AdminName"))="" then
	response.write "對不起,此功能只有管理員才能使用。"
	response.end
end if
%>
<!--#include file="inc/config.asp"-->
<!--#include file="inc/function.asp"-->
<%
Const MaxPerPage=20
const UpFileType_pic="jpg|gif|bmp|png"
const UpFileType_flash="swf"
const UpFileType_media="wmv|asf|avi|mpg"
const UpFileType_rm="ram|rm|ra"
dim strFileName
dim Action
dim totalPut,CurrentPage,TotalPages
dim UploadDir,TruePath,fso,theFolder,theFile,thisfile,FileCount,TotalSize,TotalSize_Page
dim DialogType,strUpFileType,strFileType,FileID
DialogType=replace(trim(request("DialogType")),"'","")
strFileName="editor_SelectUpFile.asp?DialogType=" & DialogType
Action=trim(Request("Action"))

if request("page")<>"" then
    currentPage=cint(request("page"))
else
	currentPage=1
end if
select case DialogType
	case "pic"
		strUpFileType=UpFileType_pic
	case "flash"
		strUpFileType=UpFileType_flash
	case "media"
		strUpFileType=UpFileType_media
	case "rm"
		strUpFileType=UpFileType_rm
	case else
		strUpFileType=""
end select


if right(SaveUpFilesPath,1)<>"/" then
	UploadDir="" & SaveUpFilesPath & "/"
else
	UploadDir="" & SaveUpFilesPath
end if
TruePath=Server.MapPath(UploadDir)
%>

<html>
<head>
<title>從已上傳文件選擇</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="mt_style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0">
<%
If not IsObjInstalled("Scripting.FileSystemObject") Then
	Response.Write "<b><font color=red>你的服務(wù)器不支持 FSO(Scripting.FileSystemObject)! 不能使用本功能</font></b>"
Else
	set fso=CreateObject("Scripting.FileSystemObject")
	call main()
end if

sub main()
	if fso.FolderExists(TruePath)=False then
		response.write "找不到文件夾!可能是配置有誤!"
		exit sub
	end if

	FileCount=0
	TotalSize=0
	Set theFolder=fso.GetFolder(TruePath)
	For Each theFile In theFolder.Files
		strFileType=lcase(mid(theFile.Name,instrrev(theFile.Name,".")+1))
		if instr(strUpFileType,strFileType)>0 then
			FileCount=FileCount+1
			TotalSize=TotalSize+theFile.Size
		end if
	next
	if FileCount=0 then
		response.write "<p>&nbsp;</p><p>&nbsp;</p><p align='center'>沒有找到任何" & DialogType & "文件!</p>"
		exit sub
	end if
	totalPut=FileCount
	if currentpage<1 then
		currentpage=1
	end if
	if (currentpage-1)*MaxPerPage>totalput then
		if (totalPut mod MaxPerPage)=0 then
			currentpage= totalPut \ MaxPerPage
		else
			currentpage= totalPut \ MaxPerPage + 1
		end if
	end if
	if currentPage=1 then
		showContent
		showpage2 strFileName,totalput,MaxPerPage
		response.write "<br><div align='center'>本頁共顯示 <b>" & FileCount & "</b> 個文件,占用 <b>" & TotalSize_Page\1024 & "</b> K</div>"
	else
		if (currentPage-1)*MaxPerPage<totalPut then
			showContent
			showpage2 strFileName,totalput,MaxPerPage
			response.write "<br><div align='center'>本頁共顯示 <b>" & FileCount & "</b> 個文件,占用 <b>" & TotalSize_Page\1024 & "</b> K</div>"
		else
			currentPage=1
			showContent
			showpage2 strFileName,totalput,MaxPerPage
			response.write "<br><div align='center'>本頁共顯示 <b>" & FileCount & "</b> 個文件,占用 <b>" & TotalSize_Page\1024 & "</b> K</div>"
		end if
	end if
end sub

sub ShowContent()
   	dim c
	FileCount=0
	TotalSize_Page=0
%>
<table width='100%' border="0" cellpadding="0" cellspacing="0">
  <tr>
  <form name="myform" method="Post" action="editor_SelectUpFile.asp" onsubmit="return confirm('確定要刪除選中的文件嗎?');">
     <td>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="3" class="border">
  <tr class="tdbg">
  <%

For Each theFile In theFolder.Files
	c=c+1
	if FileCount>=MaxPerPage then
		exit for
	elseif c>MaxPerPage*(CurrentPage-1) then
		strFileType=lcase(mid(theFile.Name,instrrev(theFile.Name,".")+1))
		if instr(strUpFileType,strFileType)>0 then
%>
   <td>
      <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="2">
        <tr>
          <td colspan="2" align="center">
            <%
		  response.write "<a href='#' onClick=""javascript:window.opener.document.form1.url.value='" & UploadDir & theFile.Name & "';window.opener.document.form1.UpFileName.value='" & UploadDir & theFile.Name & "';window.close();"">"
		  select case strFileType
		  case "jpg","gif","bmp","png"
		  	response.write "<img src='" & UploadDir & theFile.Name & "' width='140' height='100' border='0' title='點此圖片將返回,點下面的文件名將查看原始文件!'></a>"
		  case "swf"
		  	response.write "<img src='images/filetype_flash.gif' width='140' height='100' border='0'></a>"
		  case "wmv","avi","asf","mpg"
		  	response.write "<img src='images/filetype_media.gif' width='140' height='100' border='0'></a>"
		  case "rm","ra","ram"
		  	response.write "<img src='images/filetype_rm.gif' width='140' height='100' border='0'></a>"
		  case "rar"
		    response.write "<img src='images/filetype_rar.gif' width='140' height='100' border='0'></a>"
		  case "zip"
		    response.write "<img src='images/filetype_zip.gif' width='140' height='100' border='0'></a>"
		  case "exe"
		    response.write "<img src='images/filetype_exe.gif' width='140' height='100' border='0'></a>"
		  case else
		  	response.write "<img src='images/filetype_other.gif' width='140' height='100' border='0'></a>"
		  end select
		  %>
          </td></tr>
        <tr>
          <td align="right">文 件 名:</td>
          <td><a href="<%=(UploadDir & theFile.Name)%>" target="_blank"><%=theFile.Name%></a></td>
        </tr>
        <tr>
          <td align="right">文件大小:</td>
          <td><%=round(theFile.size/1024) & " K"%></td>
        </tr>
        <tr>
          <td align="right">文件類型:</td>
          <td><%=theFile.type%></td>
        </tr>
        <tr>
          <td align="right">修改時間:</td>
          <td><%=theFile.DateLastModified%></td>
        </tr>
      </table></td>
  <%
			FileCount=FileCount+1
			if FileCount mod 4=0 then response.write "</td><tr class='tdbg'>"
			TotalSize_Page=TotalSize_Page+theFile.Size
		end if
	end if
Next
%>
    </tr>
</table> 
     </td>
  </form></tr></table>
<%
end sub
%>
</body> 
</html>
<%
sub showpage2(sfilename,totalnumber,maxperpage)
	dim n, i,strTemp
	if totalnumber mod maxperpage=0 then
    	n= totalnumber \ maxperpage
  	else
    	n= totalnumber \ maxperpage+1
  	end if
  	strTemp= "<table align='center'><form name='showpages' method='Post' action='" & sfilename & "'><tr><td>"
	strTemp=strTemp & "共 <b>" & totalnumber & "</b> 個文件,占用 <b>" & TotalSize\1024 & "</b> K&nbsp;&nbsp;&nbsp;"
	sfilename=JoinChar(sfilename)
  	if CurrentPage<2 then
    		strTemp=strTemp & "首頁 上一頁&nbsp;"
  	else
    		strTemp=strTemp & "<a href='" & sfilename & "page=1'>首頁</a>&nbsp;"
    		strTemp=strTemp & "<a href='" & sfilename & "page=" & (CurrentPage-1) & "'>上一頁</a>&nbsp;"
  	end if

  	if n-currentpage<1 then
    		strTemp=strTemp & "下一頁 尾頁"
  	else
    		strTemp=strTemp & "<a href='" & sfilename & "page=" & (CurrentPage+1) & "'>下一頁</a>&nbsp;"
    		strTemp=strTemp & "<a href='" & sfilename & "page=" & n & "'>尾頁</a>"
  	end if
   	strTemp=strTemp & "&nbsp;頁次:<strong><font color=red>" & CurrentPage & "</font>/" & n & "</strong>頁 "
    strTemp=strTemp & "&nbsp;<b>" & maxperpage & "</b>" & "個文件/頁"
	strTemp=strTemp & "&nbsp;轉(zhuǎn)到:<select name='page' size='1' onchange='javascript:submit()'>"   
    for i = 1 to n   
   		strTemp=strTemp & "<option value='" & i & "'"
		if cint(CurrentPage)=cint(i) then strTemp=strTemp & " selected "
		strTemp=strTemp & ">第" & i & "頁</option>"   
	next
	strTemp=strTemp & "</select>"
	strTemp=strTemp & "</td></tr></form></table>"
	response.write strTemp
end sub
%>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲高清视频中文字幕| 婷婷亚洲久悠悠色悠在线播放| 日韩美女一区二区三区| 在线不卡欧美精品一区二区三区| 在线精品视频免费观看| 色一区在线观看| 欧洲另类一二三四区| 91精品国产一区二区三区蜜臀| 666欧美在线视频| 日本一区免费视频| 一区二区成人在线| 狠狠色丁香婷综合久久| 成人午夜精品一区二区三区| 日本久久一区二区| 日韩精品一区二区三区中文精品| 久久久久久久精| 亚洲综合视频在线| 国产成人鲁色资源国产91色综| 色婷婷综合久久久中文一区二区| 宅男在线国产精品| 亚洲三级在线看| 成人中文字幕电影| 日韩欧美三级在线| 亚洲激情校园春色| 成人免费av网站| 国产农村妇女毛片精品久久麻豆| 亚洲欧美自拍偷拍色图| 久久 天天综合| 日韩视频免费观看高清完整版 | 精品av久久707| 亚洲香肠在线观看| 在线欧美日韩国产| 日韩一区有码在线| 成人av手机在线观看| 2014亚洲片线观看视频免费| 日韩高清电影一区| 欧美日本在线播放| 视频一区在线视频| 欧美一区二区三区男人的天堂| 亚洲风情在线资源站| 欧美图区在线视频| 日韩激情在线观看| 欧美顶级少妇做爰| 久久精品72免费观看| 欧美mv和日韩mv国产网站| 国产一区二区毛片| 中文字幕一区二区5566日韩| 91在线视频官网| 一区二区三区在线免费播放| 欧美日韩一区二区三区四区| 日本不卡不码高清免费观看| 精品动漫一区二区三区在线观看| 国产揄拍国内精品对白| 亚洲欧美视频在线观看视频| 欧美日韩国产影片| 国产一区二区三区av电影| 国产精品免费网站在线观看| 欧美日精品一区视频| 日韩成人午夜精品| 亚洲人成精品久久久久久 | 国产精品麻豆99久久久久久| 一本大道av伊人久久综合| 偷窥少妇高潮呻吟av久久免费| 日韩欧美一区二区视频| 青青国产91久久久久久| 日韩欧美二区三区| 色综合久久久久网| 美女国产一区二区| 亚洲欧美一区二区视频| 欧美成人一区二区三区片免费| 成人91在线观看| 一区二区三区免费在线观看| 精品福利在线导航| 在线观看欧美日本| 丁香六月久久综合狠狠色| 国产精品白丝在线| 色综合天天狠狠| 国产成人啪午夜精品网站男同| 一区二区免费在线| 国产性天天综合网| 欧美精品丝袜久久久中文字幕| 粉嫩13p一区二区三区| 日韩国产欧美在线视频| 国产精品丝袜久久久久久app| 色综合天天综合狠狠| 日本欧洲一区二区| 中文字幕免费不卡在线| 欧美日韩在线亚洲一区蜜芽| 丁香婷婷综合色啪| 国产成人午夜电影网| 久久国产剧场电影| 日韩成人午夜电影| 婷婷综合五月天| 日韩电影一二三区| 亚洲妇女屁股眼交7| 亚洲精品视频一区二区| 国产日韩欧美一区二区三区乱码| 国产一区二区三区免费在线观看| 亚洲图片欧美综合| 中文字幕亚洲一区二区av在线 | 婷婷综合另类小说色区| 日韩一级片网址| 国产麻豆精品一区二区| 视频一区视频二区中文字幕| 91免费国产在线| 免费观看成人av| 紧缚奴在线一区二区三区| 国产一区二区免费在线| 大桥未久av一区二区三区中文| 99国产一区二区三精品乱码| 一本在线高清不卡dvd| 欧美私模裸体表演在线观看| 欧美天堂亚洲电影院在线播放| 91丨九色丨蝌蚪富婆spa| 精品视频在线看| 国产女主播视频一区二区| 亚洲精品一卡二卡| 精品一区二区综合| 日本乱人伦一区| 欧美一级理论片| 亚洲国产精品成人久久综合一区| 最新国产成人在线观看| 蜜桃一区二区三区在线观看| 93久久精品日日躁夜夜躁欧美| 欧美三级视频在线| 精品美女被调教视频大全网站| 亚洲一区二区视频在线| 国产一级精品在线| 欧美肥大bbwbbw高潮| 欧美激情综合在线| 极品美女销魂一区二区三区| 欧美性猛片aaaaaaa做受| 欧美一区二区三区四区在线观看| 欧美变态tickling挠脚心| 日本中文在线一区| 在线观看免费成人| 亚洲图片激情小说| 风间由美中文字幕在线看视频国产欧美 | 欧美tk—视频vk| 自拍偷自拍亚洲精品播放| 日韩和欧美的一区| 91麻豆精品国产自产在线| 亚洲综合色在线| 欧美色图天堂网| 日韩精品国产欧美| 91浏览器打开| 亚洲国产成人av好男人在线观看| 成人精品免费网站| 久久精品免视看| 成人91在线观看| 亚洲电影在线免费观看| 欧美狂野另类xxxxoooo| 老司机精品视频导航| 久久久久国色av免费看影院| 奇米精品一区二区三区在线观看| 精品日韩av一区二区| 国产一区二区伦理| 亚洲乱码国产乱码精品精小说 | 中文字幕一区二区三| 欧美日韩午夜在线视频| 日韩中文字幕一区二区三区| 久久人人97超碰com| 在线视频一区二区三区| 老司机精品视频一区二区三区| 国产精品色眯眯| 日韩丝袜情趣美女图片| 色噜噜狠狠成人网p站| 免费在线观看一区二区三区| 日韩一区二区三区在线观看| www.欧美色图| 国产一区二区三区久久悠悠色av| 亚洲男人的天堂网| 久久精品欧美日韩| 欧美一卡二卡在线观看| 色拍拍在线精品视频8848| 亚洲第一av色| 亚洲黄一区二区三区| 久久精品夜色噜噜亚洲aⅴ| 日韩欧美不卡在线观看视频| 国产精品亚洲人在线观看| 夜夜操天天操亚洲| 久久在线观看免费| 久久综合99re88久久爱| 在线观看免费视频综合| 91丨porny丨首页| 午夜欧美大尺度福利影院在线看| 亚洲精选一二三| 夜夜精品视频一区二区| 最新不卡av在线| 一区二区国产视频| 石原莉奈在线亚洲二区| 亚洲一区二区三区自拍| 亚洲一区视频在线| 免费成人在线影院| 极品少妇xxxx精品少妇偷拍| 国产成人免费视频网站| 91丨九色porny丨蝌蚪| 欧美日本精品一区二区三区| 欧美日韩亚洲综合在线 | 婷婷久久综合九色国产成人|