`程序表 '/表示為根目錄
'/default.asp 首頁程序,象本站的首頁 ./new/index.asp 更多公告 ./new/addarticle.asp 添加公告 ./new/articleconn.asp 數(shù)據(jù)庫鏈接 ./new/chklogin.asp 管理員驗(yàn)證 ./new/login.asp 管理員入口 ./new/delete.asp 刪除程序 ./new/manage.asp 管理頁 ./new/savearticle.asp 保存頁 ./new/inc/articleCHAR.inc 輸入處理程序 ./css/ 樣式表 ./images/ 圖片目錄
inc/articlechar.inc <% function htmlencode2(str) dim result dim l if isNULL(str) then htmlencode2="" exit function end if l=len(str) result="" dim i for i = 1 to l select case mid(str,i,1) case "<" result=result+"<" case ">" result=result+">" case chr(13) result=result+"<br>" case chr(34) result=result+""" case "&" result=result+"&" case chr(32) 'result=result+" " if i+1<=l and i-1>0 then if mid(str,i+1,1)=chr(32) or mid(str,i+1,1)=chr(9) or mid(str,i-1,1)=chr(32) or mid(str,i-1,1)=chr(9) then result=result+" " else result=result+" " end if else result=result+" " end if case chr(9) result=result+" " case else result=result+mid(str,i,1) end select next htmlencode2=result end function %>
阿喔的口水都干了,不知各位明白了沒有!xi...xi... 首頁更新源程序可在本站http://asp.on.net.cn/download/下載得到! 哎!身無分文雙飛異,心有零錢一點(diǎn)痛! (出處:熱點(diǎn)網(wǎng)絡(luò))
|