File:web/Product4.html
Function Code:510
Method Code:10
不能使用 '';文件已在使用中。
数据库执行错误
class/web/headproducts.xmls
...ub headcatalog(){
@query3=$query(catalog,products);
@querycatalog1=$query(catalog,products);
@catalogformat={%##:
<li>
<p class="p1 p2"><a href="{#^:?xmls=web/Product.html&PCatalogID={*CatalogID\}}">{*CatalogName}</a></p>
{@childlist}
</li>
%};
@catalogformat2={%##:<p><a href="{#^:?xmls=web/Product3.html&PCatalogID={*CatalogID\}}">-&nbsp;{*CatalogName}</a></p>%};
@data=@querycatalog1.format(@catalogformat,*,Status>0 and ParentID=0 and Lang='en',Grade desc\,CatalogID asc){
@
childlist=@query3.format(@catalogformat2,*,Status>0 and ParentID={@querycatalog1[CatalogID\]} and Lang='en',Grade desc\,CatalogID asc);
}
$return(@data);
}

//导航新闻
$sub headNewslist(ParentID,format){
@query=$query(catalog,news);
@list=@query.format(@format,*,status=1 and ParentID={@ParentID} and Lang='en',{%grade,CatalogID asc%});
$return(@list);
}