UserList.js
上传用户:q2283699q
上传日期:2022-05-17
资源大小:10704k
文件大小:1k
源码类别:

Ftp客户端

开发平台:

Visual C++

  1. function xcm(qmhb,tjp,sxn,jjn){AW.Formats.UsersGridLocaleDate=AW.System.Format.subclass();AW.Formats.UsersGridLocaleDate.create=function(){var lng=this.prototype;var pwm=this.superclass.prototype;var mrkb=new Date();var ldq=mrkb.getTimezoneOffset();lng.init=function(){pwm.init.call(this);};lng.dataToText=function(rbq){if((typeof(rbq)=="undefined")||(rbq=="")||(rbq.toString()=="0"))return("");else{if((AW.ie)&&(parseInt(navigator.appVersion)>=4))return(VBDateFormat(rbq,ldq));else{return(qjwb(rbq));}}};lng.dataToValue=function(rbq){var bj=parseInt(rbq);if(isNaN(bj))return(0);else return(bj);};};var zbk=11;var ycn=bsl(qmhb,[yvf,gvnb,cfcb,pkw],[160,160,190,100],sxn,"users","user",zbk,tjp);var klq=new AW.Formats.XMLString;ycn.setCellFormat([klq,klq,klq,new AW.Formats.UsersGridLocaleDate]);ycn.m_nDeleteColumn=0;ycn.m_nIDCol=0;ycn.m_sIDCol="LoginID";ycn.getCellImage=function(vv,nffb){var vmtb="";if(this.getCellData(9,nffb)=="1")vmtb="-Domain";else if(this.getCellData(9,nffb)=="2")vmtb="-Sys";else if(this.getCellData(9,nffb)=="3")vmtb="-DomainRO";else if(this.getCellData(9,nffb)=="4")vmtb="-SysRO";if(this.getCellData(6,nffb)=="0")return("UserDisabled"+vmtb);else if(this.getCellData(7,nffb)=="1")return("UserAutoDisabled"+vmtb);else if(this.getCellData(5,nffb)=="0")return("UserWarn"+vmtb);else if(parseInt(this.getCellData(4,nffb))>0)return("UserTemp"+vmtb);else return("User"+vmtb);};if(jjn!=undefined)ycn.setStyle("height",jjn);return(ycn);}