05 2011 档案
摘要:/**比较时间段一与时间段二是否有交集*/function isMixTime($begintime1,$endtime1,$begintime2,$endtime2){$status = $begintime2 - $begintime1;if($status>0){$status2 = $begintime2 - $endtime1;if($status2>0){return false;}else{return true;}}else{$status2 = $begintime1 - $endtime2;if($status2>0){return false;}else
阅读全文
摘要:安装netbeans7之后在插件安装那里找不到python插件,google一下发现官方论坛里面有解决方法,如下:http://forums.netbeans.org/topic37805.htmlJust go to Tools->Plugins, click Settings. Click Add, and add a new "Update Center" , name it like "Python plugin is here", and in the link, paste this: http://deadlock.netbeans.
阅读全文
摘要:PHP显示今天、今月、上月、今年的起点/终点时间戳$t = time();$t1 = mktime(0,0,0,date(“m”,$t),date(“d”,$t),date(“Y”,$t));$t2 = mktime(0,0,0,date(“m”,$t),1,date(“Y”,$t));$t3 = mktime(0,0,0,date(“m”,$t)-1,1,date(“Y”,$t));$t4 = mktime(0,0,0,1,1,date(“Y”,$t));$e1 = mktime(23,59,59,date(“m”,$t),date(“d”,$t),date(“Y”,$t));$e2 = m
阅读全文
摘要:正常情况下:firefox下bug:之所以出现上面的情况是因为dwz.frag.xml为加载完就实行了菜单加载,具体看代码:问题代码:$(document).ready(function(){DWZ.init("__PUBLIC__/dwz/dwz.frag.xml", {loginUrl:"login.html",debug:false,statusCode:{ok:1,error:0},callback:function(){initEnv();$("#themeList").theme({themeBase:"__PU
阅读全文
摘要:这两周用thinkphp and dwzjs开发了一个小系统,感觉开发效率还算可以,就是程序效率不咋的,还好系统用的人少,漂过去啦
阅读全文
浙公网安备 33010602011771号