asp中呼叫新聞的問題

2023-02-11 23:25:59 字數 1762 閱讀 9346

1樓:我的文件小鋪子

[消費"&rs("moneypay")&"個金幣]")

elseif userview=2 then

ft_mbstr=replace(ft_mbstr,"$userview$","vip會員新聞

[消費"&rs("moneypay")&"個金幣]")

else

ft_mbstr=replace(ft_mbstr,"$userview$","普通新聞")

end if

if session("ft_adminlogin")=feitec_sessionvar then

newscontent=replace(changeemot(newscontent),"0 and rs("user_view")<>0 then

if session("userlogin")=user_session then

dim userarray,username,curarray

curarray=split(session("userdata"),"||")

username=checksql("會員名稱",curarray(0),1,10)

set rs2=server.createobject("adodb.recordset")

rs2.open sql,conn,1,3

if not (rs2.eof and rs2.bof) then

if rs2("user_money")-rs("moneypay")<0 then

response.write""

response.end

elseif rs("user_view")=2 then

if rs2("user_type")<>2 then

response.write""

response.end

else

rs2("user_money")=rs2("user_money")-rs("moneypay")

rs2.update

end if

elseif rs("user_view")=1 then

rs2("user_money")=rs2("user_money")-rs("moneypay")

rs2.update

end if

else

response.write""

response.end

end if

rs2.close:set rs2=nothing

newscontent=replace(changeemot(newscontent),"你沒有許可權檢視此頁,請註冊為會員……

"end if

else

newscontent=replace(changeemot(newscontent),"

2樓:仨倆拐_頂

給科技市場這種地方求助吧,網上問這些希望不大,同情...

3樓:匿名使用者

request.["id"]

4樓:匿名使用者

寫錯了,自己除錯除錯!

5樓:匿名使用者

asp?還是asp.net?

6樓:

這裡說不清楚 ,可以hi我一下!

asp中關於《call 某函式的呼叫函式問題

你是說,你呼叫函式照樣能用而且不提示出錯,但是函式中的功能部分缺失?我看了半天,很明顯你的function.asp不是在inc資料夾下,也就是說,會提示你 未找到包含檔案 那麼,之後的呼叫函式根本就不會執行到。換言之,出現問題的根源是 呼叫檔案不存在 至於修改資料庫連結這是必須的,改了資料夾之後,資...

關於ASP的問題,ASP指什麼

sql,conn,1,3 第一個1是表示 指標,一般情況用1,若要求指標只能單向移動就是0第二個3是表示 資料庫開啟方式,3表示可以更新 可寫 1表示只讀 不可寫,保護資料 是新增一條新記錄的意思,執行 sql,conn,1,3中sql語句。sql,conn,1,3是開啟一個可修改的資料庫表檔案,s...

簡單的ASP問題,一個簡單的ASP問題

那就要看這個系統還有其他呼叫方式沒有。js呼叫不會被搜尋引擎收錄,顯然是個很老的cms系統。現在都講究靜態seo優化了。來用我們的kingcms 5.0吧 那就要看這個系統還有其他呼叫方式沒有 用這是把 檔案地址 全包含在你要的網頁裡了.如上面你的那個 記到結帳.lm2 73 list 10 用se...