?% function advs(adid) dim rs,sql,i,ProductName,NewFlag set rs = server.createobject("adodb.recordset") sql="select * from Ameav_ADs where ViewFlag and id="&adid&" order by id desc" rs.open sql,conn,1,1 if rs.bof and rs.eof then response.write "
暂无广告信息
" else if rs("fiewFlag")=0 then response.write"
" else response.write"
" response.write"" response.write"" response.write"" response.write"" response.write"
" end if end if rs.close set rs=nothing end function function replaceText(str) dim regEx set regEx=New RegExp regEx.Pattern="<[^>]*>" regEx.Ignorecase=True regEx.Global=True replaceText=regEx.Replace(str,"") End function function cutstr(str,strlen) if str<>"" then If len(replaceText(str))>strlen Then str=replace(str,"

","@p@") str=replace(str,"

","@1p@") str=replace(str,"
","@BR@") str=left(replaceText(str),strlen)&"? str=replace(str,"@p@","

") str=replace(str,"@1p@","

") str=replace(str,"@BR@","
") End If end if cutstr=str End function function StrLen(Str) if Str="" or isnull(Str) then StrLen=0 exit function else dim regex set regex=new regexp regEx.Pattern ="[^\x00-\xff]" regex.Global =true Str=regEx.replace(Str,"^^") set regex=nothing StrLen=len(Str) end if end function function StrLeft(Str,StrLen) dim L,T,I,C if Str="" then StrLeft="" exit function end if Str=Replace(Replace(Replace(Replace(Str," "," "),""",Chr(34)),">",">"),"<","<") L=Len(Str) T=0 for i=1 to L C=Abs(AscW(Mid(Str,i,1))) if C>255 then T=T+2 else T=T+1 end if if T>=StrLen then StrLeft=Left(Str,i) & "? exit for else StrLeft=Str end if next StrLeft=Replace(Replace(Replace(replace(StrLeft," "," "),Chr(34),"""),">",">"),"<","<") end function function StrReplace(Str)'表单存入替换字符 if Str="" or isnull(Str) then StrReplace="" exit function else StrReplace=replace(str," "," ") '" " StrReplace=replace(StrReplace,chr(13),"
")'"
" StrReplace=replace(StrReplace,"<","<")' "<" StrReplace=replace(StrReplace,">",">")' ">" end if end function function ReStrReplace(Str)'写入表单替换字符 if Str="" or isnull(Str) then ReStrReplace="" exit function else ReStrReplace=replace(Str," "," ") '" " ReStrReplace=replace(ReStrReplace,"
",chr(13))'"
" ReStrReplace=replace(ReStrReplace,"
",chr(13))'"
" ReStrReplace=replace(ReStrReplace,"<","<")' "<" ReStrReplace=replace(ReStrReplace,">",">")' ">" end if end function function HtmlStrReplace(Str)'写入Html网页替换字符 if Str="" or isnull(Str) then HtmlStrReplace="" exit function else HtmlStrReplace=replace(Str,"
","
")'"
" end if end function function ViewNoRight(GroupID,Exclusive) dim rs,sql,GroupLevel set rs = server.createobject("adodb.recordset") sql="select GroupLevel from Ameav_MemGroup where GroupID='"&GroupID&"'" rs.open sql,conn,1,1 GroupLevel=rs("GroupLevel") rs.close set rs=nothing ViewNoRight=true if session("GroupLevel")="" then session("GroupLevel")=0 select case Exclusive case ">=" if not session("GroupLevel") >= GroupLevel then ViewNoRight=false end if case "=" if not session("GroupLevel") = GroupLevel then ViewNoRight=false end if end select end function Function GetUrl() GetUrl="http://"&Request.ServerVariables("SERVER_NAME")&Request.ServerVariables("URL") If Request.ServerVariables("QUERY_STRING")<>"" Then GetURL=GetUrl&"?"& Request.ServerVariables("QUERY_STRING") End Function function HtmlSmallPic(GroupID,PicPath,Exclusive) dim rs,sql,GroupLevel set rs = server.createobject("adodb.recordset") sql="select GroupLevel from Ameav_MemGroup where GroupID='"&GroupID&"'" rs.open sql,conn,1,1 GroupLevel=rs("GroupLevel") rs.close set rs=nothing HtmlSmallPic=PicPath if session("GroupLevel")="" then session("GroupLevel")=0 select case Exclusive case ">=" if not session("GroupLevel") >= GroupLevel then HtmlSmallPic="../Images/NoRight.jpg" case "=" if not session("GroupLevel") = GroupLevel then HtmlSmallPic="../Images/NoRight.jpg" end select if HtmlSmallPic="" or isnull(HtmlSmallPic) then HtmlSmallPic="../Images/NoPicture.jpg" end function function IsValidMemName(memname) dim i, c IsValidMemName = true if not (3<=len(memname) and len(memname)<=16) then IsValidMemName = false exit function end if for i = 1 to Len(memname) c = Mid(memname, i, 1) if InStr("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-", c) <= 0 and not IsNumeric(c) then IsValidMemName = false exit function end if next end function function IsValidEmail(email) dim names, name, i, c IsValidEmail = true names = Split(email, "@") if UBound(names) <> 1 then IsValidEmail = false exit function end if for each name in names if Len(name) <= 0 then IsValidEmail = false exit function end if for i = 1 to Len(name) c = Mid(name, i, 1) if InStr("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_-.", c) <= 0 and not IsNumeric(c) then IsValidEmail = false exit function end if next if Left(name, 1) = "." or Right(name, 1) = "." then IsValidEmail = false exit function end if next if InStr(names(1), ".") <= 0 then IsValidEmail = false exit function end if i = Len(names(1)) - InStrRev(names(1), ".") if i <> 2 and i <> 3 then IsValidEmail = false exit function end if if InStr(email, "..") > 0 then IsValidEmail = false end if end function '================================================ '函数名:FormatDate '作 用:格式化日? '参 数:DateAndTime (原日期和时间) ' Format (新日期格? '返回值:格式化后的日? '================================================ Function FormatDate(DateAndTime, Format) On Error Resume Next Dim yy,y, m, d, h, mi, s, strDateTime FormatDate = DateAndTime If Not IsNumeric(Format) Then Exit Function If Not IsDate(DateAndTime) Then Exit Function yy = CStr(Year(DateAndTime)) y = Mid(CStr(Year(DateAndTime)),3) m = CStr(Month(DateAndTime)) If Len(m) = 1 Then m = "0" & m d = CStr(Day(DateAndTime)) If Len(d) = 1 Then d = "0" & d h = CStr(Hour(DateAndTime)) If Len(h) = 1 Then h = "0" & h mi = CStr(Minute(DateAndTime)) If Len(mi) = 1 Then mi = "0" & mi s = CStr(Second(DateAndTime)) If Len(s) = 1 Then s = "0" & s Select Case Format Case "1" strDateTime = y & "-" & m & "-" & d & " " & h & ":" & mi & ":" & s Case "2" strDateTime = yy & m & d & h & mi & s '返回12?直到?的时间字符串 Case "3" strDateTime = yy & m & d & h & mi '返回12?直到?的时间字符串 Case "4" strDateTime = yy & "? & m & "? & d & "? Case "5" strDateTime = m & "-" & d Case "6" strDateTime = m & "/" & d Case "7" strDateTime = m & "? & d & "? Case "8" strDateTime = y & "? & m & "? Case "9" strDateTime = y & "-" & m Case "10" strDateTime = y & "/" & m Case "11" strDateTime = y & "-" & m & "-" & d Case "12" strDateTime = y & "/" & m & "/" & d Case "13" strDateTime = yy & "." & m & "." & d Case Else strDateTime = DateAndTime End Select FormatDate = strDateTime End Function function WriteMsg(Message) response.write "" &_ " " &_ " " &_ " " &_ " " &_ " " &_ " " &_ "
" &_ " " &_ " " &_ "
MESSAGE
" &_ "
" &_ " " &_ " " &_ " " &_ " " &_ "
" &_ Message &_ "
" &_ "
" &_ "
" &_ "
" &_ "" &_ "
" end function '**************************************************** '过程名:WriteErrMsg '? 用:显示错误提示信息 '? 数:? '**************************************************** sub WriteErrMsg() dim strErr strErr=strErr & "错误信息_桂林在线" & vbcrlf strErr=strErr & "" & vbcrlf strErr=strErr & "" & vbcrlf strErr=strErr & " " & vbcrlf strErr=strErr & " " & vbcrlf strErr=strErr & " " & vbcrlf strErr=strErr & "
错误信息
产生错误的可能原因:
" & errmsg &"
【返回?/a>
" & vbcrlf strErr=strErr & "" & vbcrlf response.write strErr end sub '**************************************************** '过程名:WriteSuccessMsg '? 用:显示成功提示信息 '? 数:? '**************************************************** sub WriteSuccessMsg(SuccessMsg) dim strSuccess strSuccess=strSuccess & "成功信息_桂林在线" & vbcrlf strSuccess=strSuccess & "" & vbcrlf strSuccess=strSuccess & "" & vbcrlf strSuccess=strSuccess & " " & vbcrlf strSuccess=strSuccess & " " & vbcrlf strSuccess=strSuccess & " " & vbcrlf strSuccess=strSuccess & "
恭喜你!

" & SuccessMsg &"
【返回?/a>
" & vbcrlf strSuccess=strSuccess & "" & vbcrlf response.write strSuccess end sub function getFileExtName(fileName) dim pos pos=instrrev(filename,".") if pos>0 then getFileExtName=mid(fileName,pos+1) else getFileExtName="" end if end function %> beach wedding dresses wedding dresses,bridesmaid dress,wedding gown by helen-bridal
wedding dresses,bridesmaid dress,wedding gown by helen-bridal : - Real Wedding Dresses Real Bridesmaid Dresses Wedding Accessories Wedding Dresses ...
prom dresses Bridal, Formal Wear/Tuxedos Prom Dresses Wedding - Frenze
We do not only service the Bridal arena, but can also provide a wide selection of wedding gowns, wedding dresses, Prom dresses, quinceanera dresses, ...
pearl earrings Pearl Jewelry - Pearl Bracelets, Earrings & Necklaces - NOVICA
NOVICA Pearl Jewelry - all handmade ?discover an extrardinary collection of pearl bracelets, necklaces & earrings crafted by talented (and many ...
jordan shoes Cheap Nike Shoes,Wholesale Nike Shoes,Air jordans shoes,adidas ...
Cheap Nike Shoes,We offer Cheap Nike Shoes, Air Jordan Shoes are on sale now, our Air Jordan shoes, Nike Shoes are exclusive and we offer original box of ...
chi flat iron CHI Hair Straightener,CHI Flat Iron,Cheap CHI hair Sale,Free Shipping!
Save 60% off chi hair straighteners,we offer best flat iron in the market and 100% Quality Guarantee.cheap sale,free shipping!
ugg boots Uggs - Ugg Australia Boots & The Contenders Emu & Bearpaw Boots ...
Uggs - Ugg Australia Boots & The Contenders Emu & Bearpaw Boots - Classic Short & Eva - From Cheap to Quality.
lingerie acheter-kamas.com
Kamasbuy.com dofus ,dofus kamas, buy kamas,dofus buy,acheter dofus, buy dofus kamas, Acheter Kamas Dofus, buy dofus gold, welcome to all of you friends.
corsets Jorna's Blog | jorna.blogourt.fr
In here the acheter dofus kamas is full, anytime to come to this. ... Why buy dofus kamas here? Buy acheter des dofus kamas: We are professional dofus . ...
pasties arroz.de.festa, demi-couture: Vestidos de Festa: Tendncias ...
11 Mai 2009 ... Aqui seguem algumas dicas para os vestidos de festa nessa temporada. Dicas um pouco irreais, mais passarela... Mas nada que um toque pessoal ...
87 256 631 735 845 1030 1111 1484 1601 1802 2058 2061 2200 2408 2731 2755 2830 2862 3049 3505 3896 3907 4002 4273 4514 4561 4849 4861 5016 5050 御淑丹欢迎您
 
  用户名: 密 码:
欢迎光临来本网站购买御淑丹产品  
搜索你想要的: 关键字:   
友情链接
御淑丹欢迎您 © 2009-2010 版权所有 浙ICP备08001318号 您是第 访客! 客服一 客服2
邮件:ddd0418@163.com 电话:13768989818 传真:13768989818 地址:广西玉林市玉州区苗中里1-208号 技术支持:森酷商务