<%
__header("Content-Type","text/html; charset=gb2312");
db_Open("/NandFlash/tmp/dbDat0.db3");

var sql="select m.SID,m.Kind,m.Type,m.Name,m.Note,m.SerType,m.SerDef,m.SerAddr,m.Tag1,m.Tag2,b.LastUpd,b.St,b.Brief from tbSM  m left join tbSMBrief b on m.SID = b.SID where m.Kind="+kind;
db_QryAdv(sql);
db_Close();
%>