<!--#include file="../include/common.asp"-->
<%
dim id : id=request.querystring("id")
if id<>"" then
	dim casename : casename = anxinMall.db("select casename from [anxinMall_weixincase] where caseid="&id,2)(0)
	dim content : content = anxinMall.db("select content from [anxinMall_weixincase] where caseid="&id,2)(0)
	dim pic_small : pic_small = anxinMall.db("select pic_small from [anxinMall_weixincase] where caseid="&id,2)(0)
	dim addtime : addtime = anxinMall.db("select addtime from [anxinMall_weixincase] where caseid="&id,2)(0)
end if

dim TPL
set TPL = New anxinMall_Cls_Template
'if id<>"" then
call TPL.Load(cfg_templatedir&"/case_details.asp")
'end if
TPL.Content = anxinMall.ReplaceStr(TPL.Content,"{anxinMall:field.caseid}",id)
TPL.Content = anxinMall.ReplaceStr(TPL.Content,"{anxinMall:field.ifshow}",anxinMall.iif(id<>"","","display:none;"))
TPL.Content = anxinMall.ReplaceStr(TPL.Content,"{anxinMall:field.casename}",anxinMall.iif(casename<>"",casename,""))
TPL.Content = anxinMall.ReplaceStr(TPL.Content,"{anxinMall:field.pic_small}",anxinMall.iif(pic_small<>"",pic_small,"/file/images/nophoto.jpg"))
TPL.Content = anxinMall.ReplaceStr(TPL.Content,"{anxinMall:field.addtime}",anxinMall.iif(addtime<>"",addtime,""))
TPL.Content = anxinMall.ReplaceStr(TPL.Content,"{anxinMall:field.content}",anxinMall.iif(content<>"",content,""))
Call TPL.Parser("")
response.write Tpl.content
Set TPL = nothing
%>