📄 fpv_make.asp
字号:
<%
RecordID=request("RecordID")
areana=request("areana")
description=request("description")
Set fs = CreateObject("Scripting.FileSystemObject")
OriFolder="../"&areana&"/"&description&"/144"
OriTestFolder = Server.Mappath(OriFolder)
Set objFolder = FS.GetFolder(OriTestFolder)
Body="<?xml version='1.0' encoding='utf-8'?>"&vbCrlf
Body=Body&"<Photos>"&vbCrlf
For Each File in objFolder.Files
If Lcase(Right(File.Name,3)) = "jpg" Then
Body=Body&"<img src='../"&areana&"/"&description&"/"&File.Name&"' ssrc='../"&areana&"/"&description&"/144/"&File.Name&"' />"&vbCrlf
End IF
Next
Body=Body&"</Photos>"&vbCrlf
filepath="../fpv4/fpv_xmls/"&RecordID&".xml"
'newfilepath=Server.Mappath(filepath)
SaveToFile Body,filepath,"utf-8"
'Set fout=fs.CreateTextFile(newfilepath)
'fout.WriteLine Body
Response.write "糶
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -