var BlogClass = { GetHotBlogList:function(callback,context){return new ajax_request(this.url + '?_method=GetHotBlogList&_session=r','',callback, context);}, GetBlogIntroduce:function(BlogIndex,callback,context){return new ajax_request(this.url + '?_method=GetBlogIntroduce&_session=r','BlogIndex=' + enc(BlogIndex),callback, context);}, GetBlogArticleList:function(BlogIndex,ClientIndex,callback,context){return new ajax_request(this.url + '?_method=GetBlogArticleList&_session=r','BlogIndex=' + enc(BlogIndex)+ '\r\nClientIndex=' + enc(ClientIndex),callback, context);}, GetBlogArticleListEdit:function(BlogIndex,ClientIndex,callback,context){return new ajax_request(this.url + '?_method=GetBlogArticleListEdit&_session=r','BlogIndex=' + enc(BlogIndex)+ '\r\nClientIndex=' + enc(ClientIndex),callback, context);}, GetBlogNotice:function(BlogIndex,callback,context){return new ajax_request(this.url + '?_method=GetBlogNotice&_session=r','BlogIndex=' + enc(BlogIndex),callback, context);}, GetClientMenu:function(BlogIndex,ClientIndex,callback,context){return new ajax_request(this.url + '?_method=GetClientMenu&_session=r','BlogIndex=' + enc(BlogIndex)+ '\r\nClientIndex=' + enc(ClientIndex),callback, context);}, GetBlogTitle:function(BlogIndex,callback,context){return new ajax_request(this.url + '?_method=GetBlogTitle&_session=r','BlogIndex=' + enc(BlogIndex),callback, context);}, GetBlogInfo:function(BlogIndex,callback,context){return new ajax_request(this.url + '?_method=GetBlogInfo&_session=r','BlogIndex=' + enc(BlogIndex),callback, context);}, GetBlogPicRoll:function(BlogIndex,ClientIndex,callback,context){return new ajax_request(this.url + '?_method=GetBlogPicRoll&_session=r','BlogIndex=' + enc(BlogIndex)+ '\r\nClientIndex=' + enc(ClientIndex),callback, context);}, GetBlogLeaveWordHtml:function(strLblName,strIp,intBlogIndex,intClientIndex,intArticleIndex,callback,context){return new ajax_request(this.url + '?_method=GetBlogLeaveWordHtml&_session=r','strLblName=' + enc(strLblName)+ '\r\nstrIp=' + enc(strIp)+ '\r\nintBlogIndex=' + enc(intBlogIndex)+ '\r\nintClientIndex=' + enc(intClientIndex)+ '\r\nintArticleIndex=' + enc(intArticleIndex),callback, context);}, SetBlogLeaveWord:function(OperatorIP,intBlogIndex,intClientIndex,intArticleIndex,Content,callback,context){return new ajax_request(this.url + '?_method=SetBlogLeaveWord&_session=r','OperatorIP=' + enc(OperatorIP)+ '\r\nintBlogIndex=' + enc(intBlogIndex)+ '\r\nintClientIndex=' + enc(intClientIndex)+ '\r\nintArticleIndex=' + enc(intArticleIndex)+ '\r\nContent=' + enc(Content),callback, context);}, DelBlogLeaveWord:function(OperatorIP,intLeaveWordIndex,callback,context){return new ajax_request(this.url + '?_method=DelBlogLeaveWord&_session=r','OperatorIP=' + enc(OperatorIP)+ '\r\nintLeaveWordIndex=' + enc(intLeaveWordIndex),callback, context);}, GetBlogListHTMLForXHZG:function(callback,context){return new ajax_request(this.url + '?_method=GetBlogListHTMLForXHZG&_session=r','',callback, context);}, GetBlogListHTMLAll:function(ClientIndex,callback,context){return new ajax_request(this.url + '?_method=GetBlogListHTMLAll&_session=r','ClientIndex=' + enc(ClientIndex),callback, context);}, GetBlogInfoHtml:function(BlogIndex,callback,context){return new ajax_request(this.url + '?_method=GetBlogInfoHtml&_session=r','BlogIndex=' + enc(BlogIndex),callback, context);}, GetBlogNoticeHtml:function(BlogIndex,callback,context){return new ajax_request(this.url + '?_method=GetBlogNoticeHtml&_session=r','BlogIndex=' + enc(BlogIndex),callback, context);}, GetBlogNoticeHtmlForModi:function(NoticeIndex,BlogIndex,Action,callback,context){return new ajax_request(this.url + '?_method=GetBlogNoticeHtmlForModi&_session=r','NoticeIndex=' + enc(NoticeIndex)+ '\r\nBlogIndex=' + enc(BlogIndex)+ '\r\nAction=' + enc(Action),callback, context);}, GetBlogNoticeManageHtml:function(BlogIndex,callback,context){return new ajax_request(this.url + '?_method=GetBlogNoticeManageHtml&_session=r','BlogIndex=' + enc(BlogIndex),callback, context);}, GetBlogArticleEditHtml:function(intOperNo,strIp,intBlogIndex,intArticleIndex,callback,context){return new ajax_request(this.url + '?_method=GetBlogArticleEditHtml&_session=r','intOperNo=' + enc(intOperNo)+ '\r\nstrIp=' + enc(strIp)+ '\r\nintBlogIndex=' + enc(intBlogIndex)+ '\r\nintArticleIndex=' + enc(intArticleIndex),callback, context);}, AddBlogArticleKind:function(intBlogIndex,strBlogName,callback,context){return new ajax_request(this.url + '?_method=AddBlogArticleKind&_session=r','intBlogIndex=' + enc(intBlogIndex)+ '\r\nstrBlogName=' + enc(strBlogName),callback, context);}, DelBlogArticleKind:function(intKindIndex,callback,context){return new ajax_request(this.url + '?_method=DelBlogArticleKind&_session=r','intKindIndex=' + enc(intKindIndex),callback, context);}, SetBlogArticleDel:function(intArticleIndex,callback,context){return new ajax_request(this.url + '?_method=SetBlogArticleDel&_session=r','intArticleIndex=' + enc(intArticleIndex),callback, context);}, SetBlogArticleEdit:function(OperatorNo,OperatorIP,intAction,intArticleIndex,intBlogIndex,strTitle,strKeyWords,intKindIndex,Content,callback,context){return new ajax_request(this.url + '?_method=SetBlogArticleEdit&_session=r','OperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nintAction=' + enc(intAction)+ '\r\nintArticleIndex=' + enc(intArticleIndex)+ '\r\nintBlogIndex=' + enc(intBlogIndex)+ '\r\nstrTitle=' + enc(strTitle)+ '\r\nstrKeyWords=' + enc(strKeyWords)+ '\r\nintKindIndex=' + enc(intKindIndex)+ '\r\nContent=' + enc(Content),callback, context);}, GetPicMainHTML:function(blogIndex,callback,context){return new ajax_request(this.url + '?_method=GetPicMainHTML&_session=r','blogIndex=' + enc(blogIndex),callback, context);}, GetPicKindAjax:function(BlogIndex,callback,context){return new ajax_request(this.url + '?_method=GetPicKindAjax&_session=r','BlogIndex=' + enc(BlogIndex),callback, context);}, GetPicKind:function(BlogIndex,callback,context){return new ajax_request(this.url + '?_method=GetPicKind&_session=r','BlogIndex=' + enc(BlogIndex),callback, context);}, SavePhotoInfo:function(intBlogIndex,intXmlName,intKindIndex,callback,context){return new ajax_request(this.url + '?_method=SavePhotoInfo&_session=r','intBlogIndex=' + enc(intBlogIndex)+ '\r\nintXmlName=' + enc(intXmlName)+ '\r\nintKindIndex=' + enc(intKindIndex),callback, context);}, SetAutoBlogInfoSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,BranchIndex,BlogIndex,StationIndex,ClientIndex,BlogTitle,Ename,HeadPortrait,Description,Abstnum,StyleIndex,IfComment,IfLeaveWord,IfPhoto,IfHot,BlogUrl,BlogIntroduce,Status,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutoBlogInfoSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nBranchIndex=' + enc(BranchIndex)+ '\r\nBlogIndex=' + enc(BlogIndex)+ '\r\nStationIndex=' + enc(StationIndex)+ '\r\nClientIndex=' + enc(ClientIndex)+ '\r\nBlogTitle=' + enc(BlogTitle)+ '\r\nEname=' + enc(Ename)+ '\r\nHeadPortrait=' + enc(HeadPortrait)+ '\r\nDescription=' + enc(Description)+ '\r\nAbstnum=' + enc(Abstnum)+ '\r\nStyleIndex=' + enc(StyleIndex)+ '\r\nIfComment=' + enc(IfComment)+ '\r\nIfLeaveWord=' + enc(IfLeaveWord)+ '\r\nIfPhoto=' + enc(IfPhoto)+ '\r\nIfHot=' + enc(IfHot)+ '\r\nBlogUrl=' + enc(BlogUrl)+ '\r\nBlogIntroduce=' + enc(BlogIntroduce)+ '\r\nStatus=' + enc(Status)+ '\r\nReserve=' + enc(Reserve),callback, context);}, SetAutoBlogArticleKindSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,KindIndex,BlogIndex,KindName,AccessLevel,Status,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutoBlogArticleKindSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nKindIndex=' + enc(KindIndex)+ '\r\nBlogIndex=' + enc(BlogIndex)+ '\r\nKindName=' + enc(KindName)+ '\r\nAccessLevel=' + enc(AccessLevel)+ '\r\nStatus=' + enc(Status)+ '\r\nReserve=' + enc(Reserve),callback, context);}, SetAutoBlogArticleSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,ArticleIndex,BlogIndex,Title,KeyWords,KindIndex,ReadTimes,CommentTimes,FavoriteTimes,PublishDate,PublishTime,AccessLevel,Status,Reserve,HtmlContent,TxtContent,callback,context){return new ajax_request(this.url + '?_method=SetAutoBlogArticleSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nArticleIndex=' + enc(ArticleIndex)+ '\r\nBlogIndex=' + enc(BlogIndex)+ '\r\nTitle=' + enc(Title)+ '\r\nKeyWords=' + enc(KeyWords)+ '\r\nKindIndex=' + enc(KindIndex)+ '\r\nReadTimes=' + enc(ReadTimes)+ '\r\nCommentTimes=' + enc(CommentTimes)+ '\r\nFavoriteTimes=' + enc(FavoriteTimes)+ '\r\nPublishDate=' + enc(PublishDate)+ '\r\nPublishTime=' + enc(PublishTime)+ '\r\nAccessLevel=' + enc(AccessLevel)+ '\r\nStatus=' + enc(Status)+ '\r\nReserve=' + enc(Reserve)+ '\r\nHtmlContent=' + enc(HtmlContent)+ '\r\nTxtContent=' + enc(TxtContent),callback, context);}, SetAutoBlogNoticeSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,NoticeIndex,BlogIndex,NoticeKind,BlogIndexList,NoticeTitle,NoticeContent,PublishDate,PublishTime,Status,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutoBlogNoticeSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nNoticeIndex=' + enc(NoticeIndex)+ '\r\nBlogIndex=' + enc(BlogIndex)+ '\r\nNoticeKind=' + enc(NoticeKind)+ '\r\nBlogIndexList=' + enc(BlogIndexList)+ '\r\nNoticeTitle=' + enc(NoticeTitle)+ '\r\nNoticeContent=' + enc(NoticeContent)+ '\r\nPublishDate=' + enc(PublishDate)+ '\r\nPublishTime=' + enc(PublishTime)+ '\r\nStatus=' + enc(Status)+ '\r\nReserve=' + enc(Reserve),callback, context);}, SetAutoBlogPicSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,PicIndex,BlogIndex,PicName,PicUrl,PicKindIndex,Status,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutoBlogPicSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nPicIndex=' + enc(PicIndex)+ '\r\nBlogIndex=' + enc(BlogIndex)+ '\r\nPicName=' + enc(PicName)+ '\r\nPicUrl=' + enc(PicUrl)+ '\r\nPicKindIndex=' + enc(PicKindIndex)+ '\r\nStatus=' + enc(Status)+ '\r\nReserve=' + enc(Reserve),callback, context);}, SetAutoBlogPicKindSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,PicKindIndex,BlogIndex,KindName,AccessLevel,Status,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetAutoBlogPicKindSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nPicKindIndex=' + enc(PicKindIndex)+ '\r\nBlogIndex=' + enc(BlogIndex)+ '\r\nKindName=' + enc(KindName)+ '\r\nAccessLevel=' + enc(AccessLevel)+ '\r\nStatus=' + enc(Status)+ '\r\nReserve=' + enc(Reserve),callback, context);}, SetBlogLeaveWordSQL:function(OperatorBranchIndex,OperatorNo,OperatorIP,Action,LeaveWordIndex,BlogIndex,ClientIndex,ArticleIndex,LeaveWord,LeaveDate,LeaveTime,WriteBack,BackDate,BackTime,Status,Reserve,callback,context){return new ajax_request(this.url + '?_method=SetBlogLeaveWordSQL&_session=r','OperatorBranchIndex=' + enc(OperatorBranchIndex)+ '\r\nOperatorNo=' + enc(OperatorNo)+ '\r\nOperatorIP=' + enc(OperatorIP)+ '\r\nAction=' + enc(Action)+ '\r\nLeaveWordIndex=' + enc(LeaveWordIndex)+ '\r\nBlogIndex=' + enc(BlogIndex)+ '\r\nClientIndex=' + enc(ClientIndex)+ '\r\nArticleIndex=' + enc(ArticleIndex)+ '\r\nLeaveWord=' + enc(LeaveWord)+ '\r\nLeaveDate=' + enc(LeaveDate)+ '\r\nLeaveTime=' + enc(LeaveTime)+ '\r\nWriteBack=' + enc(WriteBack)+ '\r\nBackDate=' + enc(BackDate)+ '\r\nBackTime=' + enc(BackTime)+ '\r\nStatus=' + enc(Status)+ '\r\nReserve=' + enc(Reserve),callback, context);}, url:'/ajax/Starland.AutoWeb.Blog.BlogClass,Starland.AutoWeb.Blog.ashx' } function TimeSpan(){this.Days=0;this.Hours=0;this.Minutes=0;this.Seconds=0;this.Milliseconds=0;} TimeSpan.prototype.toString = function(){return this.Days+'.'+this.Hours+':'+this.Minutes+':'+this.Seconds+'.'+this.Milliseconds;} function HtmlControl(id) { var ele = null; if(typeof(id) == 'object') ele = id; else ele = document.getElementById(id); if(ele == null) return null; var _o = ele.cloneNode(true); var _op = document.createElement('SPAN'); _op.appendChild(_o); this._source = _op.innerHTML; } HtmlControl.prototype.toString = function(){ return this._source; } function HtmlControlUpdate(func, parentId) { var f,i,ff,fa=''; var ele = document.getElementById(parentId); if(ele == null) return; var args = []; for(i=0; i 2) for(i=2; i9999||year<1970||month<1||month>12||day<0||day>31||hours<0||hours>23||minutes<0||minutes>59||seconds<0||seconds>59)throw("ArgumentException");this.Year = year;this.Month = month;this.Day = day;this.Hours = hours;this.Minutes = minutes;this.Seconds = seconds;} DateTime.prototype.toString = function(){return digi(this.Year,4) + digi(this.Month,2) + digi(this.Day,2) + digi(this.Hours,2) + digi(this.Minutes,2) + digi(this.Seconds,2);}