File:cn/help.htm
Method:map.set(key,value)
row??set
类型不正确
cn/xmls/news.xmls
...>对不起,暂无更多数据!</div>'];
@Pager=$empty;
}
$return(@contentlist);
}

//帮助详情
$sub HelpView(){
@querycontent=$query(content,help);
@querycata=$query(catalog,help);
@ContentId=$argv(0,0);
@row=@querycontent.row(@ContentId);
$write.out(@row);
@querycontent[ContentId]=@ContentId;
@CatalogId=@querycontent.scalar(CatalogId,ContentId={*ContentId});
@querycata[CatalogId]=@CatalogId;
@row[ParentName]=@querycata.scalar(CatalogName,['{*CatalogId =} and {*AreaId = $shell.getData(cn)} ']);
@Table
s=@querycontent.table(*,['{*CatalogId = @CatalogId} and {*AreaId = $shell.getData(cn)} ']);
@row[CataList]=@Tables.format([#<li><a class="block c-6" href="{~help/*ContentId}"><em></em>{*Title}</a></li>#]);
$if(@row<>$null){
@Modified=@row[Modified];
@row[Modifieds]=$datetime.format(@Modified,yyyy-MM-dd);
@Click=@row[Click];
@querycontent[ContentId]=@ContentId;
@querycontent[Click]=(@Click+1);
@querycontent.update();
}

$shell.put(@row);
$return($empty);
}

//详情
$sub viewContent()...