File:program/product_list.xmls
Function Code:340
Method Code:1
类型不正确:(tproductcls(get))
program/product_list.xmls
$function main(){
@catalogid=$get(catalogid,:$number&empty:0);
@tproductcls=$db.dataRow(select * from cnProductCls where CatalogID={@catalogid});
$
if(@tproductcls[ParentID]==0){
@parentrow=@tproductcls;
}
$else{
@parentrow=$db.dataRow(select * from cnProductCls where CatalogID={@tproductcls[ParentID\]});
}

@format=#{=Body}
<ul class="ul8">
{@tproductlist[list]}
</ul>
{=list}
<li>
<div><table width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td style="line-height:214px;height:214px;"><a href="?xmls=program/product_view.xmls&productid={*ProductID}"><img src="{*Pic}" o...