File:graveyard.htm
Method:query.table(columns,*where,*order,*top)
关键字 'ORDER' 附近有语法错误。 select * FROM moucatalog WHERE Status>0 and ORDER BY Grade desc,CatalogId desc
数据库执行错误
xmls/mudi.xmls
...Id];
@tables=@queryitem.table(*,['{*GoodsId =}']);
@jiages=@tables.format(@formats){
@queryty[MeTypeId]=$var[MeTypeId];
@MeTypeName=@queryty.scalar(MeTypeName,['{*MeTypeId =}']);

$if($var[Price]==0){
@price=免费;
}
$else{
@price=["{$var[Price]}天国币"];
}
}

$if($var[ValidTime]==0){
@tian=永久;
}
$else{
@tian=["{$var[ValidTime]}天"];
}


}

$return(@content);
}


//纪念分类
$sub cataloglist(format){
@query=$query(catalog,mourn);
@call=$call(xmls/frame.xmls);
@call.load();
@
table=@query.table(*,['Status>0 and {*AreaId = $shell[AreaId]}'],['Grade desc,CatalogId desc']);
@content=@table.format(@format);
$return(@content);
}

//墓地详情
$sub details(){
@call=$call(xmls/frame.xmls);
@call.load();
@query=$query(dieinfo,mourn);
@querymu=$query(memorial,mourn);
@queryte=$query(template,mourn);
@querymsg=$query(memomsg,mourn);
@query[DieInfoId]=$argv(0);
@maps=@query.map(*,['{*DieInfoId =}']);
$if(@maps[Birthday]==不详){
@brithday=不详;
}
$else{
@brithday=$datet...