<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%> <% conn.open constr If Not IsNumeric(requesta("newsid")) Then Response.write "·ا·¨·أخت£،" Response.end End If newsid=Requesta("newsid") if newsid=172 then newsid=182 sqlcmd="SELECT * FROM [news] where newsid="& newsid rs.open sqlcmd,conn,3 newstitle=rs("newstitle") newscontent=rs("newscontent") newpic=trim(rs("newpic")) & "" newsshow=rs("newsshow") rs.close if newPic<>"" then newpic="" call setHeaderAndfooter() tpl.set_file "main", USEtemplate&"/news/list.html" tpl.set_file "left", USEtemplate&"/config/customercenterleft/CustomerCenterLeft.html" tpl.set_var "newstitle",newstitle,false tpl.set_var "newscontent",newscontent,false tpl.set_var "newpic",newpic,false tpl.parse "#CustomerCenterLeft.html","left",false tpl.parse "mains","main",false tpl.p "mains" set tpl=nothing conn.close %>