La copia del código es la siguiente:
<%@idioma = vBscriptCodePage = 936%>
<%
'++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
'++++++++++ El directorio del sistema de imágenes de Wrance Direct Ready Version 1.0 +++++++++++++++++++++++++++++++++++++++++++++++++
'++++++++++ Demo: http://www.cnecg.com/pic.asp+++++++++++++++++++++++++++++
'++++++ Este es un programa gratuito, puede modificarlo a voluntad. Bienvenido a publicar sugerencias +++++++++++++
'++++++++++ Correo electrónico: [email protected], QQ: 74028 +++++++++++++++++++++++++++++++++++++
'La siguiente es la modificación
Directorio constuploaddir = "/ecg/upload/news/" 'para almacenar archivos
ConstmaxperPage = 30'Number of Display por página
Consttitle = "+++ __ Directorio del sistema de imágenes de Wrance Direct Lectura directa Versión_" 'Título
'Verifique si el componente está instalado
FunctionSobjinstalled (strclassstring)
Isobjinstalled = falso
Err = 0
Dimxtestobj
Setxtestobj = server.createObject (strclassstring)
If0 = errtthenisobjinstalled = true
Setxtestobj = nada
Err = 0
Función final
dimstrFileName
DimTotalput, CurrentPage, TotalPages
Dimtruepath, FSO, TheFolder, TheFile, What File, Thisfile, Filecount, Totlesize
strfilename = "?"
ifRequest ("página") <> "" entonces
CurrentPage = cint (request ("página"))
demás
CurrentPage = 1
endif
TruePath = server.mappath (uploadDir)
Ifnotisobjinstalled ("scripting.filesystemObject") entonces
Response.write "<b> <fontColor = Red> Su servidor no admite FSO (scripting.filesystemObject)! Esta función no se puede usar </font> </b>"
Demás
setfso = createObject ("scripting.filesystemObject")
%>
<html>
<Evista>
<title> <%= title%> </title>
<metahttp-equiv = "content-type" content = "text/html; charset = gb2312">
<styletype = "text/css">
<!-
.fuente{
tamaño de fuente: 12px;
Color:#000000;
Decoración de texto: ninguna;
Text-Align: Center;
Align vertical: medio;
Alganche de línea: 140%;
}
A: enlace {
tamaño de fuente: 12px;
Color:#000000;
Decoración de texto: subrayado;
}
A: Hover {
tamaño de fuente: 12px;