关闭顶部展开顶部

专题图片新闻调用(2)_风讯Cms教程

编辑Tag赚U币
教程Tag:暂无Tag,欢迎添加,赚取U币!

'================================================================================================
Case "unrulenews"
if UBound(m_Prar_Cont_Array) = 3 then ReDim Preserve m_Prar_Cont_Array(4) : m_Prar_Cont_Array(4) = "0"
if UBound(m_Prar_Cont_Array) = 4 then : Select_Function = Get_No_Rule_NewsList_Content(m_Prar_Cont_Array(1),m_Prar_Cont_Array(2),m_Prar_Cont_Array(3),m_Prar_Cont_Array(4)) : else : Select_Function = "" : Exit Function : end if
Case "rss" : Select_Function = RSS : Exit Function
Case Else : Select_Function = "" : Exit Function
End Select
End Function

五、\Foosun\Admin\Refresh\RefreshFunction.asp 增加两个函数:

'===================2006-06-07===============================================================================
Function GetModeStr(ModeStr)
Select Case ModeStr
Case "1"
ModeStr = "align=""left"""
Case "2"
ModeStr = "align=""center"""
Case "3"
ModeStr = "align=""right"""
Case else
ModeStr = ""
End Select
GetModeStr=ModeStr
End Function

'专题图片
Function SpicNews(SpecialListStr,NewsNumberStr,ShowTitleStr,OpenModeStr,TitleNumberStr,RowNumStr,PicWidthStr,PicHeightStr,CssFileStr,RowSpaceStr,PicModeStr,TitleModeStr,IsBkStr,BkColorStr,BgColorStr,BgImgStr)
TitleNumberStr = GetTitleNumberStr(TitleNumberStr)
OpenModeStr = GetOpenTypeStr(OpenModeStr)
CssFileStr = GetCSSStyleStr(CssFileStr)
PicModeStr = GetModeStr(PicModeStr)
TitleModeStr = GetModeStr(TitleModeStr)
Dim DivW,DivH,ImgT
DivW = CInt(CInt(PicWidthStr) CInt(RowSpaceStr))
DivH = CInt(CInt(PicHeightStr) CInt(RowSpaceStr))
ImgT = CInt(CInt(RowSpaceStr)/2)
Dim TempBk,TempBg,TempB
If IsBkStr = "1" then
If BkColorStr <> "" then
TempBk = "<div STYLE=""border-style:Double;border-width:3pt; border-color: " & BkColorStr & ";width:" & DivW & "; height:" & DivH & ";text-align:center;"">"
Else
TempBk = "<div STYLE=""border-style:Double;border-width:3pt; border-color:#000000;width:" & DivW & "; height:" & DivH & ";text-align:center;"">"
End If
Else
TempBk = ""
End If
If BgColorStr <> "" and BgImgStr <> "" then
TempBg = "<div style=""background-color:" & BgColorStr & "; background-image:url(" & BgImgStr & ");width:" & DivW & "; height:" & DivH & ";text-align:center;"">"
Elseif BgColorStr = "" and BgImgStr <> "" then
TempBg = "<div style=""background-image:url(" & BgImgStr & ");width:" & DivW & "; height:" & DivH & ";text-align:center;"">"
Elseif BgColorStr <> "" and BgImgStr = "" then
TempBg = "<div style=""background-color:" & BgColorStr & ";width:" & DivW & "; height:" & DivH & ";text-align:center;"">"

查看更多 风讯cms教程  风讯cms模板

来源:模板无忧//所属分类:风讯Cms教程/更新时间:2006-06-19
loading.. 评论加载中....
相关风讯Cms教程
闁汇埄鍨遍悺鏇綖閸℃稒鈷掓い鏇楀亾妞わ綇鎷�
婵炲濮崑鎾斥槈閺傝法澧涙俊鑼€濋柣銏╁灲閹凤拷
婵犵鈧啿鈧绱炲澶嬪殧鐎瑰嫭澹嗙换涔侀柣銏╁灲閹凤拷
婵犵鈧啿鈧绱炲澶婄闁诡垎鍕槬闁诲酣娼уΛ娑㈡偉閿燂拷
闂佺ǹ绻愰幊搴ㄥ焵椤掑倸甯堕幖瀛樼矒瀹曟繈鏁撻敓锟�
闂佺ǹ绻愰幊搴ㄥ焵椤掆偓閸氬绮婇敂鍓х煓閻庯絺鏅濋惌娆戠磽娓氬﹥瀚�
闂佽 鍋撴い鏍ㄧ☉閻︻噣鏌涘┑鎰胺缂併劍妞藉銊╊敍濞嗘垵绗¢梺鍝勫€婚幊鎾舵閿燂拷
闂佸搫鍟版慨椋庣礊婢舵劖鐓i悹杞拌濞层倕霉閿濆棙绀€闁告ɑ鐗犲畷鎰版晸閿燂拷
濠碘槅鍨崜婵嗩熆濡吋瀚绘い鎾寸箖鐎氾拷
婵犵鈧啿鈧绱炲鍥ㄥ妞ゆ挻绻冪€氳櫕淇婇妤€澧叉繝顫嫹
濠碘槅鍨崜婵嗩熆濮椻偓瀹曨剟顢欓崗鐓庘偓鐢告煛閸繄孝濠殿噯鎷�
濠碘槅鍨崜婵嗩熆濮椻偓閺屽懘鍩€椤掆偓閳诲酣骞戦幇闈涙闂佸搫瀚搁幏锟�
濠碘槅鍨崜婵嗩熆濮椻偓瀹曪綁骞嬪┑鍫紝
婵犵鈧啿鈧绱炲澶婄煑闁瑰瓨绻勯瀛樹繆椤栨澧叉繝顫嫹
闁诲骸鍘滈崜婵嬫偋閹惰棄鐭楀┑鐘插暙閼靛綊鏌ら懞銉ュ闁绘牭缍佸畷娆撴晸閿燂拷
UB闂佸湱绮崝妤呯嵁閸モ晜瀚氶悗娑櫳戦~锟�
闂佽壈椴稿濠氭焾鐎电硶鍋撻獮鍨仾婵犫偓閿燂拷
闁诲骸绠嶉崹鍝勶耿閸㈢嚜
闂佸憡姊绘慨椋庣礊婢跺瞼鍗氭繛鍡楀閸炲绻涚紙鐘哄厡闁稿骏鎷�
缂傚倷鐒﹂悷锕傚垂濠婂嫮顩锋い鎺嶇缁插湱鈧偣鍊濈紓姘额敊閿燂拷
©2017 www.mb5u.com濠碘槅鍨崜婵嗩熆濮椻偓瀵噣鎮╅幓鎺撳瘶
闂佽 鍋撻柟顖滃椤ワ拷&闂佸憡甯掑Λ鏃堟閿燂拷