File:xz-case.html
Method:query.map(columns,*where,*order)
已成功与服务器建立连接,但是在登录前的握手期间发生错误。 (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)
数据库执行错误
xmls/xz-news.xmls
...adcup(format){
@query=$query(catalog,content);
@loadtable=@query.table(*,['AreaId=1 and Status=1 and ParentId=26'],['Grade asc,CatalogId asc']);
@dt=0;
@style=$string();
@Loadlist=@loadtable.format(@format){
@dt=(@dt+1);
$if(@dt==1){
@style=["dowtwsp"];
}
$elseif(@dt==5){
@style=["dowtwsp4"];
@dt=0;
}
$else{
@dl=(@dt-1);
@style=["dowtwsp{@dl}"];
}

};
$return(@Loadlist);
}


$sub getCasedetail(){
@querycen=$query(content,content);
@querycen[CatalogId]=$http.get(cid);
@
casemap=@querycen.map(*,['AreaId=1 and Status=1 and CatalogId={*CatalogId}'],['Grade asc,ContentId desc']);
$if(@casemap==$null){
@casemap=$map();
@Body=['<div><span style="height:40px;line-height:40px;color:#f00;text-align:center;font-size:12px;display:block">暂时还没有数据!</span></div>'];
}
$else{
@Body=@casemap[Body];
}
$return($empty);
}


//下载列表
$sub pageDownload(){
@format=[#
<li class="por"><a href="{*FilePath}" target="_blank">{*Title}<span class="dis poa"></span></a></li>
#]; ...