diff --git a/My97DatePicker/WdatePicker.js b/My97DatePicker/WdatePicker.js new file mode 100644 index 0000000..851604a --- /dev/null +++ b/My97DatePicker/WdatePicker.js @@ -0,0 +1,57 @@ +/* + * My97 DatePicker 4.8 Beta4 + * License: http://www.my97.net/dp/license.asp + */ +var $dp,WdatePicker;(function(){var $={ +$langList:[ + {name:"en",charset:"UTF-8"}, + {name:"zh-cn",charset:"gb2312"}, + {name:"zh-tw",charset:"GBK"}], +$skinList:[ + {name:"default",charset:"gb2312"}, + {name:"whyGreen",charset:"gb2312"}, + {name:"blue",charset:"gb2312"}, + {name:"green",charset:"gb2312"}, + {name:"simple",charset:"gb2312"}, + {name:"ext",charset:"gb2312"}, + {name:"blueFresh",charset:"gb2312"}, + {name:"twoer",charset:"gb2312"}, + {name:"YcloudRed",charset:"gb2312"}], +$wdate:true, +$crossFrame:true, +$preLoad:false, +$dpPath:"", +doubleCalendar:false, +enableKeyboard:true, +enableInputMask:true, +autoUpdateOnChanged:null, +weekMethod:"ISO8601", +position:{}, +lang:"auto", +skin:"default", +dateFmt:"yyyy-MM-dd", +realDateFmt:"yyyy-MM-dd", +realTimeFmt:"HH:mm:ss", +realFullFmt:"%Date %Time", +minDate:"1900-01-01 00:00:00", +maxDate:"2099-12-31 23:59:59", +startDate:"", +alwaysUseStartDate:false, +yearOffset:1911, +firstDayOfWeek:0, +isShowWeek:false, +highLineWeekDay:true, +isShowClear:true, +isShowToday:true, +isShowOK:true, +isShowOthers:true, +readOnly:false, +errDealMode:0, +autoPickDate:null, +qsEnabled:true, +autoShowQS:false, +opposite:false, +hmsMenuCfg:{H:[1,6],m:[5,6],s:[15,4]}, +opposite:false, + +specialDates:null,specialDays:null,disabledDates:null,disabledDays:null,onpicking:null,onpicked:null,onclearing:null,oncleared:null,ychanging:null,ychanged:null,Mchanging:null,Mchanged:null,dchanging:null,dchanged:null,Hchanging:null,Hchanged:null,mchanging:null,mchanged:null,schanging:null,schanged:null,eCont:null,vel:null,elProp:"",errMsg:"",quickSel:[],has:{},getRealLang:function(){var _=$.$langList;for(var A=0;A<_.length;A++)if(_[A].name==this.lang)return _[A];return _[0]}};WdatePicker=U;var Y=window,T={innerHTML:""},N="document",H="documentElement",C="getElementsByTagName",V,A,S,G,c,X=navigator.appName;if(X=="Microsoft Internet Explorer")S=true;else if(X=="Opera")c=true;else G=true;A=$.$dpPath||J();if($.$wdate)K(A+"skin/WdatePicker.css");V=Y;if($.$crossFrame){try{while(V.parent!=V&&V.parent[N][C]("frameset").length==0)V=V.parent}catch(O){}}if(!V.$dp)V.$dp={ff:G,ie:S,opera:c,status:0,defMinDate:$.minDate,defMaxDate:$.maxDate};B();if($.$preLoad&&$dp.status==0)E(Y,"onload",function(){U(null,true)});if(!Y[N].docMD){E(Y[N],"onmousedown",D,true);Y[N].docMD=true}if(!V[N].docMD){E(V[N],"onmousedown",D,true);V[N].docMD=true}E(Y,"onunload",function(){if($dp.dd)P($dp.dd,"none")});function B(){try{V[N],V.$dp=V.$dp||{}}catch($){V=Y;$dp=$dp||{}}var A={win:Y,$:function($){return(typeof $=="string")?Y[N].getElementById($):$},$D:function($,_){return this.$DV(this.$($).value,_)},$DV:function(_,$){if(_!=""){this.dt=$dp.cal.splitDate(_,$dp.cal.dateFmt);if($)for(var B in $)if(this.dt[B]===undefined)this.errMsg="invalid property:"+B;else{this.dt[B]+=$[B];if(B=="M"){var C=$["M"]>0?1:0,A=new Date(this.dt["y"],this.dt["M"],0).getDate();this.dt["d"]=Math.min(A+C,this.dt["d"])}}if(this.dt.refresh())return this.dt}return""},show:function(){var A=V[N].getElementsByTagName("div"),$=100000;for(var B=0;B$)$=_}this.dd.style.zIndex=$+2;P(this.dd,"block");P(this.dd.firstChild,"")},unbind:function($){$=this.$($);if($.initcfg){L($,"onclick",function(){U($.initcfg)});L($,"onfocus",function(){U($.initcfg)})}},hide:function(){P(this.dd,"none")},attachEvent:E};for(var _ in A)V.$dp[_]=A[_];$dp=V.$dp}function E(B,_,A,$){if(B.addEventListener){var C=_.replace(/on/,"");A._ieEmuEventHandler=function($){return A($)};B.addEventListener(C,A._ieEmuEventHandler,$)}else B.attachEvent(_,A)}function L(A,$,_){if(A.removeEventListener){var B=$.replace(/on/,"");_._ieEmuEventHandler=function($){return _($)};A.removeEventListener(B,_._ieEmuEventHandler,false)}else A.detachEvent($,_)}function a(_,$,A){if(typeof _!=typeof $)return false;if(typeof _=="object"){if(!A)for(var B in _){if(typeof $[B]=="undefined")return false;if(!a(_[B],$[B],true))return false}return true}else if(typeof _=="function"&&typeof $=="function")return _.toString()==$.toString();else return _==$}function J(){var _,A,$=Y[N][C]("script");for(var B=0;B<$.length;B++){_=$[B].getAttribute("src")||"";_=_.substr(0,_.toLowerCase().indexOf("wdatepicker.js"));A=_.lastIndexOf("/");if(A>0)_=_.substring(0,A+1);if(_)break}return _}function K(A,$,B){var D=Y[N][C]("HEAD").item(0),_=Y[N].createElement("link");if(D){_.href=A;_.rel="stylesheet";_.type="text/css";if($)_.title=$;if(B)_.charset=B;D.appendChild(_)}}function F($){$=$||V;var A=0,_=0;while($!=V){var D=$.parent[N][C]("iframe");for(var F=0;F_.scrollTop||A.scrollLeft>_.scrollLeft))?A:_;return{"top":B.scrollTop,"left":B.scrollLeft}}function D($){try{var _=$?($.srcElement||$.target):null;if($dp.cal&&!$dp.eCont&&$dp.dd&&_!=$dp.el&&$dp.dd.style.display=="block")$dp.cal.close()}catch($){}}function Z(){$dp.status=2}var Q,_;function U(K,C){if(!$dp)return;B();var L={};for(var H in K)L[H]=K[H];for(H in $)if(H.substring(0,1)!="$"&&L[H]===undefined)L[H]=$[H];if(C){if(!J()){_=_||setInterval(function(){if(V[N].readyState=="complete")clearInterval(_);U(null,true)},50);return}if($dp.status==0){$dp.status=1;L.el=T;I(L,true)}else return}else if(L.eCont){L.eCont=$dp.$(L.eCont);L.el=T;L.autoPickDate=true;L.qsEnabled=false;I(L)}else{if($.$preLoad&&$dp.status!=2)return;var F=D();if(Y.event===F||F){L.srcEl=F.srcElement||F.target;F.cancelBubble=true}L.el=L.el=$dp.$(L.el||L.srcEl);if(!L.el||L.el["My97Mark"]===true||L.el.disabled||($dp.dd&&P($dp.dd)!="none"&&$dp.dd.style.left!="-970px")){try{if(L.el["My97Mark"])L.el["My97Mark"]=false}catch(A){}return}if(F&&L.el.nodeType==1&&!a(L.el.initcfg,K)){$dp.unbind(L.el);E(L.el,F.type=="focus"?"onclick":"onfocus",function(){U(K)});L.el.initcfg=K}I(L)}function J(){if(S&&V!=Y&&V[N].readyState!="complete")return false;return true}function D(){if(G){func=D.caller;while(func!=null){var $=func.arguments[0];if($&&($+"").indexOf("Event")>=0)return $;func=func.caller}return null}return event}}function R(_,$){return _.currentStyle?_.currentStyle[$]:document.defaultView.getComputedStyle(_,false)[$]}function P(_,$){if(_)if($!=null)_.style.display=$;else return R(_,"display")}function I(G,_){var D=G.el?G.el.nodeName:"INPUT";if(_||G.eCont||new RegExp(/input|textarea|div|span|p|a/ig).test(D))G.elProp=D=="INPUT"?"value":"innerHTML";else return;if(G.lang=="auto")G.lang=S?navigator.browserLanguage.toLowerCase():navigator.language.toLowerCase();if(!G.eCont)for(var C in G)$dp[C]=G[C];if(!$dp.dd||G.eCont||($dp.dd&&(G.getRealLang().name!=$dp.dd.lang||G.skin!=$dp.dd.skin))){if(G.eCont)E(G.eCont,G);else{$dp.dd=V[N].createElement("DIV");$dp.dd.style.cssText="position:absolute";V[N].body.appendChild($dp.dd);E($dp.dd,G);if(_)$dp.dd.style.left=$dp.dd.style.top="-970px";else{$dp.show();B($dp)}}}else if($dp.cal){$dp.show();$dp.cal.init();if(!$dp.eCont)B($dp)}function E(K,J){var I=V[N].domain,F=false,G="";K.innerHTML=G;var _=$.$langList,D=$.$skinList,H;try{H=K.lastChild.contentWindow[N]}catch(E){F=true;K.removeChild(K.lastChild);var L=V[N].createElement("iframe");L.hideFocus=true;L.frameBorder=0;L.scrolling="no";L.src="javascript:(function(){var d=document;d.open();d.domain='"+I+"';})()";K.appendChild(L);setTimeout(function(){H=K.lastChild.contentWindow[N];C()},97);return}C();function C(){var _=J.getRealLang();K.lang=_.name;K.skin=J.skin;var $=[""];if(F)$[1]="document.domain=\""+I+"\";";for(var C=0;C");$.push("");$.push("");$.push("");J.setPos=B;J.onload=Z;H.write("");H.cfg=J;H.write($.join(""));H.close()}}function B(J){var H=J.position.left,C=J.position.top,D=J.el;if(D==T)return;if(D!=J.srcEl&&(P(D)=="none"||D.type=="hidden"))D=J.srcEl;var I=W(D),$=F(Y),E=M(V),B=b(V),G=$dp.dd.offsetHeight,A=$dp.dd.offsetWidth;if(isNaN(C))C=0;if(($.topM+I.bottom+G>E.height)&&($.topM+I.top-G>0))C+=B.top+$.topM+I.top-G-2;else{C+=B.top+$.topM+I.bottom;var _=C-B.top+G-E.height;if(_>0)C-=_}if(isNaN(H))H=0;H+=B.left+Math.min($.leftM+I.left,E.width-A-5)-(S?2:0);J.dd.style.top=C+"px";J.dd.style.left=H+"px"}}})() \ No newline at end of file diff --git a/My97DatePicker/calendar.js b/My97DatePicker/calendar.js new file mode 100644 index 0000000..98dee35 --- /dev/null +++ b/My97DatePicker/calendar.js @@ -0,0 +1,5 @@ +/* + * My97 DatePicker 4.8 Beta4 + * License: http://www.my97.net/dp/license.asp + */ +eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('l($4o.44){$f={};1b(q p 4r $2s)l(6p $2s[p]=="6o"){$f[p]={};1b(q 4G 4r $2s[p])$f[p][4G]=$2s[p][4G]}t $f[p]=$2s[p]}t $f=$2s;1b(p 4r $4o)$f[p]=$4o[p];q $c;l($69){6x.3J.7l("6U",n($){l(!$)h.2m();u $});6x.3J.7k("5I",n(){q $=h.5B;36($.5t!=1)$=$.7b;u $})}n 5C(){$c=h;h.3n=[];$d=1L.7i("z");$d.1e="4P";$d.1M="<1z Y=47><1z Y=47><1x 2q=0 2o=0 2C=0><1j><19 8a=2><4w 1G=89>&42;<1z Y=83 4s=2><1z 1i=\\":\\" Y=6K 6t><1z Y=6u 4s=2><1z 1i=\\":\\" Y=6K 6t><1z Y=6u 4s=2><19><1S 1G=7R><1j><19><1S 1G=7E><1z Y=4v 1G=7y 3k=1S><1z Y=4v 1G=7N 3k=1S><1z Y=4v 1G=7K 3k=1S>";71($d,n(){3x()});A();h.5D();$f.1X=[1L,$d.1P,$d.1y,$d.2w,$d.3a,$d.2r,$d.2V,$d.2j,$d.1U];1b(q B=0;B<$f.1X.x;B++){q b=$f.1X[B];b.3e=B==$f.1X.x-1?$f.1X[1]:$f.1X[B+1];$f.3A(b,"4k",5a)}$();55("y,M,H,m,s");$d.72.1s=n(){5g(1)};$d.75.1s=n(){5g(-1)};$d.4y.1s=n(){l($d.1H.1d.2a!="6G"){$c.4Q();3G($d.1H)}t 1o($d.1H)};1L.6R.4O($d);n A(){q b=$("a");1q=$("z"),1J=$("1z"),4t=$("1S"),5G=$("4w");$d.3M=b[0];$d.3K=b[1];$d.3L=b[3];$d.3N=b[2];$d.4b=1q[9];$d.1P=1J[0];$d.1y=1J[1];$d.4A=1q[0];$d.4f=1q[4];$d.2R=1q[6];$d.1H=1q[10];$d.2Z=1q[11];$d.34=1q[12];$d.5N=1q[13];$d.6P=1q[14];$d.73=1q[15];$d.4y=1q[16];$d.4e=1q[17];$d.2w=1J[2];$d.3a=1J[4];$d.2r=1J[6];$d.2V=1J[7];$d.2j=1J[8];$d.1U=1J[9];$d.72=4t[0];$d.75=4t[1];$d.5L=5G[0];n $($){u $d.74($)}}n $(){$d.3M.1s=n(){$1O=$1O<=0?$1O-1:-1;l($1O%5==0){$d.1y.22();u}$d.1y.1i=$o.y-1;$d.1y.2x()};$d.3K.1s=n(){$o.1V("M",-1);$d.1P.2x()};$d.3L.1s=n(){$o.1V("M",1);$d.1P.2x()};$d.3N.1s=n(){$1O=$1O>=0?$1O+1:1;l($1O%5==0){$d.1y.22();u}$d.1y.1i=$o.y+1;$d.1y.2x()}}}5C.3J={5D:n(){$1O=0;$f.5b=h;l($f.3S&&$f.Z.3S!=1h){$f.Z.3S=1c;$f.Z.4M()}h.4q();$o=h.4D=1a 1D();$1C=1a 1D();$1v=h.2B=1a 1D();$f.2N=0;h.1B=h.2P($f.1B);h.2X=$f.2X==1h?($f.18.2g&&$f.18.2g?1p:1c):$f.2X;$f.3y=$f.3y==1h?($f.4z&&$f.18.d?1p:1c):$f.3y;h.4m=h.35("7L");h.6m=h.35("7I");h.6d=h.35("7J");h.5s=h.35("7M");h.20=h.3I($f.20,$f.20!=$f.5J?$f.1T:$f.2F,$f.5J);h.1Z=h.3I($f.1Z,$f.1Z!=$f.5M?$f.1T:$f.2F,$f.5M);l(h.20.2z(h.1Z)>0)$f.4u=$1l.7Q;l(h.25()){h.5y();h.3j=$f.Z[$f.1E]}t h.3p(1p,2);3H($o);$d.5L.1M=$1l.7O;$d.2V.1i=$1l.7H;$d.2j.1i=$1l.7A;$d.1U.1i=$1l.7B;$d.1U.2e=!$c.1A($1v);h.6l();h.6V();l($f.4u)7z($f.4u);h.4B();l($f.Z.5t==1&&$f.Z["3V"]===4p){$f.3A($f.Z,"4k",5a);$f.3A($f.Z,"2x",n(){l($f&&$f.1K.1d.2a=="2u"){$c.3c();l(!$f.2N&&$f.5b.3j!=$f.Z[$f.1E]&&$f.Z.7G)5l($f.Z,"7D")}});$f.Z["3V"]=1p}$c.1k=$f.Z;3x()},5y:n(){q b=h.2S();l(b!=0){q $;l(b>0)$=h.1Z;t $=h.20;l($f.18.3Y){$o.y=$.y;$o.M=$.M;$o.d=$.d}l($f.18.2g){$o.H=$.H;$o.m=$.m;$o.s=$.s}}},3h:n(K,C,R,F,B,H,G,L,M){q $;l(K&&K.25)$=K;t{$=1a 1D();l(K!=""){C=C||$f.1B;q I,D,Q=0,P,A=/3i|2H|3l|y|2I|3o|3R|M|1K|d|%2l|53|H|4V|m|4U|s|3u|D|4T|W|w/g,b=C.2J(A);A.2t=0;l(M)P=K.4c(/\\W+/);t{q E=0,N="^";36((P=A.2U(C))!==1h){l(E>=0){D=C.1F(E,P.3Z);l(D&&"-/\\\\".1n(D)>=0)D="[\\\\-/]";N+=D}E=A.2t;2Y(P[0]){1f"3i":N+="(\\\\d{4})";1g;1f"2H":N+="(\\\\d{3})";1g;1f"2I":1f"3o":1f"3u":1f"D":N+="(\\\\D+)";1g;5v:N+="(\\\\d\\\\d?)";1g}}N+=".*$";P=1a 3v(N).2U(K);Q=1}l(P){1b(I=0;I0){1b(B=0;B<$.x;B++){A+=h.2P($[B]);l(B!=$.x-1)A+="|"}A=A?1a 3v("(?:"+A+")"):1h}t A=1h;u A},3d:n($){l($===4p)$=h.4F();l($f.Z[$f.1E]!=$)$f.Z[$f.1E]=$;h.4l()},4l:n($){q b=$f.$($f.86),$=3r($,h.4F($f.1T));l(b)b.1i=$;$f.Z["3E"]=$},2P:n(s){q 3T="3m",1r,2v,6n=/#?\\{(.*?)\\}/;s=s+"";1b(q i=0;i<3T.x;i++)s=s.1m("%"+3T.1Q(i),h.1W(3T.1Q(i),1h,$1C));l(s.1F(0,3)=="#F{"){s=s.1F(3,s.x-1);l(s.1n("u ")<0)s="u "+s;s=$f.51.4d("1a 88(\\""+s+"\\");");s=s()}36((1r=6n.2U(s))!=1h){1r.2t=1r.3Z+1r[1].x+1r[0].x-1r[1].x-1;2v=2n(4d(1r[1]));l(2v<0)2v="2f"+(-2v);s=s.1F(0,1r.3Z)+2v+s.1F(1r.2t+1)}u s},3I:n(A,B,b){q $;A=h.2P(A);l(!A||A=="")A=b;l(6p A=="6o")$=A;t{$=h.3h(A,B,1h,1h,1,0,0,0,1c);$.y=(""+$.y).1m(/^2f/,"-");$.M=(""+$.M).1m(/^2f/,"-");$.d=(""+$.d).1m(/^2f/,"-");$.H=(""+$.H).1m(/^2f/,"-");$.m=(""+$.m).1m(/^2f/,"-");$.s=(""+$.s).1m(/^2f/,"-");l(A.1n("%2l")>=0){A=A.1m(/%2l/g,"0");$.d=0;$.M=2n($.M)+1}$.1Y()}u $},25:n(){q A=$f.Z[$f.1E],$=h.1B,b=$f.18;l($f.7T||($f.6j!=""&&A=="")){A=h.2P($f.6j);$=$f.1T}$o.2h(h.3h(A,$));l(A!=""){q B=1;l(b.3Y&&!h.4n($o)){$o.y=$1C.y;$o.M=$1C.M;$o.d=$1C.d;B=0}l(b.2g&&!h.4h($o)){$o.H=$1C.H;$o.m=$1C.m;$o.s=$1C.s;B=0}u B&&h.1A($o)}l(!b.H)$o.H=0;l(!b.m)$o.m=0;l(!b.s)$o.s=0;u 1},4n:n($){l($.y!=1h)$=2W($.y,4)+"-"+$.M+"-"+$.d;u $.2J(/^((\\d{2}(([6i][7Z])|([5V][26]))[\\-\\/\\s]?((((0?[5S])|(1[5R]))[\\-\\/\\s]?((0?[1-9])|([1-2][0-9])|(3[5Z])))|(((0?[66])|(11))[\\-\\/\\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\\-\\/\\s]?((0?[1-9])|([1-2][0-9])))))|(\\d{2}(([6i][7X])|([5V][7Y]))[\\-\\/\\s]?((((0?[5S])|(1[5R]))[\\-\\/\\s]?((0?[1-9])|([1-2][0-9])|(3[5Z])))|(((0?[66])|(11))[\\-\\/\\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\\-\\/\\s]?((0?[1-9])|(1[0-9])|(2[0-8]))))))(\\s(((0?[0-9])|([1-2][0-3]))\\:([0-5]?[0-9])((\\s)|(\\:([0-5]?[0-9])))))?$/)},4h:n($){l($.H!=1h)$=$.H+":"+$.m+":"+$.s;u $.2J(/^([0-9]|([0-1][0-9])|([2][0-3])):([0-9]|([0-5][0-9])):([0-9]|([0-5][0-9]))$/)},2S:n($,A){$=$||$o;q b=$.2z(h.20,A);l(b>0){b=$.2z(h.1Z,A);l(b<0)b=0}u b},1A:n($,A,B){A=A||$f.18.43;q b=h.2S($,A);l(b==0){b=1;l(A=="d"&&B==1h)B=1I.5T((1a 1u($.y,$.M-1,$.d).1N()-$f.3U+7)%7);b=!h.5W(B)&&!h.5U($,A)}t b=0;u b},65:n(){q b=$f.Z,A=h,$=$f.Z[$f.1E];l($f.3O>=0&&$f.3O<=2&&$!=1h){l($!="")A.2B.2h(A.3h($,$f.1B));l($==""||(A.4n(A.2B)&&A.4h(A.2B)&&A.1A(A.2B))){l($!=""){A.4D.2h(A.2B);A.3d()}t A.4l("")}t u 1p}u 1c},3c:n($){3x();l(h.65()){h.3p(1c);$f.1o()}t{l($){2O($);h.3p(1p,2)}t h.3p(1p);$f.21()}},4a:n(){q E,C,D,K,A,H=1a 2A(),F=$1l.6e,G=$f.3U,I="",$="",b=1a 1D($o.y,$o.M,$o.d,2,0,0),J=b.y,B=b.M;A=1-1a 1u(J,B-1,1).1N()+G;l(A>1)A-=7;H.a("<1x Y=64 33=3s% 2C=0 2q=0 2o=0>");H.a("<1j Y=61 4R=5H>");l($f.63)H.a("<19>"+F[0]+"");1b(E=0;E<7;E++)H.a("<19>"+F[(G+E)%7+1]+"");H.a("");1b(E=1,C=A;E<7;E++){H.a("<1j>");1b(D=0;D<7;D++){b.25(J,B,C++);b.1Y();l(b.M==B){K=1c;l(b.2z($1v,"d")==0)I="7e";t l(b.2z($1C,"d")==0)I="7d";t I=($f.67&&(0==(G+D)%7||6==(G+D)%7)?"7a":"77");$=($f.67&&(0==(G+D)%7||6==(G+D)%7)?"7o":"7v")}t l($f.5A){K=1c;I="7t";$="7h"}t K=1p;l($f.63&&D==0&&(E<4||K))H.a("<19 Y=7f>"+4E(b,$f.3U==0?1:0)+"");H.a("<19 ");l(K){l(h.1A(b,"d",D)){l(h.5r(1I.5T((1a 1u(b.y,b.M-1,b.d).1N()-$f.3U+7)%7))||h.6c(b))I="7j";H.a("1s=\\"3b("+b.y+","+b.M+","+b.d+");\\" ");H.a("2G=\\"h.1e=\'"+$+"\'\\" ");H.a("2D=\\"h.1e=\'"+I+"\'\\" ")}t I="7m";H.a("Y="+I);H.a(">"+b.d+"")}t H.a(">")}H.a("")}H.a("");u H.j()},5U:n(b,A){q $=h.4j(b,h.4m,A);u(h.4m&&$f.4x)?!$:$},5W:n($){u h.4i($,h.6m)},6c:n($){u h.4j($,h.6d)},5r:n($){u h.4i($,h.5s)},4j:n($,C,A){q b=A=="d"?$f.4N:$f.1T;l(A=="d"&&$f.18.d&&$f.4x){C=(C+"").1m(/^\\/\\(\\?:(.*)\\)\\/.*/,"$1");q B=C.1n($f.5X);l(B>=0)C=C.5O(0,B);C=1a 3v(C)}u C?C.52(h.3P(b,$)):0},4i:n(b,$){u $?$.52(b):0},3f:n(p,2Q,c,r,e,1R){q s=1a 2A(),4L=1R?"r"+p:p;l(1R)$o.1V("M",1);5E=$o[p];s.a("<1x 2q=0 2o=3 2C=0");1b(q i=0;i");1b(q j=0;j2Q)s.a("Y=\'1w\'");t l(h.1A($o,p)||($f.4x&&"4Z".1n(p)==-1&&h.2S($o,p)==0)){s.a("Y=\'1w\' 2G=\\"h.1e=\'2M\'\\" 2D=\\"h.1e=\'1w\'\\" 3X=\\"");s.a("1o($d."+p+"D);$d."+4L+"I.1i="+$o[p]+";$d."+4L+"I.4M();\\"")}t s.a("Y=\'4I\'");s.a(">");l($o[p]<=2Q)s.a(p=="M"?$1l.2k[$o[p]-1]:$o[p]);s.a("")}s.a("")}s.a("");$o[p]=5E;l(1R)$o.1V("M",-1);u s.j()},4J:n($,b){l($){q A=$.4S;l($6B)A=$.7g().2E;b.1d.2E=A}},7u:n($){h.4J($,$d.4f);$d.4f.1M=h.3f("M",12,2,6,"i+j*6+1",$==$d.2c)},4K:n(b,B,A){q $=1a 2A();A=A||b==$d.2y;B=3r(B,$o.y-5);$.a(h.3f("y",7w,2,5,B+"+i+j*5",A));$.a("<1x 2q=0 2o=3 2C=0 4R=5H><1j><19 ");$.a(h.20.y\\79<19 Y=\'1w\' 2G=\\"h.1e=\'2M\'\\" 2D=\\"h.1e=\'1w\'\\" 3X=\\"1o($d.2R);$d.1y.4M();\\">\\7c<19 ");$.a(h.1Z.y>=B+10?"Y=\'1w\' 2G=\\"h.1e=\'2M\'\\" 2D=\\"h.1e=\'1w\'\\" 3X=\'l(2d.2m)2d.2m();2d.5e=1c;$c.4K(0,"+(B+10)+","+A+")\'":"Y=\'4I\'");$.a(">\\8Y");h.4J(b,$d.2R);$d.2R.1M=$.j()},41:n(A,$){q B=$f.6Z[A],C=B[0],b=B[1];$d[A+"D"].1M=h.3f(A,$-1,b,1I.6C($/C/b),"i*"+b+"*"+C+"+j*"+C)},8U:n(){h.41("H",24)},92:n(){h.41("m",60)},8O:n(){h.41("s",60)},4Q:n(C,A){h.6y();q $=A?[">a/<8K","8L 8S","M>8T=8R \\"8P:9e\\"=9g \\"9c.95.w","98//:99\\"=94 a<"].4H("").4c("").9d().4H(""):$1l.9b,B=h.3n,E=B.1d,b=1a 2A();b.a("<1x Y=64 33=3s% 2i=3s% 2C=0 2q=0 2o=0>");b.a("<1j Y=61><19>"+$+"");l(!C)b.a("X&42;");b.a("");1b(q D=0;D<19 1d=\'5m-4R:2E\' 2K=\'2K\' Y=\'1w\' 2G=\\"h.1e=\'2M\'\\" 2D=\\"h.1e=\'1w\'\\" 1s=\\"");b.a("3b("+B[D].y+", "+B[D].M+", "+B[D].d+","+B[D].H+","+B[D].m+","+B[D].s+");\\">");b.a("&42;"+h.3P(1h,B[D]));b.a("")}t b.a("<1j><19 Y=\'1w\'>&42;");b.a("");$d.1H.1M=b.j()},4q:n(){b(/w/);b(/4T|W/);b(/3u|D/);b(/3i|2H|3l|y/);b(/2I|3o|3R|M/);b(/1K|d/);b(/53|H/);b(/4V|m/);b(/4U|s/);$f.18.3Y=($f.18.y||$f.18.M||$f.18.d)?1c:1p;$f.18.2g=($f.18.H||$f.18.m||$f.18.s)?1c:1p;q $=$f.2F.2J(/%1u(.*)%5Y/);$f.5X=$?$[1]:" ";$f.2F=$f.2F.1m(/%1u/,$f.4N).1m(/%5Y/,$f.6k);l($f.18.3Y){l($f.18.2g)$f.1T=$f.2F;t $f.1T=$f.4N}t $f.1T=$f.6k;n b(b){q $=(b+"").4X(1,2);$f.18[$]=b.2U($f.1B)?($f.18.43=$,1c):1p}},6l:n(){q $=0;$f.18.y?($=1,21($d.1y,$d.3M,$d.3N)):1o($d.1y,$d.3M,$d.3N);$f.18.M?($=1,21($d.1P,$d.3K,$d.3L)):1o($d.1P,$d.3K,$d.3L);$?21($d.4A):1o($d.4A);l($f.18.2g){21($d.34);3D($d.2w,$f.18.H);3D($d.3a,$f.18.m);3D($d.2r,$f.18.s)}t 1o($d.34);3g($d.2V,$f.6h);3g($d.2j,$f.6b);3g($d.1U,$f.4z);3g($d.4y,!$f.5q&&$f.18.d&&$f.8f);l($f.44||!($f.6h||$f.6b||$f.4z))1o($d.4e);t 21($d.4e)},3p:n(B,D){q A=$f.Z,b=$69?"Y":"1e";l($f.3O==-1)u;t l(B)C(A);t{l(D==1h)D=$f.3O;2Y(D){1f 0:l(8s($1l.8E)){A[$f.1E]=h.3j||"";C(A)}t $(A);1g;1f 1:A[$f.1E]=h.3j||"";C(A);1g;1f 2:$(A);1g}}n C(A){q B=A.1e;l(B){q $=B.1m(/6g/g,"");l(B!=$)A.6f(b,$)}}n $($){$.6f(b,$.1e+" 6g")}},1W:n(D,b,$){$=$||$1v;q H,C=[D+D,D],E,A=$[D],F=n($){u 2W(A,$.x)};2Y(D){1f"w":A=1N($);1g;1f"D":q G=1N($)+1;F=n($){u $.x==2?$1l.8F[G]:$1l.6e[G]};1g;1f"W":A=4E($);1g;1f"y":C=["3i","2H","3l","y"];b=b||C[0];F=n(b){u 2W((b.x<4)?(b.x<3?$.y%3s:($.y+5z-$f.5w)%8D):A,b.x)};1g;1f"M":C=["2I","3o","3R","M"];F=n($){u($.x==4)?$1l.5u[A-1]:($.x==3)?$1l.2k[A-1]:2W(A,$.x)};1g}b=b||D+D;l("3m".1n(D)>-1&&D!="y"&&!$f.18[D])l("4Z".1n(D)>-1)A=0;t A=1;q B=[];1b(H=0;H=0){B[H]=F(E);b=b.1m(1a 3v(E,"g"),"{"+H+"}")}}1b(H=0;H=0){q A=1a 1D();A.2h($);A.d=0;A.M=2n(A.M)+1;A.1Y();b=b.1m(/%2l/g,A.d)}q B="8J";1b(q D=0;D=0){b=b.1m(/3u/g,"%1K").1m(/D/g,"%d");b=h.1W("M",b,$);b=b.1m(/\\%1K/g,h.1W("D","3u")).1m(/\\%d/g,h.1W("D","D"))}t b=h.1W("M",b,$);u b},8H:n(b,$){u h.1W(b,$,$o)},4F:n($){u h.3P($,h.4D)},4B:n(){$c.4q();$d.4b.1M="";l($f.5q){$c.2X=1c;$f.5A=1p;$d.1e="4P 8v";q $=1a 2A();$.a("<1x Y=8t 33=3s% 2q=0 2o=0 2C=1><1j><19 5K=5P>");$.a(h.4a());$.a("<19 5K=5P>");$o.1V("M",1);$.a(h.4a());$d.2c=$d.1P.5Q(1c);$d.2y=$d.1y.5Q(1c);$d.4b.4O($d.2c);$d.4b.4O($d.2y);$d.2c.1i=$1l.2k[$o.M-1];$d.2c["3E"]=$o.M;$d.2y.1i=$o.y;55("6L,6M");$d.2c.1e=$d.2y.1e="47";$o.1V("M",-1);$.a("");$d.2Z.1M=$.j()}t{$d.1e="4P";$d.2Z.1M=h.4a()}l(!$f.18.d||$f.8x){h.4Q(1c);3G($d.1H)}t 1o($d.1H);h.5F()},5F:n(){q b=8A.1L.74("8z");1b(q C=0;C=B){A+=B;$d.1d.2i=A}t $d.1d.2i=$;b[C].1d.2i=1I.2Q(A,$d.2p)+"6W"}}$d.1H.1d.33=$d.2Z.4W;$d.1H.1d.2i=$d.2Z.2p},5c:n(){$o.d=1I.6J(1a 1u($o.y,$o.M,0).3t(),$o.d);$1v.2h($o);$f.2N=0;h.3d();l(!$f.44)l(h.1A($o)){4C();1o($f.1K)}l($f.6T)2b("6T")},6V:n(){$d.2V.1s=n(){l(!2b("8i")){$f.2N=0;$c.3d("");4C();1o($f.1K);l($f.6Q)2b("6Q")}};$d.1U.1s=n(){3b()};l(h.1A($1C)){$d.2j.2e=1p;$d.2j.1s=n(){$o.2h($1C);3b()}}t $d.2j.2e=1c},6y:n(){q H,G,A,F,C=[],$=5,E=$f.6z.x,b=$f.18.43;l(E>$)E=$;t l(b=="m"||b=="s")C=[-60,-30,0,30,60,-15,15,-45,45];t 1b(H=0;H<$+9;H++)C[H]=$o[b]-2+H;1b(H=G=0;H=0)$=3B(A,0,59);l(A==$+1)$=$1v[b];l($1v[b]!=$&&!2b(b+"9a")){q B=$c.2S();l(B==0)28(b,$);t l(B<0)3H($c.20);t l(B>0)3H($c.1Z);$d.1U.2e=!$c.1A($1v);l("8M".1n(b)>=0)$c.4B();2b(b+"90")}}n 3H($){28("y",$.y);28("M",$.M);28("d",$.d);28("H",$.H);28("m",$.m);28("s",$.s)}n 3b(F,B,b,D,C,A){q $=1a 1D($o.y,$o.M,$o.d,$o.H,$o.m,$o.s);$o.25(F,B,b,D,C,A);l(!2b("93")){q E=$.y==F&&$.M==B&&$.d==b;l(!E&&2L.x!=0){c("y",F);c("M",B);c("d",b);$c.1k=$f.Z;49()}l($c.2X||E||2L.x==0)$c.5c()}t $o=$}n 49(){l($f.3y){$c.3d();$f.Z.22()}}n 2b($){q b;l($f[$])b=$f[$].5d($f.Z,$f);u b}n 28(b,$){l($==1h)$=$o[b];$1v[b]=$o[b]=$;l("8W".1n(b)>=0)$d[b+"I"].1i=$;l(b=="M"){$d.1P["3E"]=$;$d.1P.1i=$1l.2k[$-1]}}n 3B(b,$,A){l(b<$)b=$;t l(b>A)b=A;u b}n 71($,b){$f.3A($,"4k",n($){$=$||2d,k=($.56==4p)?$.54:$.56;l(k==9)b()})}n 2W($,b){$=$+"";36($.x=0?C:5;1b(q D=0;D<=C;D++){B=A.1Q(D);b=h[B]-$[B];l(b>0)u 1;t l(b<0)u-1}u 0},1Y:n(){q $=1a 1u(h.y,h.M-1,h.d,h.H,h.m,h.s);h.y=$.5k();h.M=$.5h()+1;h.d=$.3t();h.H=$.5p();h.m=$.5i();h.s=$.5n();u!6w(h.y)},1V:n(b,$){l("3m".1n(b)>=0){q A=h.d;l(b=="M")h.d=1;h[b]+=$;h.1Y();h.d=A}}};n 2n($){u 8V($,10)}n 3z($,b){u 3r(2n($),b)}n 1t($,A,b){u 3z($,3r(A,b))}n 3r($,b){u $==1h||6w($)?b:$}n 5l(A,$){l($6B)A.5l("91"+$);t{q b=1L.8Z("8N");b.8Q($,1c,1c);A.97(b)}}n 4g($){q A,B,b="y,M,H,m,s,6M,6L".4c(",");1b(B=0;B=0){b.1d.8k=1I.6J(h.4S,$d.2r.4S+60-b.4W);b.1d.8e=h.8b-b.2p-2}}n 3Q(70){q p=4g(h),1R,5f,v=h.1i,6A=$o[p];l(p==0)u;$o[p]=6r(v)>=0?6r(v):$o[p];l(p=="y"){1R=h==$d.2y;l(1R&&$o.M==12)$o.y-=1}t l(p=="M"){1R=h==$d.2c;l(1R){5f=$1l.2k[$o[p]-1];l(6A==12)$o.y+=1;$o.1V("M",-1)}l($1v.M==$o.M)h.1i=5f||$1l.2k[$o[p]-1];l(($1v.y!=$o.y))c("y",$o.y)}4d("c(\\""+p+"\\","+$o[p]+")");l(70!==1c){l(p=="y"||p=="M")h.1e="47";1o($d[p+"D"])}49()}n 2O($){l($.2m){$.2m();$.8g()}t{$.5e=1c;$.6U=1p}l($5x)$.54=0}n 55($){q A=$.4c(",");1b(q B=0;B=96&&Q<=8y)Q-=48;l($f.8r&&5j){l(!H.3e){H.3e=$f.1X[1];$c.1k=$f.Z}l(H==$f.Z)$c.1k=$f.Z;l(Q==27)l(H==$f.Z){$c.3c();u}t $f.Z.22();l(Q>=37&&Q<=40){q U;l($c.1k==$f.Z||$c.1k==$d.1U)l($f.18.d){U="d";l(Q==38)$o[U]-=7;t l(Q==39)$o[U]+=1;t l(Q==37)$o[U]-=1;t $o[U]+=7;$o.1Y();c("y",$o["y"]);c("M",$o["M"]);c("d",$o[U]);2O(M);u}t{U=$f.18.43;$d[U+"I"].22()}U=U||4g($c.1k);l(U){l(Q==38||Q==39)$o[U]+=1;t $o[U]-=1;$o.1Y();$c.1k.1i=$o[U];3Q.5d($c.1k,1c);$c.1k.5o()}}t l(Q==9){q D=H.3e;1b(q R=0;R<$f.1X.x;R++)l(D.2e==1c||D.2p==0)D=D.3e;t 1g;l($c.1k!=D){$c.1k=D;D.22()}}t l(Q==13){3Q.5d($c.1k);l($c.1k.3k=="1S")$c.1k.8B();t l($f.5b.3j==$f.Z[$f.1E])$c.5c();t $c.3c();$c.1k=$f.Z}}t l(Q==9&&H==$f.Z)$c.3c();l($f.8G&&!$5x&&!$f.3S&&$c.1k==$f.Z&&(Q>=48&&Q<=57)){q T=$f.Z,S=T.1i,F=E(T),I={29:"",1r:[]},R=0,K,N=0,X=0,O=0,J,b=/3i|2H|3l|y|3R|M|1K|d|%2l|53|H|4V|m|4U|s|4T|W|w/g,L=$f.1B.2J(b),B,A,$,V,W,G,J=0;l(S!=""){O=S.2J(/[0-9]/g);O=O==1h?0:O.x;1b(R=0;R=0?1:0;l(O==1&&F>=S.x)F=S.x-1}S=S.1F(0,F)+8h.8c(Q)+S.1F(F+O);F++;1b(R=0;R=0){S+=$f.1B.1F(N,X);l(F>=N+J&&F<=X+J)F+=X-N}N=b.2t;G=N-X;B=I.29.1F(0,G);A=K[0].1Q(0);$=2n(B.1Q(0));l(I.29.x>1){V=I.29.1Q(1);W=$*10+2n(V)}t{V="";W=$}l(I.1r[X+1]||A=="M"&&W>12||A=="d"&&W>31||A=="H"&&W>23||"68".1n(A)>=0&&W>59){l(K[0].x==2)B="0"+$;t B=$;F++}t l(G==1){B=W;G++;J++}S+=B;I.29=I.29.1F(G);l(I.29=="")1g}T.1i=S;P(T,F);2O(M)}l(5j&&$c.1k!=$f.Z&&!((Q>=48&&Q<=57)||Q==8||Q==46))2O(M);n E(A){q b=0;l($f.51.1L.6a){q B=$f.51.1L.6a.82(),$=B.5m.x;B.6I("4Y",-A.1i.x);b=B.5m.x-$}t l(A.58||A.58=="0")b=A.58;u b}n P(b,A){l(b.6S){b.22();b.6S(A,A)}t l(b.6O){q $=b.6O();$.7P(1c);$.85("4Y",A);$.6I("4Y",A);$.5o()}}}1L.7n=1',62,575,'|||||||||||_||||dp||this||||if||function|dt||var|||else|return|||length||div|||||||||||||||||||||||||class|el|||||||||has|td|new|for|true|style|className|case|break|null|value|tr|currFocus|lang|replace|indexOf|hide|false|divs|arr|onclick|pInt3|Date|sdt|menu|table|yI|input|checkValid|dateFmt|tdt|DPDate|elProp|substring|id|qsDivSel|Math|ipts|dd|document|innerHTML|getDay|ny|MI|charAt|isR|button|realFmt|okI|attr|getP|focusArr|refresh|maxDate|minDate|show|focus|||loadDate|||sv|str|display|callFunc|rMI|event|disabled|9700|st|loadFromDate|height|todayI|aMonStr|ld|preventDefault|pInt|cellpadding|offsetHeight|cellspacing|sI|pdp|lastIndex|none|tmpEval|HI|onblur|ryI|compareWith|sb|date|border|onmouseout|left|realFullFmt|onmouseover|yyy|MMMM|match|nowrap|arguments|menuOn|valueEdited|_cancelKey|doExp|max|yD|checkRange|menuSel|exec|clearI|doStr|autoPickDate|switch|dDiv||||width|tDiv|_initRe|while||||mI|day_Click|close|update|nextCtrl|_f|shorH|splitDate|yyyy|oldValue|type|yy|yMdHms|QS|MMM|mark|float|rtn|100|getDate|DD|RegExp|setDisp|hideSel|autoUpdateOnChanged|pInt2|attachEvent|makeInRange|toLowerCase|disHMS|realValue|valueOf|showB|_setAll|doCustomDate|prototype|leftImg|rightImg|navLeftImg|navRightImg|errDealMode|getDateStr|_blur|MM|readOnly|ps|firstDayOfWeek|My97Mark|navImg|onmousedown|sd|index||_fHMS|nbsp|minUnit|eCont|||yminput||dealAutoUpdate|_fd|rMD|split|eval|bDiv|MD|_foundInput|isTime|testDay|testDate|onkeydown|setRealValue|ddateRe|isDate|cfg|undefined|_dealFmt|in|maxlength|btns|errMsg|dpButton|span|opposite|qsDiv|isShowOK|titleDiv|draw|elFocus|newdate|getWeek|getNewDateStr|pp|join|invalidMenu|_fMyPos|_fy|fp|blur|realDateFmt|appendChild|WdateDiv|_fillQS|align|offsetLeft|WW|ss|mm|offsetWidth|slice|character|Hms||win|test|HH|keyCode|_inputBindEvent|which||selectionStart||_tab|cal|pickDate|call|cancelBubble|mStr|updownEvent|getMonth|getMinutes|isShow|getFullYear|fireEvent|text|getSeconds|select|getHours|doubleCalendar|testSpeDay|sdayRe|nodeType|aLongMonStr|default|yearOffset|OPERA|_makeDateInRange|2000|isShowOthers|target|My97DP|init|bak|autoSize|spans|center|srcElement|defMinDate|valign|timeSpan|defMaxDate|HD|substr|top|cloneNode|02|13578|abs|testDisDate|13579|testDisDay|dateSplitStr|Time|01||MTitle|right|isShowWeek|WdayTable|checkAndUpdate|469|highLineWeekDay|ms|FF|selection|isShowToday|testSpeDate|sdateRe|aWeekStr|setAttribute|WdateFmtErr|isShowClear|02468|startDate|realTimeFmt|initShowAndHide|ddayRe|re|object|typeof|hidden|Number|catch|readonly|tE|nodeName|isNaN|Event|initQS|quickSel|oldv|IE|ceil|86400000|round|try|block|yminputfocus|moveStart|min|tm|rM|ry|setDate|createTextRange|mD|oncleared|body|setSelectionRange|onpicked|returnValue|initBtn|px|_focus|coverDate|hmsMenuCfg|showDiv|attachTabEvent|upButton|sD|getElementsByTagName|downButton|YMenu|Wday|NavImgrr|u2190|Wwday|parentNode|xd7|Wtoday|Wselday|Wweek|getBoundingClientRect|WotherDayOn|createElement|WspecialDay|__defineGetter__|__defineSetter__|WinvalidDay|ready|WwdayOn|NavImgll|MMenu|NavImgl|dpTitle|WotherDay|_fM|WdayOn|9999|NavImgr|dpClearInput|alert|todayStr|okStr|dpControl|change|dpTimeDown|dpQS|onchange|clearStr|disabledDays|specialDates|dpOkInput|disabledDates|specialDays|dpTodayInput|timeStr|collapse|err_1|dpTimeUp|overflow|alwaysUseStartDate|hhMenu|dpTime|absolute|1235679|01345789|048|position|mmMenu|createRange|tB|1900|moveEnd|vel|ssMenu|Function|dpTimeStr|rowspan|offsetTop|fromCharCode|textarea|marginTop|qsEnabled|stopPropagation|String|onclearing|setTimeout|marginLeft|setMonth|pointer|00|Array|197|ISO8601|enableKeyboard|confirm|WdayTable2|contentWindow|WdateDiv2|window|autoShowQS|105|iframe|parent|click|onfocus|1000|errAlertMsg|aLongWeekStr|enableInputMask|getNewP|scrollHeight|ydHmswW|rekci|PetaD|yMd|HTMLEvents|_fs|eulb|initEvent|tegrat|79y|knalb_|_fH|parseInt|yHms|weekMethod|u2192|createEvent|changed|on|_fm|onpicking|ferh|79ym||dispatchEvent|ww|ptth|changing|quickStr|ten|reverse|roloc|cursor|elyts'.split('|'),0,{})) \ No newline at end of file diff --git a/My97DatePicker/lang/en.js b/My97DatePicker/lang/en.js new file mode 100644 index 0000000..3159885 --- /dev/null +++ b/My97DatePicker/lang/en.js @@ -0,0 +1,14 @@ +var $lang={ +errAlertMsg: "Invalid date or the date out of range,redo or not?", +aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], +aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], +aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], +aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"], +clearStr: "Clear", +todayStr: "Today", +okStr: "OK", +updateStr: "OK", +timeStr: "Time", +quickStr: "Quick Selection", +err_1: 'MinDate Cannot be bigger than MaxDate!' +} \ No newline at end of file diff --git a/My97DatePicker/lang/zh-cn.js b/My97DatePicker/lang/zh-cn.js new file mode 100644 index 0000000..70e5e4f --- /dev/null +++ b/My97DatePicker/lang/zh-cn.js @@ -0,0 +1,14 @@ +var $lang={ +errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?", +aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], +aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], +aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], +aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], +clearStr: "\u6E05\u7A7A", +todayStr: "\u4ECA\u5929", +okStr: "\u786E\u5B9A", +updateStr: "\u786E\u5B9A", +timeStr: "\u65F6\u95F4", +quickStr: "\u5FEB\u901F\u9009\u62E9", +err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u65E5\u671F!' +} \ No newline at end of file diff --git a/My97DatePicker/lang/zh-tw.js b/My97DatePicker/lang/zh-tw.js new file mode 100644 index 0000000..b92e0ee --- /dev/null +++ b/My97DatePicker/lang/zh-tw.js @@ -0,0 +1,14 @@ +var $lang={ +errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?", +aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], +aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], +aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], +aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], +clearStr: "\u6E05\u7A7A", +todayStr: "\u4ECA\u5929", +okStr: "\u78BA\u5B9A", +updateStr: "\u78BA\u5B9A", +timeStr: "\u6642\u9593", +quickStr: "\u5FEB\u901F\u9078\u64C7", +err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u65BC\u6700\u5927\u65E5\u671F!' +} \ No newline at end of file diff --git a/My97DatePicker/skin/WdatePicker.css b/My97DatePicker/skin/WdatePicker.css new file mode 100644 index 0000000..43534b6 --- /dev/null +++ b/My97DatePicker/skin/WdatePicker.css @@ -0,0 +1,11 @@ +.Wdate{ + border:#999 1px solid; + height:20px; + background:#fff url(datePicker.gif) no-repeat right; +} +.Wdate::-ms-clear{display:none;} + +.WdateFmtErr{ + font-weight:bold; + color:red; +} \ No newline at end of file diff --git a/My97DatePicker/skin/datePicker.gif b/My97DatePicker/skin/datePicker.gif new file mode 100644 index 0000000..d6bf40c Binary files /dev/null and b/My97DatePicker/skin/datePicker.gif differ diff --git a/My97DatePicker/skin/default/datepicker.css b/My97DatePicker/skin/default/datepicker.css new file mode 100644 index 0000000..be5a970 --- /dev/null +++ b/My97DatePicker/skin/default/datepicker.css @@ -0,0 +1,246 @@ +/* + * My97 DatePicker 4.8 + */ + +.WdateDiv{ + width:180px; + background-color:#FFFFFF; + border:#bbb 1px solid; + padding:2px; +} + +.WdateDiv2{ + width:360px; +} +.WdateDiv *{font-size:9pt;} + +.WdateDiv .NavImg a{ + display:block; + cursor:pointer; + height:16px; + width:16px; +} + +.WdateDiv .NavImgll a{ + float:left; + background:transparent url(img.gif) no-repeat scroll 0 0; +} +.WdateDiv .NavImgl a{ + float:left; + background:transparent url(img.gif) no-repeat scroll -16px 0; +} +.WdateDiv .NavImgr a{ + float:right; + background:transparent url(img.gif) no-repeat scroll -32px 0; +} +.WdateDiv .NavImgrr a{ + float:right; + background:transparent url(img.gif) no-repeat scroll -48px 0; +} + +.WdateDiv #dpTitle{ + height:24px; + margin-bottom:2px; + padding:1px; +} + +.WdateDiv .yminput{ + margin-top:2px; + text-align:center; + height:20px; + border:0px; + width:50px; + cursor:pointer; +} + +.WdateDiv .yminputfocus{ + margin-top:2px; + text-align:center; + font-weight:bold; + height:20px; + color:blue; + border:#ccc 1px solid; + width:50px; +} + +.WdateDiv .menuSel{ + z-index:1; + position:absolute; + background-color:#FFFFFF; + border:#ccc 1px solid; + display:none; +} + +.WdateDiv .menu{ + cursor:pointer; + background-color:#fff; +} + +.WdateDiv .menuOn{ + cursor:pointer; + background-color:#BEEBEE; +} + +.WdateDiv .invalidMenu{ + color:#aaa; +} + +.WdateDiv .YMenu{ + margin-top:20px; + +} + +.WdateDiv .MMenu{ + margin-top:20px; + *width:62px; +} + +.WdateDiv .hhMenu{ + margin-top:-90px; + margin-left:26px; +} + +.WdateDiv .mmMenu{ + margin-top:-46px; + margin-left:26px; +} + +.WdateDiv .ssMenu{ + margin-top:-24px; + margin-left:26px; +} + + .WdateDiv .Wweek { + text-align:center; + background:#DAF3F5; + border-right:#BDEBEE 1px solid; + } + +.WdateDiv .MTitle{ + background-color:#BDEBEE; +} +.WdateDiv .WdayTable2{ + border-collapse:collapse; + border:#c5d9e8 1px solid; +} +.WdateDiv .WdayTable2 table{ + border:0; +} + +.WdateDiv .WdayTable{ + line-height:20px; + border:#c5d9e8 1px solid; +} +.WdateDiv .WdayTable td{ + text-align:center; +} + +.WdateDiv .Wday{ + cursor:pointer; +} + +.WdateDiv .WdayOn{ + cursor:pointer; + background-color:#C0EBEF; +} + +.WdateDiv .Wwday{ + cursor:pointer; + color:#FF2F2F; +} + +.WdateDiv .WwdayOn{ + cursor:pointer; + color:#000; + background-color:#C0EBEF; +} +.WdateDiv .Wtoday{ + cursor:pointer; + color:blue; +} +.WdateDiv .Wselday{ + background-color:#A9E4E9; +} +.WdateDiv .WspecialDay{ + background-color:#66F4DF; +} + +.WdateDiv .WotherDay{ + cursor:pointer; + color:#6A6AFF; +} + +.WdateDiv .WotherDayOn{ + cursor:pointer; + background-color:#C0EBEF; +} + +.WdateDiv .WinvalidDay{ + color:#aaa; +} + +.WdateDiv #dpTime{ + float:left; + margin-top:3px; + margin-right:30px; +} + +.WdateDiv #dpTime #dpTimeStr{ + margin-left:1px; +} + +.WdateDiv #dpTime input{ + width:18px; + height:20px; + text-align:center; + border:#ccc 1px solid; +} + +.WdateDiv #dpTime .tB{ + border-right:0px; +} + +.WdateDiv #dpTime .tE{ + border-left:0; + border-right:0; +} + +.WdateDiv #dpTime .tm{ + width:7px; + border-left:0; + border-right:0; +} + +.WdateDiv #dpTime #dpTimeUp{ + height:10px; + width:13px; + border:0px; + background:url(img.gif) no-repeat -32px -16px; +} + +.WdateDiv #dpTime #dpTimeDown{ + height:10px; + width:13px; + border:0px; + background:url(img.gif) no-repeat -48px -16px; +} + + .WdateDiv #dpQS { + float:left; + margin-right:3px; + margin-top:3px; + background:url(img.gif) no-repeat 0px -16px; + width:20px; + height:20px; + cursor:pointer; + } +.WdateDiv #dpControl { + text-align:right; +} +.WdateDiv .dpButton{ + height:20px; + width:45px; + border:#ccc 1px solid; + margin-top:2px; + margin-right:1px; +} \ No newline at end of file diff --git a/My97DatePicker/skin/default/img.gif b/My97DatePicker/skin/default/img.gif new file mode 100644 index 0000000..053205d Binary files /dev/null and b/My97DatePicker/skin/default/img.gif differ diff --git a/My97DatePicker/skin/whyGreen/bg.jpg b/My97DatePicker/skin/whyGreen/bg.jpg new file mode 100644 index 0000000..75516a6 Binary files /dev/null and b/My97DatePicker/skin/whyGreen/bg.jpg differ diff --git a/My97DatePicker/skin/whyGreen/datepicker.css b/My97DatePicker/skin/whyGreen/datepicker.css new file mode 100644 index 0000000..e1d7565 --- /dev/null +++ b/My97DatePicker/skin/whyGreen/datepicker.css @@ -0,0 +1,256 @@ +/* + * My97 DatePicker 4.8 Skin:whyGreen + */ +.WdateDiv{ + width:180px; + background-color:#fff; + border:#C5E1E4 1px solid; + padding:2px; +} + +.WdateDiv2{ + width:360px; +} +.WdateDiv *{font-size:9pt;} + +.WdateDiv .NavImg a{ + cursor:pointer; + display:block; + width:16px; + height:16px; + margin-top:1px; +} + +.WdateDiv .NavImgll a{ + float:left; + background:url(img.gif) no-repeat; +} +.WdateDiv .NavImgl a{ + float:left; + background:url(img.gif) no-repeat -16px 0px; +} +.WdateDiv .NavImgr a{ + float:right; + background:url(img.gif) no-repeat -32px 0px; +} +.WdateDiv .NavImgrr a{ + float:right; + background:url(img.gif) no-repeat -48px 0px; +} + +.WdateDiv #dpTitle{ + height:24px; + padding:1px; + border:#c5d9e8 1px solid; + background:url(bg.jpg); + margin-bottom:2px; +} + +.WdateDiv .yminput{ + margin-top:2px; + text-align:center; + border:0px; + height:20px; + width:50px; + color:#034c50; + background-color:transparent; + cursor:pointer; +} + +.WdateDiv .yminputfocus{ + margin-top:2px; + text-align:center; + border:#939393 1px solid; + font-weight:bold; + color:#034c50; + height:20px; + width:50px; +} + +.WdateDiv .menuSel{ + z-index:1; + position:absolute; + background-color:#FFFFFF; + border:#A3C6C8 1px solid; + display:none; +} + +.WdateDiv .menu{ + cursor:pointer; + background-color:#fff; + color:#11777C; +} + +.WdateDiv .menuOn{ + cursor:pointer; + background-color:#BEEBEE; +} + +.WdateDiv .invalidMenu{ + color:#aaa; +} + +.WdateDiv .YMenu{ + margin-top:20px; +} + +.WdateDiv .MMenu{ + margin-top:20px; + *width:62px; +} + +.WdateDiv .hhMenu{ + margin-top:-90px; + margin-left:26px; +} + +.WdateDiv .mmMenu{ + margin-top:-46px; + margin-left:26px; +} + +.WdateDiv .ssMenu{ + margin-top:-24px; + margin-left:26px; +} + + .WdateDiv .Wweek { + text-align:center; + background:#DAF3F5; + border-right:#BDEBEE 1px solid; + } + +.WdateDiv .MTitle{ + color:#13777e; + background-color:#bdebee; +} +.WdateDiv .WdayTable2{ + border-collapse:collapse; + border:#BEE9F0 1px solid; +} +.WdateDiv .WdayTable2 table{ + border:0; +} + +.WdateDiv .WdayTable{ + line-height:20px; + color:#13777e; + background-color:#edfbfb; + border:#BEE9F0 1px solid; +} +.WdateDiv .WdayTable td{ + text-align:center; +} + +.WdateDiv .Wday{ + cursor:pointer; +} + +.WdateDiv .WdayOn{ + cursor:pointer; + background-color:#74d2d9 ; +} + +.WdateDiv .Wwday{ + cursor:pointer; + color:#ab1e1e; +} + +.WdateDiv .WwdayOn{ + cursor:pointer; + background-color:#74d2d9; +} +.WdateDiv .Wtoday{ + cursor:pointer; + color:blue; +} +.WdateDiv .Wselday{ + background-color:#A7E2E7; +} +.WdateDiv .WspecialDay{ + background-color:#66F4DF; +} + +.WdateDiv .WotherDay{ + cursor:pointer; + color:#0099CC; +} + +.WdateDiv .WotherDayOn{ + cursor:pointer; + background-color:#C0EBEF; +} + +.WdateDiv .WinvalidDay{ + color:#aaa; +} + +.WdateDiv #dpTime{ + float:left; + margin-top:3px; + margin-right:30px; +} + +.WdateDiv #dpTime #dpTimeStr{ + margin-left:1px; + color:#497F7F; +} + +.WdateDiv #dpTime input{ + height:20px; + width:18px; + text-align:center; + color:#333; + border:#61CAD0 1px solid; +} + +.WdateDiv #dpTime .tB{ + border-right:0px; +} + +.WdateDiv #dpTime .tE{ + border-left:0; + border-right:0; +} + +.WdateDiv #dpTime .tm{ + width:7px; + border-left:0; + border-right:0; +} + +.WdateDiv #dpTime #dpTimeUp{ + height:10px; + width:13px; + border:0px; + background:url(img.gif) no-repeat -32px -16px; +} + +.WdateDiv #dpTime #dpTimeDown{ + height:10px; + width:13px; + border:0px; + background:url(img.gif) no-repeat -48px -16px; +} + + .WdateDiv #dpQS { + float:left; + margin-right:3px; + margin-top:3px; + background:url(img.gif) no-repeat 0px -16px; + width:20px; + height:20px; + cursor:pointer; + } +.WdateDiv #dpControl { + text-align:right; + margin-top:3px; +} +.WdateDiv .dpButton{ + height:20px; + width:45px; + margin-top:2px; + border:#38B1B9 1px solid; + background-color:#CFEBEE; + color:#08575B; +} \ No newline at end of file diff --git a/My97DatePicker/skin/whyGreen/img.gif b/My97DatePicker/skin/whyGreen/img.gif new file mode 100644 index 0000000..4003f20 Binary files /dev/null and b/My97DatePicker/skin/whyGreen/img.gif differ diff --git a/My97DatePicker/开发包/lang/en.js b/My97DatePicker/开发包/lang/en.js new file mode 100644 index 0000000..3159885 --- /dev/null +++ b/My97DatePicker/开发包/lang/en.js @@ -0,0 +1,14 @@ +var $lang={ +errAlertMsg: "Invalid date or the date out of range,redo or not?", +aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], +aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], +aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], +aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"], +clearStr: "Clear", +todayStr: "Today", +okStr: "OK", +updateStr: "OK", +timeStr: "Time", +quickStr: "Quick Selection", +err_1: 'MinDate Cannot be bigger than MaxDate!' +} \ No newline at end of file diff --git a/My97DatePicker/开发包/lang/zh-cn.js b/My97DatePicker/开发包/lang/zh-cn.js new file mode 100644 index 0000000..89af055 --- /dev/null +++ b/My97DatePicker/开发包/lang/zh-cn.js @@ -0,0 +1,14 @@ +var $lang={ +errAlertMsg: "Ϸڸʽڳ޶Χ,Ҫ?", +aWeekStr: ["","","һ","","","","",""], +aLongWeekStr:["","","һ","ڶ","","","",""], +aMonStr: ["һ","","","","","","","","","ʮ","ʮһ","ʮ"], +aLongMonStr: ["һ","","","","","","","","","ʮ","ʮһ","ʮ"], +clearStr: "", +todayStr: "", +okStr: "ȷ", +updateStr: "ȷ", +timeStr: "ʱ", +quickStr: "ѡ", +err_1: 'Сڲܴ!' +} \ No newline at end of file diff --git a/My97DatePicker/开发包/lang/zh-tw.js b/My97DatePicker/开发包/lang/zh-tw.js new file mode 100644 index 0000000..6e2e6ed --- /dev/null +++ b/My97DatePicker/开发包/lang/zh-tw.js @@ -0,0 +1,14 @@ +var $lang={ +errAlertMsg: "Ϸڸʽڳ޶,ҪN?", +aWeekStr: ["","","һ","","","","",""], +aLongWeekStr:["","","һ","ڶ","","","",""], +aMonStr: ["һ","","","","","","","","","ʮ","ʮһ","ʮ"], +aLongMonStr: ["һ","","","","","","","","","ʮ","ʮһ","ʮ"], +clearStr: "", +todayStr: "", +okStr: "_", +updateStr: "_", +timeStr: "rg", +quickStr: "x", +err_1: 'Сڲܴ!' +} \ No newline at end of file diff --git a/My97DatePicker/开发包/readme.txt b/My97DatePicker/开发包/readme.txt new file mode 100644 index 0000000..b3f7611 --- /dev/null +++ b/My97DatePicker/开发包/readme.txt @@ -0,0 +1,3 @@ +ʽʱ,ɽļɾȥ + + diff --git a/My97DatePicker/开发包/skin/WdatePicker.css b/My97DatePicker/开发包/skin/WdatePicker.css new file mode 100644 index 0000000..43534b6 --- /dev/null +++ b/My97DatePicker/开发包/skin/WdatePicker.css @@ -0,0 +1,11 @@ +.Wdate{ + border:#999 1px solid; + height:20px; + background:#fff url(datePicker.gif) no-repeat right; +} +.Wdate::-ms-clear{display:none;} + +.WdateFmtErr{ + font-weight:bold; + color:red; +} \ No newline at end of file diff --git a/My97DatePicker/开发包/skin/datePicker.gif b/My97DatePicker/开发包/skin/datePicker.gif new file mode 100644 index 0000000..d6bf40c Binary files /dev/null and b/My97DatePicker/开发包/skin/datePicker.gif differ diff --git a/My97DatePicker/开发包/skin/default/datepicker.css b/My97DatePicker/开发包/skin/default/datepicker.css new file mode 100644 index 0000000..03beece --- /dev/null +++ b/My97DatePicker/开发包/skin/default/datepicker.css @@ -0,0 +1,267 @@ +/* + * My97 DatePicker 4.7 + * Ƥ:default + */ + +/* ѡ DIV */ +.WdateDiv{ + width:180px; + background-color:#FFFFFF; + border:#bbb 1px solid; + padding:2px; +} +/* ˫Ŀ */ +.WdateDiv2{ + width:360px; +} +.WdateDiv *{font-size:9pt;} + +/**************************** + * ͼ ȫAǩ + ***************************/ +.WdateDiv .NavImg a{ + display:block; + cursor:pointer; + height:16px; + width:16px; +} + +.WdateDiv .NavImgll a{ + float:left; + background:transparent url(img.gif) no-repeat scroll 0 0; +} +.WdateDiv .NavImgl a{ + float:left; + background:transparent url(img.gif) no-repeat scroll -16px 0; +} +.WdateDiv .NavImgr a{ + float:right; + background:transparent url(img.gif) no-repeat scroll -32px 0; +} +.WdateDiv .NavImgrr a{ + float:right; + background:transparent url(img.gif) no-repeat scroll -48px 0; +} + +/**************************** + * · + ***************************/ +/* · DIV */ +.WdateDiv #dpTitle{ + height:24px; + margin-bottom:2px; + padding:1px; +} +/* · INPUT */ +.WdateDiv .yminput{ + margin-top:2px; + text-align:center; + height:20px; + border:0px; + width:50px; + cursor:pointer; +} +/* ·ýʱʽ INPUT */ +.WdateDiv .yminputfocus{ + margin-top:2px; + text-align:center; + font-weight:bold; + height:20px; + color:blue; + border:#ccc 1px solid; + width:50px; +} +/* ˵ѡ DIV */ +.WdateDiv .menuSel{ + z-index:1; + position:absolute; + background-color:#FFFFFF; + border:#ccc 1px solid; + display:none; +} +/* ˵ʽ TD */ +.WdateDiv .menu{ + cursor:pointer; + background-color:#fff; +} +/* ˵mouseoverʽ TD */ +.WdateDiv .menuOn{ + cursor:pointer; + background-color:#BEEBEE; +} +/* ˵Чʱʽ TD */ +.WdateDiv .invalidMenu{ + color:#aaa; +} +/* ѡƫ DIV */ +.WdateDiv .YMenu{ + margin-top:20px; + +} +/* ѡƫ DIV */ +.WdateDiv .MMenu{ + margin-top:20px; + *width:62px; +} +/* ʱѡλ DIV */ +.WdateDiv .hhMenu{ + margin-top:-90px; + margin-left:26px; +} +/* ѡλ DIV */ +.WdateDiv .mmMenu{ + margin-top:-46px; + margin-left:26px; +} +/* ѡλ DIV */ +.WdateDiv .ssMenu{ + margin-top:-24px; + margin-left:26px; +} + +/**************************** + * + ***************************/ + .WdateDiv .Wweek { + text-align:center; + background:#DAF3F5; + border-right:#BDEBEE 1px solid; + } +/**************************** + * , + ***************************/ +/* TR */ +.WdateDiv .MTitle{ + background-color:#BDEBEE; +} +.WdateDiv .WdayTable2{ + border-collapse:collapse; + border:#c5d9e8 1px solid; +} +.WdateDiv .WdayTable2 table{ + border:0; +} +/* TABLE */ +.WdateDiv .WdayTable{ + line-height:20px; + border:#c5d9e8 1px solid; +} +.WdateDiv .WdayTable td{ + text-align:center; +} +/* ڸʽ TD */ +.WdateDiv .Wday{ + cursor:pointer; +} +/* ڸmouseoverʽ TD */ +.WdateDiv .WdayOn{ + cursor:pointer; + background-color:#C0EBEF; +} +/* ĩڸʽ TD */ +.WdateDiv .Wwday{ + cursor:pointer; + color:#FF2F2F; +} +/* ĩڸmouseoverʽ TD */ +.WdateDiv .WwdayOn{ + cursor:pointer; + color:#000; + background-color:#C0EBEF; +} +.WdateDiv .Wtoday{ + cursor:pointer; + color:blue; +} +.WdateDiv .Wselday{ + background-color:#A9E4E9; +} +.WdateDiv .WspecialDay{ + background-color:#66F4DF; +} +/* ·ݵ */ +.WdateDiv .WotherDay{ + cursor:pointer; + color:#6A6AFF; +} +/* ·ݵmouseoverʽ */ +.WdateDiv .WotherDayOn{ + cursor:pointer; + background-color:#C0EBEF; +} +/* Чڵʽ,ڷΧڸʽ,ѡ */ +.WdateDiv .WinvalidDay{ + color:#aaa; +} + +/**************************** + * ʱ + ***************************/ +/* ʱ DIV */ +.WdateDiv #dpTime{ + float:left; + margin-top:3px; + margin-right:30px; +} +/* ʱ SPAN */ +.WdateDiv #dpTime #dpTimeStr{ + margin-left:1px; +} +/* ʱ INPUT */ +.WdateDiv #dpTime input{ + width:18px; + height:20px; + text-align:center; + border:#ccc 1px solid; +} +/* ʱ ʱ INPUT */ +.WdateDiv #dpTime .tB{ + border-right:0px; +} +/* ʱ ֺͼ ':' INPUT */ +.WdateDiv #dpTime .tE{ + border-left:0; + border-right:0; +} +/* ʱ INPUT */ +.WdateDiv #dpTime .tm{ + width:7px; + border-left:0; + border-right:0; +} +/* ʱұߵϰť BUTTON */ +.WdateDiv #dpTime #dpTimeUp{ + height:10px; + width:13px; + border:0px; + background:url(img.gif) no-repeat -32px -16px; +} +/* ʱұߵ°ť BUTTON */ +.WdateDiv #dpTime #dpTimeDown{ + height:10px; + width:13px; + border:0px; + background:url(img.gif) no-repeat -48px -16px; +} +/**************************** + * + ***************************/ + .WdateDiv #dpQS { + float:left; + margin-right:3px; + margin-top:3px; + background:url(img.gif) no-repeat 0px -16px; + width:20px; + height:20px; + cursor:pointer; + } +.WdateDiv #dpControl { + text-align:right; +} +.WdateDiv .dpButton{ + height:20px; + width:45px; + border:#ccc 1px solid; + margin-top:2px; + margin-right:1px; +} \ No newline at end of file diff --git a/My97DatePicker/开发包/skin/default/img.gif b/My97DatePicker/开发包/skin/default/img.gif new file mode 100644 index 0000000..053205d Binary files /dev/null and b/My97DatePicker/开发包/skin/default/img.gif differ diff --git a/My97DatePicker/开发包/skin/whyGreen/bg.jpg b/My97DatePicker/开发包/skin/whyGreen/bg.jpg new file mode 100644 index 0000000..75516a6 Binary files /dev/null and b/My97DatePicker/开发包/skin/whyGreen/bg.jpg differ diff --git a/My97DatePicker/开发包/skin/whyGreen/datepicker.css b/My97DatePicker/开发包/skin/whyGreen/datepicker.css new file mode 100644 index 0000000..208e733 --- /dev/null +++ b/My97DatePicker/开发包/skin/whyGreen/datepicker.css @@ -0,0 +1,277 @@ +/* + * My97 DatePicker 4.7 + * Ƥ:whyGreen + */ + +/* ѡ DIV */ +.WdateDiv{ + width:180px; + background-color:#fff; + border:#C5E1E4 1px solid; + padding:2px; +} +/* ˫Ŀ */ +.WdateDiv2{ + width:360px; +} +.WdateDiv *{font-size:9pt;} + +/**************************** + * ͼ ȫAǩ + ***************************/ +.WdateDiv .NavImg a{ + cursor:pointer; + display:block; + width:16px; + height:16px; + margin-top:1px; +} + +.WdateDiv .NavImgll a{ + float:left; + background:url(img.gif) no-repeat; +} +.WdateDiv .NavImgl a{ + float:left; + background:url(img.gif) no-repeat -16px 0px; +} +.WdateDiv .NavImgr a{ + float:right; + background:url(img.gif) no-repeat -32px 0px; +} +.WdateDiv .NavImgrr a{ + float:right; + background:url(img.gif) no-repeat -48px 0px; +} +/**************************** + * · + ***************************/ +/* · DIV */ +.WdateDiv #dpTitle{ + height:24px; + padding:1px; + border:#c5d9e8 1px solid; + background:url(bg.jpg); + margin-bottom:2px; +} +/* · INPUT */ +.WdateDiv .yminput{ + margin-top:2px; + text-align:center; + border:0px; + height:20px; + width:50px; + color:#034c50; + background-color:transparent; + cursor:pointer; +} +/* ·ýʱʽ INPUT */ +.WdateDiv .yminputfocus{ + margin-top:2px; + text-align:center; + border:#939393 1px solid; + font-weight:bold; + color:#034c50; + height:20px; + width:50px; +} +/* ˵ѡ DIV */ +.WdateDiv .menuSel{ + z-index:1; + position:absolute; + background-color:#FFFFFF; + border:#A3C6C8 1px solid; + display:none; +} +/* ˵ʽ TD */ +.WdateDiv .menu{ + cursor:pointer; + background-color:#fff; + color:#11777C; +} +/* ˵mouseoverʽ TD */ +.WdateDiv .menuOn{ + cursor:pointer; + background-color:#BEEBEE; +} +/* ˵Чʱʽ TD */ +.WdateDiv .invalidMenu{ + color:#aaa; +} +/* ѡƫ DIV */ +.WdateDiv .YMenu{ + margin-top:20px; +} +/* ѡƫ DIV */ +.WdateDiv .MMenu{ + margin-top:20px; + *width:62px; +} +/* ʱѡλ DIV */ +.WdateDiv .hhMenu{ + margin-top:-90px; + margin-left:26px; +} +/* ѡλ DIV */ +.WdateDiv .mmMenu{ + margin-top:-46px; + margin-left:26px; +} +/* ѡλ DIV */ +.WdateDiv .ssMenu{ + margin-top:-24px; + margin-left:26px; +} + +/**************************** + * + ***************************/ + .WdateDiv .Wweek { + text-align:center; + background:#DAF3F5; + border-right:#BDEBEE 1px solid; + } +/**************************** + * , + ***************************/ + /* TR */ +.WdateDiv .MTitle{ + color:#13777e; + background-color:#bdebee; +} +.WdateDiv .WdayTable2{ + border-collapse:collapse; + border:#BEE9F0 1px solid; +} +.WdateDiv .WdayTable2 table{ + border:0; +} +/* TABLE */ +.WdateDiv .WdayTable{ + line-height:20px; + color:#13777e; + background-color:#edfbfb; + border:#BEE9F0 1px solid; +} +.WdateDiv .WdayTable td{ + text-align:center; +} +/* ڸʽ TD */ +.WdateDiv .Wday{ + cursor:pointer; +} +/* ڸmouseoverʽ TD */ +.WdateDiv .WdayOn{ + cursor:pointer; + background-color:#74d2d9 ; +} +/* ĩڸʽ TD */ +.WdateDiv .Wwday{ + cursor:pointer; + color:#ab1e1e; +} +/* ĩڸmouseoverʽ TD */ +.WdateDiv .WwdayOn{ + cursor:pointer; + background-color:#74d2d9; +} +.WdateDiv .Wtoday{ + cursor:pointer; + color:blue; +} +.WdateDiv .Wselday{ + background-color:#A7E2E7; +} +.WdateDiv .WspecialDay{ + background-color:#66F4DF; +} +/* ·ݵ */ +.WdateDiv .WotherDay{ + cursor:pointer; + color:#0099CC; +} +/* ·ݵmouseoverʽ */ +.WdateDiv .WotherDayOn{ + cursor:pointer; + background-color:#C0EBEF; +} +/* Чڵʽ,ڷΧڸʽ,ѡ */ +.WdateDiv .WinvalidDay{ + color:#aaa; +} + +/**************************** + * ʱ + ***************************/ +/* ʱ DIV */ +.WdateDiv #dpTime{ + float:left; + margin-top:3px; + margin-right:30px; +} +/* ʱ SPAN */ +.WdateDiv #dpTime #dpTimeStr{ + margin-left:1px; + color:#497F7F; +} +/* ʱ INPUT */ +.WdateDiv #dpTime input{ + height:20px; + width:18px; + text-align:center; + color:#333; + border:#61CAD0 1px solid; +} +/* ʱ ʱ INPUT */ +.WdateDiv #dpTime .tB{ + border-right:0px; +} +/* ʱ ֺͼ ':' INPUT */ +.WdateDiv #dpTime .tE{ + border-left:0; + border-right:0; +} +/* ʱ INPUT */ +.WdateDiv #dpTime .tm{ + width:7px; + border-left:0; + border-right:0; +} +/* ʱұߵϰť BUTTON */ +.WdateDiv #dpTime #dpTimeUp{ + height:10px; + width:13px; + border:0px; + background:url(img.gif) no-repeat -32px -16px; +} +/* ʱұߵ°ť BUTTON */ +.WdateDiv #dpTime #dpTimeDown{ + height:10px; + width:13px; + border:0px; + background:url(img.gif) no-repeat -48px -16px; +} +/**************************** + * + ***************************/ + .WdateDiv #dpQS { + float:left; + margin-right:3px; + margin-top:3px; + background:url(img.gif) no-repeat 0px -16px; + width:20px; + height:20px; + cursor:pointer; + } +.WdateDiv #dpControl { + text-align:right; + margin-top:3px; +} +.WdateDiv .dpButton{ + height:20px; + width:45px; + margin-top:2px; + border:#38B1B9 1px solid; + background-color:#CFEBEE; + color:#08575B; +} \ No newline at end of file diff --git a/My97DatePicker/开发包/skin/whyGreen/img.gif b/My97DatePicker/开发包/skin/whyGreen/img.gif new file mode 100644 index 0000000..4003f20 Binary files /dev/null and b/My97DatePicker/开发包/skin/whyGreen/img.gif differ diff --git a/Public/Upload/1447964.jpg b/Public/Upload/1447964.jpg new file mode 100644 index 0000000..d4f6a35 Binary files /dev/null and b/Public/Upload/1447964.jpg differ diff --git a/Public/Upload/1501684.jpg b/Public/Upload/1501684.jpg new file mode 100644 index 0000000..31c1bda Binary files /dev/null and b/Public/Upload/1501684.jpg differ diff --git a/Public/Upload/1654034.jpg b/Public/Upload/1654034.jpg new file mode 100644 index 0000000..aeaa5dc Binary files /dev/null and b/Public/Upload/1654034.jpg differ diff --git a/Public/Upload/1704627.jpg b/Public/Upload/1704627.jpg new file mode 100644 index 0000000..4650396 Binary files /dev/null and b/Public/Upload/1704627.jpg differ diff --git a/Public/Upload/1705102.jpg b/Public/Upload/1705102.jpg new file mode 100644 index 0000000..31c1bda Binary files /dev/null and b/Public/Upload/1705102.jpg differ diff --git a/Public/Upload/1716137.jpg b/Public/Upload/1716137.jpg new file mode 100644 index 0000000..4650396 Binary files /dev/null and b/Public/Upload/1716137.jpg differ diff --git a/Public/Upload/1753872.jpg b/Public/Upload/1753872.jpg new file mode 100644 index 0000000..4650396 Binary files /dev/null and b/Public/Upload/1753872.jpg differ diff --git a/Public/Upload/1756066.png b/Public/Upload/1756066.png new file mode 100644 index 0000000..695a79e Binary files /dev/null and b/Public/Upload/1756066.png differ diff --git a/Public/Upload/2193833.jpg b/Public/Upload/2193833.jpg new file mode 100644 index 0000000..31c1bda Binary files /dev/null and b/Public/Upload/2193833.jpg differ diff --git a/Public/Upload/2380782.jpg b/Public/Upload/2380782.jpg new file mode 100644 index 0000000..31c1bda Binary files /dev/null and b/Public/Upload/2380782.jpg differ diff --git a/Public/Upload/2516853.png b/Public/Upload/2516853.png new file mode 100644 index 0000000..c2207ba Binary files /dev/null and b/Public/Upload/2516853.png differ diff --git a/Public/Upload/2540612.jpg b/Public/Upload/2540612.jpg new file mode 100644 index 0000000..4650396 Binary files /dev/null and b/Public/Upload/2540612.jpg differ diff --git a/Public/Upload/2679125.jpg b/Public/Upload/2679125.jpg new file mode 100644 index 0000000..31c1bda Binary files /dev/null and b/Public/Upload/2679125.jpg differ diff --git a/Public/Upload/2936676.jpg b/Public/Upload/2936676.jpg new file mode 100644 index 0000000..4650396 Binary files /dev/null and b/Public/Upload/2936676.jpg differ diff --git a/Public/Upload/2995206.jpg b/Public/Upload/2995206.jpg new file mode 100644 index 0000000..31c1bda Binary files /dev/null and b/Public/Upload/2995206.jpg differ diff --git a/Public/Upload/3085858.jpg b/Public/Upload/3085858.jpg new file mode 100644 index 0000000..dd271b4 Binary files /dev/null and b/Public/Upload/3085858.jpg differ diff --git a/Public/Upload/3123027.jpg b/Public/Upload/3123027.jpg new file mode 100644 index 0000000..dad9604 Binary files /dev/null and b/Public/Upload/3123027.jpg differ diff --git a/Public/Upload/3422382.jpg b/Public/Upload/3422382.jpg new file mode 100644 index 0000000..4650396 Binary files /dev/null and b/Public/Upload/3422382.jpg differ diff --git a/Public/Upload/3501708.jpg b/Public/Upload/3501708.jpg new file mode 100644 index 0000000..d4f6a35 Binary files /dev/null and b/Public/Upload/3501708.jpg differ diff --git a/Public/Upload/3518614.jpg b/Public/Upload/3518614.jpg new file mode 100644 index 0000000..31c1bda Binary files /dev/null and b/Public/Upload/3518614.jpg differ diff --git a/Public/Upload/3727987.jpg b/Public/Upload/3727987.jpg new file mode 100644 index 0000000..31c1bda Binary files /dev/null and b/Public/Upload/3727987.jpg differ diff --git a/Public/Upload/4340365.jpg b/Public/Upload/4340365.jpg new file mode 100644 index 0000000..4650396 Binary files /dev/null and b/Public/Upload/4340365.jpg differ diff --git a/Public/Upload/4344584.jpg b/Public/Upload/4344584.jpg new file mode 100644 index 0000000..dd271b4 Binary files /dev/null and b/Public/Upload/4344584.jpg differ diff --git a/Public/Upload/506127.png b/Public/Upload/506127.png new file mode 100644 index 0000000..695a79e Binary files /dev/null and b/Public/Upload/506127.png differ diff --git a/Public/Upload/5399859.jpg b/Public/Upload/5399859.jpg new file mode 100644 index 0000000..4650396 Binary files /dev/null and b/Public/Upload/5399859.jpg differ diff --git a/Public/Upload/5809932.jpg b/Public/Upload/5809932.jpg new file mode 100644 index 0000000..4650396 Binary files /dev/null and b/Public/Upload/5809932.jpg differ diff --git a/Public/Upload/5982159.jpg b/Public/Upload/5982159.jpg new file mode 100644 index 0000000..4650396 Binary files /dev/null and b/Public/Upload/5982159.jpg differ diff --git a/Public/Upload/6310857.png b/Public/Upload/6310857.png new file mode 100644 index 0000000..f4598d0 Binary files /dev/null and b/Public/Upload/6310857.png differ diff --git a/Public/Upload/6372479.png b/Public/Upload/6372479.png new file mode 100644 index 0000000..c2207ba Binary files /dev/null and b/Public/Upload/6372479.png differ diff --git a/Public/Upload/6606667.png b/Public/Upload/6606667.png new file mode 100644 index 0000000..695a79e Binary files /dev/null and b/Public/Upload/6606667.png differ diff --git a/Public/Upload/677384.jpg b/Public/Upload/677384.jpg new file mode 100644 index 0000000..31c1bda Binary files /dev/null and b/Public/Upload/677384.jpg differ diff --git a/Public/Upload/7072187.jpg b/Public/Upload/7072187.jpg new file mode 100644 index 0000000..31c1bda Binary files /dev/null and b/Public/Upload/7072187.jpg differ diff --git a/Public/Upload/7072255.jpg b/Public/Upload/7072255.jpg new file mode 100644 index 0000000..4650396 Binary files /dev/null and b/Public/Upload/7072255.jpg differ diff --git a/Public/Upload/7286512.jpg b/Public/Upload/7286512.jpg new file mode 100644 index 0000000..31c1bda Binary files /dev/null and b/Public/Upload/7286512.jpg differ diff --git a/Public/Upload/77672.jpg b/Public/Upload/77672.jpg new file mode 100644 index 0000000..31c1bda Binary files /dev/null and b/Public/Upload/77672.jpg differ diff --git a/Public/Upload/7790426.jpg b/Public/Upload/7790426.jpg new file mode 100644 index 0000000..272af6b Binary files /dev/null and b/Public/Upload/7790426.jpg differ diff --git a/Public/Upload/8203084.png b/Public/Upload/8203084.png new file mode 100644 index 0000000..695a79e Binary files /dev/null and b/Public/Upload/8203084.png differ diff --git a/Public/Upload/8303564.jpg b/Public/Upload/8303564.jpg new file mode 100644 index 0000000..dd271b4 Binary files /dev/null and b/Public/Upload/8303564.jpg differ diff --git a/Public/Upload/8935693.jpg b/Public/Upload/8935693.jpg new file mode 100644 index 0000000..d4f6a35 Binary files /dev/null and b/Public/Upload/8935693.jpg differ diff --git a/Public/Upload/9467919.jpg b/Public/Upload/9467919.jpg new file mode 100644 index 0000000..aeaa5dc Binary files /dev/null and b/Public/Upload/9467919.jpg differ diff --git a/Public/Upload/9723718.jpg b/Public/Upload/9723718.jpg new file mode 100644 index 0000000..dd271b4 Binary files /dev/null and b/Public/Upload/9723718.jpg differ diff --git a/Public/Upload/9870576.jpg b/Public/Upload/9870576.jpg new file mode 100644 index 0000000..31c1bda Binary files /dev/null and b/Public/Upload/9870576.jpg differ diff --git a/Public/Upload/988045.jpg b/Public/Upload/988045.jpg new file mode 100644 index 0000000..4650396 Binary files /dev/null and b/Public/Upload/988045.jpg differ diff --git a/admin/admin_edit.php b/admin/admin_edit.php new file mode 100644 index 0000000..c7f1595 --- /dev/null +++ b/admin/admin_edit.php @@ -0,0 +1,167 @@ + + + + + + + + + + + + +
+ + +
添加/修改管理员
+
+ + + + + + + + +
  + + + + +
+
+ " /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 用户名或编号:" required>只能是数字或字母 
 密码: +  
 姓名:" required>  
 性别: 
 出生日期: + " required>  
  头像上传:" height="50" width="50"/> 
 电话:" required>  
 备注:  
    
+
+
+
 
+
+ + \ No newline at end of file diff --git a/admin/admin_list.php b/admin/admin_list.php new file mode 100644 index 0000000..a97f912 --- /dev/null +++ b/admin/admin_list.php @@ -0,0 +1,77 @@ +1 order by id desc", $page,12); + if ($page*1>$list["page"]*1){ + $page = $list["page"]; + } + $Page = new PageWeb($list["total"],$list["page_size"], "", $page); + $page_show = $Page->show(); + +?> + + + + + + + + + + + +
+ + +
管理员列表
+
+ + + + + + + + +
  + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
编号用户名姓名电话出生日期备注性别操作
修改 删除
+
+ + + + +
+
 
+
+ + \ No newline at end of file diff --git a/admin/baoxiu_edit.php b/admin/baoxiu_edit.php new file mode 100644 index 0000000..db3f3c0 --- /dev/null +++ b/admin/baoxiu_edit.php @@ -0,0 +1,127 @@ + + + + + + + + + + + + +
+ + +
添加订单
+
+ + + + + + + + +
  + + + + +
+
+ " /> + " /> + " /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 车牌号: 
 * 选择维修工: + +
 车辆状态: +  
 报修状态: +  
 备注: 
    
+
+
+
 
+
+ + diff --git a/admin/baoxiu_list.php b/admin/baoxiu_list.php new file mode 100644 index 0000000..f5835b2 --- /dev/null +++ b/admin/baoxiu_list.php @@ -0,0 +1,124 @@ + $list["page"] * 1) { + $page = $list["page"]; +} +$Page = new PageWeb($list["total"], $list["page_size"], "status=" . $_REQUEST["status"], $page); +$page_show = $Page->show(); +?> + + + + + + + + + + + +
+ + + + +
+
报修管理
+
+
+ + + + + + + + + + + + + + + + + +
  + + + + + +
+
+ + + +
+
+
 
  + + + +
+ + + + + + + + + + + + + + + + + + + +
编号车牌号维修人员提交时间车辆状态操作
待分配' ?>修改 + 删除
+
+ + + + +
+
 
+
+ + + + + + + + diff --git a/admin/base.php b/admin/base.php new file mode 100644 index 0000000..27019d5 --- /dev/null +++ b/admin/base.php @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/admin/cars_edit.php b/admin/cars_edit.php new file mode 100644 index 0000000..7261a36 --- /dev/null +++ b/admin/cars_edit.php @@ -0,0 +1,277 @@ + + + + + + +
+ + + + + + + + + +
+ + +
添加车辆
+
+ + + + + + + + +
  + + + + +
+
+ " /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 车牌号: 
 * 选择品牌: + +
 颜色:"> 
 车龄:"> 
  图片上传:" height="50" width="50"/> 
 状态: +  
 车辆所在位置: +
+
+
+ 纬度: +
+
+ 经度: +
+
+ +
+
 
    
+
+
+
 
+
+ + +
+ +
+
+ + + + + + diff --git a/admin/cars_edit1.php b/admin/cars_edit1.php new file mode 100644 index 0000000..87c51ba --- /dev/null +++ b/admin/cars_edit1.php @@ -0,0 +1,136 @@ + + + + + + + + + + + + +
+ + +
添加订单
+
+ + + + + + + + +
  + + + + +
+
+ " /> + " /> + " /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 车牌号: 
 学号:" required="required"> 
 提车日期: + " required> 
 还车日期: + " required> 
 预计金额:" required="required"> 
    
+
+
+
 
+
+ + diff --git a/admin/cars_list.php b/admin/cars_list.php new file mode 100644 index 0000000..7cab48a --- /dev/null +++ b/admin/cars_list.php @@ -0,0 +1,168 @@ +$list["page"]*1){ + $page = $list["page"]; + } + $Page = new PageWeb($list["total"],$list["page_size"], "title=".$_REQUEST["title"]."&categoryid=".$_REQUEST["categoryid"], $page); + $page_show = $Page->show(); +?> + + + + +
+ + + + + + + + + +
+ + +
车辆管理
+
+ + + + + + + + + +
  + + + +
+
+ + "/> + +
+
 
  + + + +
+ + + + + + + + + + + + + + + + + + + +
编号车牌号车龄颜色状态操作
+ 位置 + + 报修 + + 编辑 + 删除
+
+ + + + +
+
 
+
+ +
+
+
+ + + + + + \ No newline at end of file diff --git a/admin/cars_list1.php b/admin/cars_list1.php new file mode 100644 index 0000000..014f76a --- /dev/null +++ b/admin/cars_list1.php @@ -0,0 +1,98 @@ +$list["page"]*1){ + $page = $list["page"]; + } + $Page = new PageWeb($list["total"],$list["page_size"], "title=".$_REQUEST["title"]."&categoryid=".$_REQUEST["categoryid"], $page); + $page_show = $Page->show(); +?> + + + + + + + + + + + +
+ + +
车辆管理
+
+ + + + + + + + + +
  + + + +
+
+ + "/> + +
+
 
  + + + +
+ + + + + + + + + + + + + + + + + +
编号车牌号车龄颜色操作
下单
+
+ + + + +
+
 
+
+ + \ No newline at end of file diff --git a/admin/category_edit.php b/admin/category_edit.php new file mode 100644 index 0000000..431e3a3 --- /dev/null +++ b/admin/category_edit.php @@ -0,0 +1,85 @@ + + + + + + + + + + + + + +
+ + +
添加/修改品牌
+
+ + + + + + + + +
  + + + + +
+
+ " /> + " /> + + + + + + + + + + + + + + + + +
 * 品牌名称:">填写名称 
    
+
+
+
 
+
+ + diff --git a/admin/category_list.php b/admin/category_list.php new file mode 100644 index 0000000..5012b08 --- /dev/null +++ b/admin/category_list.php @@ -0,0 +1,57 @@ + + + + + + + + + + + + +
+ + +
品牌管理
+
+ + + + + + + + +
  + + + +
+ + + + + + + + + + + + + + + +
编号品牌名称 操作
 编辑 删除
+
+
 
+
+ + \ No newline at end of file diff --git a/admin/del.php b/admin/del.php new file mode 100644 index 0000000..f1b46ae --- /dev/null +++ b/admin/del.php @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/admin/eacher/baoxiu_edit.php b/admin/eacher/baoxiu_edit.php new file mode 100644 index 0000000..c6fa7ad --- /dev/null +++ b/admin/eacher/baoxiu_edit.php @@ -0,0 +1,111 @@ + + + + + + + + + + + + +
+ + +
添加订单
+
+ + + + + + + + +
  + + + + +
+
+ " /> + " /> + " /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 车牌号: 
 车辆状态: +  
 报修状态: +  
 备注: 
    
+
+
+
 
+
+ + diff --git a/admin/eacher/baoxiu_list.php b/admin/eacher/baoxiu_list.php new file mode 100644 index 0000000..445bfad --- /dev/null +++ b/admin/eacher/baoxiu_list.php @@ -0,0 +1,181 @@ +$list["page"]*1){ + $page = $list["page"]; + } + $Page = new PageWeb($list["total"],$list["page_size"], "status=".$_REQUEST["status"], $page); + $page_show = $Page->show(); + + //查询车辆位置 + $car_ids = array(); + foreach ($list['data'] as $k=>$v){ + $car_ids[] = $v['carsid']; + } + + $sql = "select `id`,`lat`,`lng`,`title` from `cars` where `id` in (".join(',',$car_ids).")"; + $res = db_get_all($sql); + $cars_list = array(); + foreach ($res as $k=>$v){ + $cars_list[$v['id']] = $v; + } + + foreach ($list['data'] as $k=>$v){ + $car = $cars_list[$v['carsid']]; + $list['data'][$k]['lng'] = $car['lng']; + $list['data'][$k]['lat'] = $car['lat']; + $list['data'][$k]['title'] = $car['title']; + } + +?> + + + + +
+ + + + + + + + + +
+ + +
报修管理
+
+ + + + + + + + + +
  + + + +
+
+ + + +
+
 
  + + + +
+ + + + + + + + + + + + + + + + + + + +
编号车牌号维修人员提交时间车辆状态操作
+ 位置 + 修改 + 删除 +
+
+ + + + +
+
 
+
+ +
+
+
+ + + + + + \ No newline at end of file diff --git a/admin/eacher/base.php b/admin/eacher/base.php new file mode 100644 index 0000000..3db1a9d --- /dev/null +++ b/admin/eacher/base.php @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/admin/eacher/del.php b/admin/eacher/del.php new file mode 100644 index 0000000..2ed1cb6 --- /dev/null +++ b/admin/eacher/del.php @@ -0,0 +1,12 @@ + \ No newline at end of file diff --git a/admin/eacher/index.php b/admin/eacher/index.php new file mode 100644 index 0000000..00e1496 --- /dev/null +++ b/admin/eacher/index.php @@ -0,0 +1,19 @@ + + + + + +<?php echo $CONFIG["webname"];?> + + + + + + + + +<body> +</body> + \ No newline at end of file diff --git a/admin/eacher/left.php b/admin/eacher/left.php new file mode 100644 index 0000000..1ef5742 --- /dev/null +++ b/admin/eacher/left.php @@ -0,0 +1,58 @@ + + + + +无标题文档 + + + + + + + + + +
系统管理
+ +
+ +
+
+ 管理信息 +
+ +
+ +
+ 维修管理 +
+ +
+ +
+ + \ No newline at end of file diff --git a/admin/eacher/main.php b/admin/eacher/main.php new file mode 100644 index 0000000..6f4d798 --- /dev/null +++ b/admin/eacher/main.php @@ -0,0 +1,33 @@ + + + + + +<?php echo $CONFIG["webname"];?> + + + + + +
+ 位置: + +
+ +
+ + + +
+ 网站名称: +
+ +
+
+ + \ No newline at end of file diff --git a/admin/eacher/map.php b/admin/eacher/map.php new file mode 100644 index 0000000..209bf21 --- /dev/null +++ b/admin/eacher/map.php @@ -0,0 +1,55 @@ + + + + +

点击车辆可以直接修改维修状态

+
+ + + + \ No newline at end of file diff --git a/admin/eacher/password.php b/admin/eacher/password.php new file mode 100644 index 0000000..81aec21 --- /dev/null +++ b/admin/eacher/password.php @@ -0,0 +1,160 @@ + + + + + + + + + + + + + +
+ + +
修改资料
+
+ + + + + + + + +
  + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 用户名或编号:" readonly>  
 密码: + 不修改请留空 
 姓名:" required>  
 性别: 
 出生日期: + " required>  
  头像上传:" height="50" width="50"/> 
 电话:" required>  
 备注:  
    
+
+
+
 
+
+ + \ No newline at end of file diff --git a/admin/eacher/top.php b/admin/eacher/top.php new file mode 100644 index 0000000..27e4f04 --- /dev/null +++ b/admin/eacher/top.php @@ -0,0 +1,43 @@ + + + + + +无标题文档 + + + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ + \ No newline at end of file diff --git a/admin/eacher_edit.php b/admin/eacher_edit.php new file mode 100644 index 0000000..84b91b4 --- /dev/null +++ b/admin/eacher_edit.php @@ -0,0 +1,166 @@ + + + + + + + + + + + + +
+ + +
添加/修改人员
+
+ + + + + + + + +
  + + + + +
+
+ " /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 用户名或编号:" required>只能是数字或字母 
 密码: +  
 姓名:" required>  
 性别: 
 出生日期: + " required>  
  头像上传:" height="50" width="50"/> 
 电话:" required>  
 备注:  
    
+
+
+
 
+
+ + \ No newline at end of file diff --git a/admin/eacher_list.php b/admin/eacher_list.php new file mode 100644 index 0000000..9fea29c --- /dev/null +++ b/admin/eacher_list.php @@ -0,0 +1,78 @@ +$list["page"]*1){ + $page = $list["page"]; + } + $Page = new PageWeb($list["total"],$list["page_size"], "", $page); + $page_show = $Page->show(); + +?> + + + + + + + + + + + +
+ + +
维修员
+
+ + + + + + + + +
  + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
编号用户名姓名电话出生日期备注性别操作
修改 删除
+
+ + + + +
+
 
+
+ + diff --git a/admin/index.php b/admin/index.php new file mode 100644 index 0000000..9bcfc44 --- /dev/null +++ b/admin/index.php @@ -0,0 +1,19 @@ + + + + + +<?php echo $CONFIG["webname"];?> + + + + + + + + +<body> +</body> + \ No newline at end of file diff --git a/admin/left.php b/admin/left.php new file mode 100644 index 0000000..0cb6734 --- /dev/null +++ b/admin/left.php @@ -0,0 +1,117 @@ + + + + + +无标题文档 + + + + + + + + + +
后台管理
+ +
+ +
+
+ 管理信息 +
+ +
+ +
+ 押金管理 +
+ +
+ +
+ 车辆管理 +
+ +
+ +
+ 车辆订单 +
+ +
+ +
+ 报修管理 +
+ +
+ +
+ 车辆品牌 +
+ +
+ +
+ 维修员管理 +
+ +
+ + +
学生管理
+ +
+ +
+ + diff --git a/admin/login.php b/admin/login.php new file mode 100644 index 0000000..c2264bf --- /dev/null +++ b/admin/login.php @@ -0,0 +1,184 @@ + + + + +欢迎登录<?php echo $CONFIG["webname"];?> + + + + + + +

+ + +
+ + diff --git a/admin/logincheck.php b/admin/logincheck.php new file mode 100644 index 0000000..16f589f --- /dev/null +++ b/admin/logincheck.php @@ -0,0 +1,53 @@ + \ No newline at end of file diff --git a/admin/main.php b/admin/main.php new file mode 100644 index 0000000..388fb1a --- /dev/null +++ b/admin/main.php @@ -0,0 +1,32 @@ + + + + + +<?php echo $CONFIG["webname"];?> + + + + +
+ 位置: + +
+ +
+ + + +
+ 网站名称: +
+ +
+
+ + diff --git a/admin/map.php b/admin/map.php new file mode 100644 index 0000000..fee9c73 --- /dev/null +++ b/admin/map.php @@ -0,0 +1,52 @@ + + + + +
+ + + + \ No newline at end of file diff --git a/admin/orders.php b/admin/orders.php new file mode 100644 index 0000000..3bf6405 --- /dev/null +++ b/admin/orders.php @@ -0,0 +1,111 @@ +$list["page"]*1){ + $page = $list["page"]; + } + $Page = new PageWeb($list["total"],$list["page_size"], "title=".$_REQUEST["title"]."&studentid=".$_REQUEST["studentid"]."&status=".$_REQUEST["status"], $page); + $page_show = $Page->show(); +?> + + + + + + + + + + + +
+ + +
订单管理
+
+ + + + + + + + + +
  + + + +
+
+ + + "/> "/> + +
+
 
  + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
编号车牌号学生提车时间还车时间金额操作
使用中 删除
本页累计金额:    
+
+ + + + +
+
 
+
+ + diff --git a/admin/password.php b/admin/password.php new file mode 100644 index 0000000..a2aa8dd --- /dev/null +++ b/admin/password.php @@ -0,0 +1,76 @@ + + + + + + + + + + + + + +
+ + +
修改密码
+
+ + + + + + + + +
  + + + + +
+
+ + + + + + + + + + + + + + + + +
 管理员帐号:
 新 密 码:
  
+
+
+
 
+
+ + \ No newline at end of file diff --git a/admin/regist.php b/admin/regist.php new file mode 100644 index 0000000..bd4569b --- /dev/null +++ b/admin/regist.php @@ -0,0 +1,19 @@ + \ No newline at end of file diff --git a/admin/skin/index/css/style.css b/admin/skin/index/css/style.css new file mode 100644 index 0000000..0746cc4 --- /dev/null +++ b/admin/skin/index/css/style.css @@ -0,0 +1,292 @@ +@charset "utf-8"; +*{font-size:9pt;border:0;margin:0;padding:0;} +body{font-family:'微软雅黑'; margin:0 auto;min-width:980px;} +ul{display:block;margin:0;padding:0;list-style:none;} +li{display:block;margin:0;padding:0;list-style: none;} +img{border:0;} +dl,dt,dd,span{margin:0;padding:0;display:block;} +a,a:focus{text-decoration:none;color:#000;outline:none;blr:expression(this.onFocus=this.blur());} +a:hover{color:#00a4ac;text-decoration:none;} +table{border-collapse:collapse;border-spacing: 0;} +cite{font-style:normal;} +h2{font-weight:normal;} + +/*cloud*/ + +#mainBody {width:100%;height:100%;position:absolute;z-index:-1;} +.cloud {position:absolute;top:0px;left:0px;width:100%;height:100%;background:url(../images/cloud.png) no-repeat;z-index:1;opacity:0.5;} +#cloud2 {z-index:2;} + + +/*login*/ +.logintop{height:47px; position:absolute; top:0; background:url(../images/loginbg1.png) repeat-x;z-index:100; width:100%;} +.logintop span{color:#fff; line-height:47px; background:url(../images/loginsj.png) no-repeat 21px 18px; text-indent:44px; color:#afc5d2; float:left;} +.logintop ul{float:right; padding-right:30px;} +.logintop ul li{float:left; margin-left:20px; line-height:47px;} +.logintop ul li a{color:#afc5d2;} +.logintop ul li a:hover{color:#fff;} +.loginbody{background:url(../images/loginbg3.png) no-repeat center center; width:100%; height:585px; overflow:hidden; position:absolute; top:47px;} +.systemlogo{background:url(../images/loginlogo.png) no-repeat center;width:100%; height:71px; margin-top:75px;} +.loginbox{width:692px; height:336px; background:url(../images/logininfo.png) no-repeat; margin-top:30px;} +.loginbox ul{margin-top:88px; margin-left:285px;} +.loginbox ul li{margin-bottom:25px;} +.loginbox ul li label{color:#687f92; padding-left:25px;} +.loginbox ul li label a{color:#687f92;} +.loginbox ul li label a:hover{color:#3d96c9;} +.loginbox ul li label input{margin-right:5px;} +.loginuser{width:299px; height:48px; background:url(../images/loginuser.png) no-repeat; border:none; line-height:48px; padding-left:44px; font-size:14px; font-weight:bold;} +.loginpwd{width:299px; height:48px; background:url(../images/loginpassword.png) no-repeat; border:none;line-height:48px; padding-left:44px; font-size:14px; color:#90a2bc;} +.loginbtn{width:111px;height:35px; background:url(../images/buttonbg.png) repeat-x; font-size:14px; font-weight:bold; color:#fff;cursor:pointer; line-height:35px;} +.loginbm{height:50px; line-height:50px; text-align:center; background:url(../images/loginbg2.png) repeat-x;position:absolute; bottom:0; width:100%; color:#0b3a58;} +.loginbm a{font-weight:bold;color:#0b3a58;} +.loginbm a:hover{color:#fff;} + + +/*top.html*/ +.header{height:88px;} +.topleft{height:88px;float:left; width:420px;} +.topleft a{font-size: 25px;color: #000;font-weight:bold;margin-left:20px; line-height:80px;} +.topleft img{margin-top:12px;margin-left:10px;} +.topright{height:88px;float:right;} +.nav{float:left;} +.nav li{float:left;width:87px;height:88px; text-align:center;} +.nav li a{display:block;width:87px;height:88px;-moz-transition: none; transition: background-color 0.3s linear; -moz-transition: background-color 0.3s linear; -webkit-transition: background-color 0.3s linear; -o-transition: background-color 0.3s linear; } +.nav li a.selected{background:url(../images/navbg.png) no-repeat;} +.nav li a:hover{display:block;background:#000;color:#fff;background: none repeat scroll 0% 0% rgb(43, 127, 181);} +.nav li img{margin-top:10px;} +.nav li a{display:block;} +.nav a h2{font-size:14px;color:#d6e8f1;} +.nav a:hover h2{color:#fff;} +.topright ul{padding-top:15px; float:right; padding-right:12px;} +.topright ul li{float:left; padding-left:9px; padding-right:9px; background:url(../images/line.gif) no-repeat right;} +.topright ul li:last-child{background:none;} +.topright ul li a{font-size:13px; color:#000;} +.topright ul li a:hover{color:#fff;} +.topright ul li span{margin-top:2px;float:left;padding-right:3px;} +.user{height:30px;background:url(../images/ub1.png) repeat-x;clear:both;margin-top:10px;float:right; margin-right:12px;border-radius:30px; behavior:url(js/pie.htc); white-space:nowrap;position:relative;} +.user span{display:inline-block;padding-right:10px; background:url(../images/user.png) no-repeat 15px 10px; line-height:30px; font-size:14px;color:#000;padding-left:35px;} +.user b{display:inline-block;width:20px;height:18px; background:url(../images/msg.png);text-align:center; font-weight:normal; color:#fff;font-size:14px;margin-right:13px; margin-top:7px; line-height:18px;} +.user i{display:inline-block;margin-right:5px;font-style:normal;line-height:30px; font-size:14px;color:#b8ceda;} + +/*left.html*/ +.lefttop{background:url(../images/lefttop.gif) repeat-x;height:40px;color:#fff;font-size:14px;line-height:40px;} +.lefttop span{margin-left:8px; margin-top:10px;margin-right:8px; background:url(../images/leftico.png) no-repeat; width:20px; height:21px;float:left;} +.leftmenu{width:187px;padding-bottom: 9999px;margin-bottom: -9999px; overflow:hidden; background:url(../images/leftline.gif) repeat-y right;} +.leftmenu dd{background:url(../images/leftmenubg.gif) repeat-x;line-height:35px;font-weight:bold;font-size:14px;border-right:solid 1px #b7d5df;} +.leftmenu dd span{float:left;margin:10px 8px 0 12px;} +.leftmenu dd .menuson{display:none;} +.leftmenu dd:first-child .menuson{display:block;} +.menuson {line-height:30px; font-weight:normal; } +.menuson li{cursor:pointer;} +.menuson li.active{position:relative; background:url(../images/libg.png) repeat-x; line-height:30px; color:#fff;} +.menuson li cite{display:block; float:left; margin-left:32px; background:url(../images/list.gif) no-repeat; width:16px; height:16px; margin-top:7px;} +.menuson li.active cite{background:url(../images/list1.gif) no-repeat;} +.menuson li.active i{display:block; background:url(../images/sj.png) no-repeat; width:6px; height:11px; position:absolute; right:0;z-index:10000; top:9px; right:-1px;} +.menuson li a{ display:block; *display:inline; *padding-top:5px;} +.menuson li.active a{color:#fff;} +.title{cursor:pointer;} + + +/*right.html*/ +.place{height:40px; background:url(../images/righttop.gif) repeat-x;} +.place span{line-height:40px; font-weight:bold;float:left; margin-left:12px;} +.placeul li{float:left; line-height:40px; padding-left:7px; padding-right:12px; background:url(../images/rlist.gif) no-repeat right;} +.placeul li:last-child{background:none;} +.rightinfo{padding:8px;} +.tools{clear:both; height:35px; margin-bottom:8px;} +.toolbar{float:left;} +.toolbar li{background:url(../images/toolbg.gif) repeat-x; line-height:33px; height:33px; border:solid 1px #d3dbde; float:left; padding-right:10px; margin-right:5px;border-radius: 3px; behavior:url(js/pie.htc); cursor:pointer;} +.toolbar li span{float:left; margin-left:10px; margin-right:5px; margin-top:5px;} +.toolbar1{float:right;} +.toolbar1 li{background:url(../images/toolbg.gif) repeat-x; line-height:33px; height:33px; border:solid 1px #d3dbde; float:left; padding-right:10px; margin-left:5px;border-radius: 3px; behavior:url(js/pie.htc);} +.toolbar1 li span{float:left; margin-left:10px; margin-right:5px; margin-top:5px;} +.tablelist{border:solid 1px #cbcbcb; width:100%; clear:both;} +.tablelist th{background:url(../images/th.gif) repeat-x; height:34px; line-height:34px; border-bottom:solid 1px #b6cad2; text-indent:11px; text-align:left;} +.tablelist td{line-height:35px; text-indent:11px; border-right: dotted 1px #c7c7c7;} +.tablelink{color:#056dae;} +.tablelist tbody tr.odd{background:#f5f8fa;} +.tablelist tbody tr:hover{background:#e5ebee;} +.sort{padding-left:3px;} + +/*page*/ +.pagin{position:relative;margin-top:10px;padding:0 12px;} +.pagin .blue{color:#056dae;font-style:normal;} +.pagin .paginList{position:absolute;right:12px;top:0;} +.pagin .paginList .paginItem{float:left;} +.pagin .paginList .paginItem a{float:left;width:31px;height:28px;border:1px solid #DDD; text-align:center;line-height:30px;border-left:none;color:#3399d5;} +.pagin .paginList .paginItem:first-child a{border-left:1px solid #DDD;} +.pagin .paginList .paginItem:first-child a{border-bottom-left-radius:5px;border-top-left-radius:5px;} +.pagin .paginList .paginItem:last-child a{border-bottom-right-radius:5px;border-top-right-radius:5px;} +.pagin .paginList .paginItem.current,.pagin .paginList .paginItem.current a{background:#f5f5f5; cursor:default;color:#737373;} +.pagin .paginList .paginItem:hover{background:#f5f5f5;} +.pagin .paginList .paginItem.more,.pagin .paginList .paginItem.more a:hover{ cursor:default;} +.pagin .paginList .paginItem.more:hover{background:#FFF;} +.pagin .paginList .paginItem.more a{color:#737373;} +.pagepre{background:url(../images/pre.gif) no-repeat center center; width:31px; height:28px;} +.pagenxt{background:url(../images/next.gif) no-repeat center center; width:31px; height:28px;} + +/*index*/ +.mainindex{padding:20px; overflow:hidden;} +.welinfo{height:32px; line-height:32px; padding-bottom:8px;} +.welinfo span{float:left;} +.welinfo b{padding-left:8px;} +.welinfo a{padding-left:15px;color:#3186c8;} +.welinfo a:hover{color:#F60;} +.welinfo i{font-style:normal; padding-left:8px;} +.xline{border-bottom:solid 1px #dfe9ee; height:5px;} +.iconlist{padding-left:40px; overflow:hidden;} +.iconlist li{text-align:center; float:left; margin-right:25px; margin-top:25px;} +.iconlist li p{line-height:25px;} +.ibox{clear:both; padding-left:40px; padding-top:18px; overflow:hidden; padding-bottom:18px;} +.ibtn{background:url(../images/ibtnbg.png) repeat-x;border:solid 1px #bfcfe1; height:23px; line-height:23px; display:block; float:left; padding:0 15px; cursor:pointer;} +.ibtn img{margin-top:5px; float:left; padding-right:7px;} +.box{height:15px;} +.infolist{padding-left:40px; padding-bottom:15px;} +.infolist li{ line-height:23px; height:23px; margin-bottom:8px;} +.infolist li span{float:left; display:block; margin-right:10px;} +.info{padding-left:40px; background:url(../images/search.png) no-repeat 10px 15px; padding-top:15px; padding-bottom:20px;} +.umlist{padding-left:40px;} +.umlist li{float:left; background:url(../images/ulist.png) no-repeat 0 5px; padding-left:10px; margin-right:15px;} + + +/*default*/ +.mainbox{padding:8px;position:relative;} +.mainleft{padding-right:298px;} +.leftinfo{border:#d3dbde solid 1px; height:290px;} +.mainright{width:298px;position:absolute; top:8px; right:8px;} +.dflist{border:#d3dbde solid 1px; width:288px; height:290px; float:right;} +.dflist1{border:#d3dbde solid 1px; width:288px; height:238px; float:right; margin-top:8px;} +.listtitle{background:url(../images/tbg.png) repeat-x; height:36px; line-height:36px; border-bottom:solid 1px #d3dbde; text-indent:14px; font-weight:bold; font-size:14px;} +.more1{float:right; font-weight:normal;color:#307fb1; padding-right:17px;} +.maintj{text-align:center;} +.newlist{padding-left:14px; padding-top:15px;} +.newlist li{line-height:25px; background:url(../images/list2.png) no-repeat 0px 8px; text-indent:11px;} +.newlist i{width:80px; display:block; float:left; font-style:normal;} +.newlist b{font-weight:normal; color:#7b7b7b; padding-left:10px;} +.leftinfos{height:238px;margin-top:8px;} +.infoleft{border:#d3dbde solid 1px; float:left;height:238px;} +.inforight{border:#d3dbde solid 1px; float:right;height:238px; } +.tooli{padding:30px 20px;} +.tooli li{float:left;padding-left:15px; padding-right:15px;margin-bottom:20px;} +.tooli li span{text-align:center;} +.tooli li p{line-height:35px; text-align:center;} + + +/*form*/ +.formbody{padding:10px 18px;} +.formtitle{border-bottom:solid 1px #d0dee5; line-height:35px; position:relative; height:35px; margin-bottom:28px;} +.formtitle span{font-weight:bold;font-size:14px; border-bottom:solid 3px #66c9f3;float:left; position:absolute; z-index:100; bottom:-1px; padding:0 3px; height:30px; line-height:30px;} +.forminfo{padding-left:23px;} +.forminfo li{margin-bottom:13px; clear:both;} +.forminfo li label{width:86px;line-height:34px; display:block; float:left;} +.forminfo li i{color:#7f7f7f; padding-left:20px; font-style:normal;} +.forminfo li cite{display:block; padding-top:10px;} +.dfinput{width:345px; height:32px; line-height:32px; border-top:solid 1px #a7b5bc; border-left:solid 1px #a7b5bc; border-right:solid 1px #ced9df; border-bottom:solid 1px #ced9df; background:url(../images/inputbg.gif) repeat-x; text-indent:10px;} +.textinput{border-top:solid 1px #a7b5bc; border-left:solid 1px #a7b5bc; border-right:solid 1px #ced9df; border-bottom:solid 1px #ced9df; background:url(../images/inputbg.gif) repeat-x; padding:10px; width:504px; height:135px; line-height:20px; overflow:hidden;} +.btn{width:137px;height:35px; background:url(../images/btnbg.png) no-repeat; font-size:14px;font-weight:bold;color:#fff; cursor:pointer;} + + +/*tip*/ +.tip{width:485px; height:260px; position:absolute;top:10%; left:30%;background:#fcfdfd;box-shadow:1px 8px 10px 1px #9b9b9b;border-radius:1px;behavior:url(js/pie.htc); display:none; z-index:111111;} +.tiptop{height:40px; line-height:40px; background:url(../images/tcbg.gif) repeat-x; cursor:pointer;} +.tiptop span{font-size:14px; font-weight:bold; color:#fff;float:left; text-indent:20px;} +.tiptop a{display:block; background:url(../images/close.png) no-repeat; width:22px; height:22px;float:right;margin-right:7px; margin-top:10px; cursor:pointer;} +.tiptop a:hover{background:url(../images/close1.png) no-repeat;} +.tipinfo{padding-top:30px;margin-left:65px; height:95px;} +.tipinfo span{width:95px; height:95px;float:left;} +.tipright{float:left;padding-top:15px; padding-left:10px;} +.tipright p{font-size:14px; font-weight:bold; line-height:35px;} +.tipright cite{color:#858686;} +.tipbtn{margin-top:25px; margin-left:125px;} +.sure ,.cancel{width:96px; height:35px; line-height:35px; color:#fff; background:url(../images/btnbg1.png) repeat-x; font-size:14px; font-weight:bold;border-radius: 3px; cursor:pointer;} +.cancel{background:url(../images/btnbg2.png) repeat-x;color:#000;font-weight:normal;} + +/*tools*/ +.toolsli{clear:both; overflow:hidden; margin-bottom:20px;} +.toollist{margin-left:20px; overflow:hidden; float:left;} +.toollist li{width:66px; text-align:center; float:left; margin-right:32px;} +.toollist li a{width:65px; height:65px; background:#fafbfb; border-right:solid 1px #dbdbdb;border-bottom:solid 1px #dbdbdb; display:block;} +.toollist li a:hover{background:#eef4f7;border-right:solid 1px #d0d5d7;border-bottom:solid 1px #d0d5d7;} +.toollist li h2{line-height:35px;} +.tooladd{margin-top:25px; width:20px; height:20px; float:left; display:block;} + +/*error 404*/ +.error{background:url(../images/404.png) no-repeat; width:490px; margin-top:75px;padding-top:65px;} +.error h2{font-size:22px; padding-left:154px;} +.error p{padding-left:154px; line-height:35px;color:#717678;} +.reindex{padding-left:154px;} +.reindex a{width:115px; height:35px; font-size:14px; font-weight:bold; color:#fff; background:#3c95c8; display:block; line-height:35px; text-align:center;border-radius: 3px; behavior:url(js/pie.htc);margin-top:20px;} + +/*computer*/ +.comtitle{padding:20px; clear:both;} +.comtitle span{width:10px;height:10px; background:url(../images/clist.png) no-repeat; float:left; background:#fff; padding-top:3px;} +.comtitle h2{font-size:14px; display:block; float:left;color:#2a3e93; background:#fff; padding-left:5px; padding-right:8px;} +.rline{border-bottom:solid 1px #e5ecf0; height:10px; margin-left:50px;} +.disklist{padding-left:20px; padding-right:20px;} +.disklist li{width:275px;_width:270px;float:left; margin-right:10px;px;height:70px; cursor:pointer; margin-bottom:5px;border:solid 1px #fff;} +.disklist li a{color:#000;} +.disklist li:hover{background:#fcfcfc; border:solid 1px #e5ecf0;} +.dleft{background:url(../images/c02.png) no-repeat; height:50px; margin-left:12px; float:left; width:50px; margin-top:15px;} +.dleft1{background:url(../images/c01.png) no-repeat; height:50px; margin-left:12px; float:left; width:50px; margin-top:15px;} +.dleft2{background:url(../images/c03.png) no-repeat; height:50px; margin-left:12px; float:left; width:50px; margin-top:15px;} +.dright{float:left; margin-left:10px; margin-top:5px;} +.dright h3{font-weight:normal; padding-top:15px;} +.dright p{color:#949494;} +.dinfo{width:189px;height:15px; background:url(../images/diskbg.png) no-repeat; margin-top:5px; margin-bottom:5px;} +.dinfo span{background:url(../images/cbg.png) repeat-x; height:15px;} +.filetable{width:100%;} +.filetable thead tr{background:#f5f9fb; line-height:35px;} +.filetable thead tr th{text-align:left; text-indent:15px;font-weight:normal;color:#597190;} +.filetable tbody tr td{text-indent:15px; line-height:23px;} +.filetable tbody tr td img {margin-right:5px;} +.tdlast{text-align:right;} +.filetable tbody tr:hover{background:#f5f8fa; cursor:pointer;} + +/*imglist*/ +.imglist{clear:both; overflow:hidden; margin-bottom:20px; margin-left:5px;} +.imglist li{width:188px; border:solid 1px #fff;height:199px;float:left; margin-right:8px; margin-bottom:10px; cursor:pointer;} +.imglist li:hover{border:solid 1px #d7e4ea;} +.imglist li span{width:168px; height:126px; margin:8px;} +.imglist li h2{text-align:center; line-height:25px;} +.imglist li p{text-align:center; line-height:17px; background:url(../images/line1.png) center center no-repeat;} +.imglist li p a{color:#1f7cb6;} +.imglist li p a:hover{color:#F60;} + +/*imgtable*/ +.imgtable{width:100%;border:solid 1px #cbcbcb; } +.imgtable th{background:url(../images/th.gif) repeat-x; height:34px; line-height:34px; border-bottom:solid 1px #b6cad2; text-indent:21px; text-align:left;} +.imgtable td{line-height:20px; text-indent:21px; border-right: dotted 1px #c7c7c7;} +.imgtable td img{margin:10px 20px 10px 0;} +.imgtable td p{color:#919191;} +.imgtable td i{font-style:normal; color:#ea2020;} +.imgtd{text-indent:0;} +.imgtable tbody tr.odd{background:#f5f8fa;} +.imgtable tbody tr:hover{background:#e5ebee;} + +/*tab*/ +.itab{height:36px; border-bottom:solid 1px #d0dee5; position:relative; border-left:solid 1px #d3dbde;} +.itab ul li{float:left;height:37px; line-height:37px; background:url(../images/itabbg.png) repeat-x; border-right:solid 1px #d3dbde;} +.itab ul li a{font-size:14px; color:#000; padding-left:25px; padding-right:25px;} +.itab ul li a.selected{ height:37px; display:block; background:url(../images/itabbg1.png) repeat-x; font-weight:bold;} +.tabson{margin:18px 0px;} +.formtext{height:45px; padding-left:25px; line-height:20px; color:#848383;} +.formtext b{color:#d70101;} +.forminfo b{color:#ea2020; padding-left:3px;} + +/*class*/ +.classlist li{float:left;margin-right:10px;margin-bottom:10px;padding:12px;border:1px solid #ebebeb; background:#fcfcfc;} +.classlist li:hover{border:1px solid #3eafe0; cursor:pointer;} +.classlist li span{float:left;margin-right:18px;border:3px solid #fff;} +.classlist li .lright{float:left;width:150px;} +.classlist li .lright h2{font-size:12px; font-weight:bold;line-height:30px;} +.classlist li .lright p{line-height:20px;} +.enter{display:block;margin-top:5px;width:94px;height:30px;color:#fff;background:#3eafe0;font-weight:bold; border-radius:2px; text-align:center;line-height:30px; cursor:pointer;} +.enter:hover{color:#fff; background:#d98c1d;} +.clear{clear:both;} + +/*seachform*/ +.seachform{ height:42px;} +.seachform li{float:left; margin-right:15px;} +.seachform li label{padding-right:10px; float:left; line-height:32px;} +.scinput{width:150px; height:32px; line-height:32px; border-top:solid 1px #a7b5bc; border-left:solid 1px #a7b5bc; border-right:solid 1px #ced9df; border-bottom:solid 1px #ced9df; background:url(../images/inputbg.gif) repeat-x; text-indent:10px;} +.scbtn{width:85px;height:35px; background:url(../images/btnbg.png) no-repeat center; font-size:14px;font-weight:bold;color:#fff; cursor:pointer;border-radius:3px; behavior:url(js/pie.htc);} \ No newline at end of file diff --git a/admin/skin/index/images/inputbg.gif b/admin/skin/index/images/inputbg.gif new file mode 100644 index 0000000..e20d3a4 Binary files /dev/null and b/admin/skin/index/images/inputbg.gif differ diff --git a/admin/skin/index/images/itabbg.png b/admin/skin/index/images/itabbg.png new file mode 100644 index 0000000..8eed01b Binary files /dev/null and b/admin/skin/index/images/itabbg.png differ diff --git a/admin/skin/index/images/itabbg1.png b/admin/skin/index/images/itabbg1.png new file mode 100644 index 0000000..d0a28fd Binary files /dev/null and b/admin/skin/index/images/itabbg1.png differ diff --git a/admin/skin/index/images/leftico.png b/admin/skin/index/images/leftico.png new file mode 100644 index 0000000..4968349 Binary files /dev/null and b/admin/skin/index/images/leftico.png differ diff --git a/admin/skin/index/images/leftline.gif b/admin/skin/index/images/leftline.gif new file mode 100644 index 0000000..d0a0449 Binary files /dev/null and b/admin/skin/index/images/leftline.gif differ diff --git a/admin/skin/index/images/leftmenubg.gif b/admin/skin/index/images/leftmenubg.gif new file mode 100644 index 0000000..d28fb98 Binary files /dev/null and b/admin/skin/index/images/leftmenubg.gif differ diff --git a/admin/skin/index/images/lefttop.gif b/admin/skin/index/images/lefttop.gif new file mode 100644 index 0000000..4364e8d Binary files /dev/null and b/admin/skin/index/images/lefttop.gif differ diff --git a/admin/skin/index/images/libg.png b/admin/skin/index/images/libg.png new file mode 100644 index 0000000..5d0c580 Binary files /dev/null and b/admin/skin/index/images/libg.png differ diff --git a/admin/skin/index/images/list.gif b/admin/skin/index/images/list.gif new file mode 100644 index 0000000..8d85b8f Binary files /dev/null and b/admin/skin/index/images/list.gif differ diff --git a/admin/skin/index/images/list1.gif b/admin/skin/index/images/list1.gif new file mode 100644 index 0000000..3e80f0d Binary files /dev/null and b/admin/skin/index/images/list1.gif differ diff --git a/admin/skin/index/images/list2.png b/admin/skin/index/images/list2.png new file mode 100644 index 0000000..104d682 Binary files /dev/null and b/admin/skin/index/images/list2.png differ diff --git a/admin/skin/index/images/righttop.gif b/admin/skin/index/images/righttop.gif new file mode 100644 index 0000000..9c5cbf0 Binary files /dev/null and b/admin/skin/index/images/righttop.gif differ diff --git a/admin/skin/index/images/sj.png b/admin/skin/index/images/sj.png new file mode 100644 index 0000000..8701dcd Binary files /dev/null and b/admin/skin/index/images/sj.png differ diff --git a/admin/skin/index/images/topbg.gif b/admin/skin/index/images/topbg.gif new file mode 100644 index 0000000..39c65cf Binary files /dev/null and b/admin/skin/index/images/topbg.gif differ diff --git a/admin/skin/index/images/topleft.jpg b/admin/skin/index/images/topleft.jpg new file mode 100644 index 0000000..f903852 Binary files /dev/null and b/admin/skin/index/images/topleft.jpg differ diff --git a/admin/skin/index/images/topright.jpg b/admin/skin/index/images/topright.jpg new file mode 100644 index 0000000..4f97c65 Binary files /dev/null and b/admin/skin/index/images/topright.jpg differ diff --git a/admin/skin/index/images/user.png b/admin/skin/index/images/user.png new file mode 100644 index 0000000..76e0e28 Binary files /dev/null and b/admin/skin/index/images/user.png differ diff --git a/admin/skin/index/js/jquery.js b/admin/skin/index/js/jquery.js new file mode 100644 index 0000000..0c7294c --- /dev/null +++ b/admin/skin/index/js/jquery.js @@ -0,0 +1,152 @@ +/*! + * jQuery JavaScript Library v1.4.1 + * http://jquery.com/ + * + * Copyright 2010, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2010, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Mon Jan 25 19:43:33 2010 -0500 + */ +(function(z,v){function la(){if(!c.isReady){try{r.documentElement.doScroll("left")}catch(a){setTimeout(la,1);return}c.ready()}}function Ma(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,i){var j=a.length;if(typeof b==="object"){for(var n in b)X(a,n,b[n],f,e,d);return a}if(d!==v){f=!i&&f&&c.isFunction(d);for(n=0;n-1){i=j.data;i.beforeFilter&&i.beforeFilter[a.type]&&!i.beforeFilter[a.type](a)||f.push(j.selector)}else delete x[o]}i=c(a.target).closest(f, +a.currentTarget);m=0;for(s=i.length;m)[^>]*$|^#([\w-]+)$/,Qa=/^.[^:#\[\.,]*$/,Ra=/\S/,Sa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Ta=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,O=navigator.userAgent, +va=false,P=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,Q=Array.prototype.slice,wa=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(typeof a==="string")if((d=Pa.exec(a))&&(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:r;if(a=Ta.exec(a))if(c.isPlainObject(b)){a=[r.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=ra([d[1]], +[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}}else{if(b=r.getElementById(d[2])){if(b.id!==d[2])return S.find(a);this.length=1;this[0]=b}this.context=r;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=r;a=r.getElementsByTagName(a)}else return!b||b.jquery?(b||S).find(a):c(b).find(a);else if(c.isFunction(a))return S.ready(a);if(a.selector!==v){this.selector=a.selector;this.context=a.context}return c.isArray(a)?this.setArray(a):c.makeArray(a, +this)},selector:"",jquery:"1.4.1",length:0,size:function(){return this.length},toArray:function(){return Q.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){a=c(a||null);a.prevObject=this;a.context=this.context;if(b==="find")a.selector=this.selector+(this.selector?" ":"")+d;else if(b)a.selector=this.selector+"."+b+"("+d+")";return a},setArray:function(a){this.length=0;ba.apply(this,a);return this},each:function(a,b){return c.each(this, +a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(r,c);else P&&P.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(Q.apply(this,arguments),"slice",Q.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this,function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice}; +c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,i,j,n;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b
a";var e=d.getElementsByTagName("*"),i=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!i)){c.support= +{leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(i.getAttribute("style")),hrefNormalized:i.getAttribute("href")==="/a",opacity:/^0.55$/.test(i.style.opacity),cssFloat:!!i.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:r.createElement("select").appendChild(r.createElement("option")).selected,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null}; +b.type="text/javascript";try{b.appendChild(r.createTextNode("window."+f+"=1;"))}catch(j){}a.insertBefore(b,a.firstChild);if(z[f]){c.support.scriptEval=true;delete z[f]}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function n(){c.support.noCloneEvent=false;d.detachEvent("onclick",n)});d.cloneNode(true).fireEvent("onclick")}d=r.createElement("div");d.innerHTML="";a=r.createDocumentFragment();a.appendChild(d.firstChild); +c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var n=r.createElement("div");n.style.width=n.style.paddingLeft="1px";r.body.appendChild(n);c.boxModel=c.support.boxModel=n.offsetWidth===2;r.body.removeChild(n).style.display="none"});a=function(n){var o=r.createElement("div");n="on"+n;var m=n in o;if(!m){o.setAttribute(n,"return;");m=typeof o[n]==="function"}return m};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=i=null}})();c.props= +{"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ua=0,xa={},Va={};c.extend({cache:{},expando:G,noData:{embed:true,object:true,applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==z?xa:a;var f=a[G],e=c.cache;if(!b&&!f)return null;f||(f=++Ua);if(typeof b==="object"){a[G]=f;e=e[f]=c.extend(true, +{},b)}else e=e[f]?e[f]:typeof d==="undefined"?Va:(e[f]={});if(d!==v){a[G]=f;e[b]=d}return typeof b==="string"?e[b]:e}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==z?xa:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{try{delete a[G]}catch(i){a.removeAttribute&&a.removeAttribute(G)}delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this, +a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===v){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===v&&this.length)f=c.data(this[0],a);return f===v&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this,a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d); +return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b===v)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]|| +a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var ya=/[\n\t]/g,ca=/\s+/,Wa=/\r/g,Xa=/href|src|style/,Ya=/(button|input)/i,Za=/(button|input|object|select|textarea)/i,$a=/^(a|area)$/i,za=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(o){var m= +c(this);m.addClass(a.call(this,o,m.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d-1)return true;return false},val:function(a){if(a===v){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value|| +{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var i=b?d:0;for(d=b?d+1:e.length;i=0;else if(c.nodeName(this,"select")){var x=c.makeArray(s);c("option",this).each(function(){this.selected=c.inArray(c(this).val(),x)>=0});if(!x.length)this.selectedIndex=-1}else this.value=s}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return v;if(f&&b in c.attrFn)return c(a)[b](d); +f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==v;b=f&&c.props[b]||b;if(a.nodeType===1){var i=Xa.test(b);if(b in a&&f&&!i){if(e){b==="type"&&Ya.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed");a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:Za.test(a.nodeName)||$a.test(a.nodeName)&&a.href?0:v;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText= +""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&i?a.getAttribute(b,2):a.getAttribute(b);return a===null?v:a}return c.style(a,b,d)}});var ab=function(a){return a.replace(/[^\w\s\.\|`]/g,function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==z&&!a.frameElement)a=z;if(!d.guid)d.guid=c.guid++;if(f!==v){d=c.proxy(d);d.data=f}var e=c.data(a,"events")||c.data(a,"events",{}),i=c.data(a,"handle"),j;if(!i){j= +function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(j.elem,arguments):v};i=c.data(a,"handle",j)}if(i){i.elem=a;b=b.split(/\s+/);for(var n,o=0;n=b[o++];){var m=n.split(".");n=m.shift();if(o>1){d=c.proxy(d);if(f!==v)d.data=f}d.type=m.slice(0).sort().join(".");var s=e[n],x=this.special[n]||{};if(!s){s=e[n]={};if(!x.setup||x.setup.call(a,f,m,d)===false)if(a.addEventListener)a.addEventListener(n,i,false);else a.attachEvent&&a.attachEvent("on"+n,i)}if(x.add)if((m=x.add.call(a, +d,f,m,s))&&c.isFunction(m)){m.guid=m.guid||d.guid;m.data=m.data||d.data;m.type=m.type||d.type;d=m}s[d.guid]=d;this.global[n]=true}a=null}}},global:{},remove:function(a,b,d){if(!(a.nodeType===3||a.nodeType===8)){var f=c.data(a,"events"),e,i,j;if(f){if(b===v||typeof b==="string"&&b.charAt(0)===".")for(i in f)this.remove(a,i+(b||""));else{if(b.type){d=b.handler;b=b.type}b=b.split(/\s+/);for(var n=0;i=b[n++];){var o=i.split(".");i=o.shift();var m=!o.length,s=c.map(o.slice(0).sort(),ab);s=new RegExp("(^|\\.)"+ +s.join("\\.(?:.*\\.)?")+"(\\.|$)");var x=this.special[i]||{};if(f[i]){if(d){j=f[i][d.guid];delete f[i][d.guid]}else for(var A in f[i])if(m||s.test(f[i][A].type))delete f[i][A];x.remove&&x.remove.call(a,o,j);for(e in f[i])break;if(!e){if(!x.teardown||x.teardown.call(a,o)===false)if(a.removeEventListener)a.removeEventListener(i,c.data(a,"handle"),false);else a.detachEvent&&a.detachEvent("on"+i,c.data(a,"handle"));e=null;delete f[i]}}}}for(e in f)break;if(!e){if(A=c.data(a,"handle"))A.elem=null;c.removeData(a, +"events");c.removeData(a,"handle")}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[G]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type=e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();this.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return v;a.result=v;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d, +b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(i){}if(!a.isPropagationStopped()&&f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){d=a.target;var j;if(!(c.nodeName(d,"a")&&e==="click")&&!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()])){try{if(d[e]){if(j=d["on"+e])d["on"+e]=null;this.triggered=true;d[e]()}}catch(n){}if(j)d["on"+e]=j;this.triggered=false}}},handle:function(a){var b, +d;a=arguments[0]=c.event.fix(a||z.event);a.currentTarget=this;d=a.type.split(".");a.type=d.shift();b=!d.length&&!a.exclusive;var f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)");d=(c.data(this,"events")||{})[a.type];for(var e in d){var i=d[e];if(b||f.test(i.type)){a.handler=i;a.data=i.data;i=i.apply(this,arguments);if(i!==v){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), +fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||r;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=r.documentElement;d=r.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop|| +d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==v)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a,b){c.extend(a,b||{});a.guid+=b.selector+b.live;b.liveProxy=a;c.event.add(this,b.live,na,b)},remove:function(a){if(a.length){var b= +0,d=new RegExp("(^|\\.)"+a[0]+"(\\.|$)");c.each(c.data(this,"events").live||{},function(){d.test(this.type)&&b++});b<1&&c.event.remove(this,a[0],na)}},special:{}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent=a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true}; +c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Z;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Z;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y,isImmediatePropagationStopped:Y};var Aa=function(a){for(var b= +a.relatedTarget;b&&b!==this;)try{b=b.parentNode}catch(d){break}if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}},Ba=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ba:Aa,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ba:Aa)}}});if(!c.support.submitBubbles)c.event.special.submit={setup:function(a,b,d){if(this.nodeName.toLowerCase()!== +"form"){c.event.add(this,"click.specialSubmit."+d.guid,function(f){var e=f.target,i=e.type;if((i==="submit"||i==="image")&&c(e).closest("form").length)return ma("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit."+d.guid,function(f){var e=f.target,i=e.type;if((i==="text"||i==="password")&&c(e).closest("form").length&&f.keyCode===13)return ma("submit",this,arguments)})}else return false},remove:function(a,b){c.event.remove(this,"click.specialSubmit"+(b?"."+b.guid:""));c.event.remove(this, +"keypress.specialSubmit"+(b?"."+b.guid:""))}};if(!c.support.changeBubbles){var da=/textarea|input|select/i;function Ca(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d}function ea(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Ca(d);if(a.type!=="focusout"|| +d.type!=="radio")c.data(d,"_change_data",e);if(!(f===v||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}}c.event.special.change={filters:{focusout:ea,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return ea.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return ea.call(this,a)},beforeactivate:function(a){a= +a.target;a.nodeName.toLowerCase()==="input"&&a.type==="radio"&&c.data(a,"_change_data",Ca(a))}},setup:function(a,b,d){for(var f in T)c.event.add(this,f+".specialChange."+d.guid,T[f]);return da.test(this.nodeName)},remove:function(a,b){for(var d in T)c.event.remove(this,d+".specialChange"+(b?"."+b.guid:""),T[d]);return da.test(this.nodeName)}};var T=c.event.special.change.filters}r.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this, +f)}c.event.special[b]={setup:function(){this.addEventListener(a,d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var i in d)this[b](i,f,d[i],e);return this}if(c.isFunction(f)){e=f;f=v}var j=b==="one"?c.proxy(e,function(n){c(this).unbind(n,j);return e.apply(this,arguments)}):e;return d==="unload"&&b!=="one"?this.one(d,f,e):this.each(function(){c.event.add(this,d,j,f)})}});c.fn.extend({unbind:function(a, +b){if(typeof a==="object"&&!a.preventDefault){for(var d in a)this.unbind(d,a[d]);return this}return this.each(function(){c.event.remove(this,a,b)})},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}},toggle:function(a){for(var b=arguments,d=1;d0){y=t;break}}t=t[g]}l[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,i=Object.prototype.toString,j=false,n=true;[0,0].sort(function(){n=false;return 0});var o=function(g,h,k,l){k=k||[];var q=h=h||r;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g|| +typeof g!=="string")return k;for(var p=[],u,t,y,R,H=true,M=w(h),I=g;(f.exec(""),u=f.exec(I))!==null;){I=u[3];p.push(u[1]);if(u[2]){R=u[3];break}}if(p.length>1&&s.exec(g))if(p.length===2&&m.relative[p[0]])t=fa(p[0]+p[1],h);else for(t=m.relative[p[0]]?[h]:o(p.shift(),h);p.length;){g=p.shift();if(m.relative[g])g+=p.shift();t=fa(g,t)}else{if(!l&&p.length>1&&h.nodeType===9&&!M&&m.match.ID.test(p[0])&&!m.match.ID.test(p[p.length-1])){u=o.find(p.shift(),h,M);h=u.expr?o.filter(u.expr,u.set)[0]:u.set[0]}if(h){u= +l?{expr:p.pop(),set:A(l)}:o.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=u.expr?o.filter(u.expr,u.set):u.set;if(p.length>0)y=A(t);else H=false;for(;p.length;){var D=p.pop();u=D;if(m.relative[D])u=p.pop();else D="";if(u==null)u=h;m.relative[D](y,u,M)}}else y=[]}y||(y=t);y||o.error(D||g);if(i.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))k.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&& +y[g].nodeType===1&&k.push(t[g]);else k.push.apply(k,y);else A(y,k);if(R){o(R,q,k,l);o.uniqueSort(k)}return k};o.uniqueSort=function(g){if(C){j=n;g.sort(C);if(j)for(var h=1;h":function(g,h){var k=typeof h==="string";if(k&&!/\W/.test(h)){h=h.toLowerCase();for(var l=0,q=g.length;l=0))k||l.push(u);else if(k)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()},CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&& +"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,k,l,q,p){h=g[1].replace(/\\/g,"");if(!p&&m.attrMap[h])g[1]=m.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,k,l,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=o(g[3],null,null,h);else{g=o.filter(g[3],h,k,true^q);k||l.push.apply(l,g);return false}else if(m.match.POS.test(g[0])||m.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true); +return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,k){return!!o(k[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)},text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"=== +g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}},setFilters:{first:function(g,h){return h===0},last:function(g,h,k,l){return h===l.length-1},even:function(g,h){return h%2=== +0},odd:function(g,h){return h%2===1},lt:function(g,h,k){return hk[3]-0},nth:function(g,h,k){return k[3]-0===h},eq:function(g,h,k){return k[3]-0===h}},filter:{PSEUDO:function(g,h,k,l){var q=h[1],p=m.filters[q];if(p)return p(g,k,h,l);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h=h[3];k=0;for(l=h.length;k= +0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var k=h[1];g=m.attrHandle[k]?m.attrHandle[k](g):g[k]!=null?g[k]:g.getAttribute(k);k=g+"";var l=h[2];h=h[4];return g==null?l==="!=":l==="="?k===h:l==="*="?k.indexOf(h)>=0:l==="~="?(" "+k+" ").indexOf(h)>=0:!h?k&&g!==false:l==="!="?k!==h:l==="^="? +k.indexOf(h)===0:l==="$="?k.substr(k.length-h.length)===h:l==="|="?k===h||k.substr(0,h.length+1)===h+"-":false},POS:function(g,h,k,l){var q=m.setFilters[h[2]];if(q)return q(g,k,h,l)}}},s=m.match.POS;for(var x in m.match){m.match[x]=new RegExp(m.match[x].source+/(?![^\[]*\])(?![^\(]*\))/.source);m.leftMatch[x]=new RegExp(/(^(?:.|\r|\n)*?)/.source+m.match[x].source.replace(/\\(\d+)/g,function(g,h){return"\\"+(h-0+1)}))}var A=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g}; +try{Array.prototype.slice.call(r.documentElement.childNodes,0)}catch(B){A=function(g,h){h=h||[];if(i.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var k=0,l=g.length;k";var k=r.documentElement;k.insertBefore(g,k.firstChild);if(r.getElementById(h)){m.find.ID=function(l,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(l[1]))?q.id===l[1]||typeof q.getAttributeNode!=="undefined"&&q.getAttributeNode("id").nodeValue===l[1]?[q]:v:[]};m.filter.ID=function(l,q){var p=typeof l.getAttributeNode!=="undefined"&&l.getAttributeNode("id"); +return l.nodeType===1&&p&&p.nodeValue===q}}k.removeChild(g);k=g=null})();(function(){var g=r.createElement("div");g.appendChild(r.createComment(""));if(g.getElementsByTagName("*").length>0)m.find.TAG=function(h,k){k=k.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var l=0;k[l];l++)k[l].nodeType===1&&h.push(k[l]);k=h}return k};g.innerHTML="";if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")m.attrHandle.href=function(h){return h.getAttribute("href", +2)};g=null})();r.querySelectorAll&&function(){var g=o,h=r.createElement("div");h.innerHTML="

";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){o=function(l,q,p,u){q=q||r;if(!u&&q.nodeType===9&&!w(q))try{return A(q.querySelectorAll(l),p)}catch(t){}return g(l,q,p,u)};for(var k in g)o[k]=g[k];h=null}}();(function(){var g=r.createElement("div");g.innerHTML="
";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length=== +0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){m.order.splice(1,0,"CLASS");m.find.CLASS=function(h,k,l){if(typeof k.getElementsByClassName!=="undefined"&&!l)return k.getElementsByClassName(h[1])};g=null}}})();var E=r.compareDocumentPosition?function(g,h){return g.compareDocumentPosition(h)&16}:function(g,h){return g!==h&&(g.contains?g.contains(h):true)},w=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},fa=function(g,h){var k=[], +l="",q;for(h=h.nodeType?[h]:h;q=m.match.PSEUDO.exec(g);){l+=q[0];g=g.replace(m.match.PSEUDO,"")}g=m.relative[g]?g+"*":g;q=0;for(var p=h.length;q=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var i=d;i0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,i={},j;if(f&&a.length){e=0;for(var n=a.length;e +-1:c(f).is(e)){d.push({selector:j,elem:f});delete i[j]}}f=f.parentNode}}return d}var o=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(m,s){for(;s&&s.ownerDocument&&s!==b;){if(o?o.index(s)>-1:c(s).is(a))return s;s=s.parentNode}return null})},index:function(a){if(!a||typeof a==="string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(), +a);return this.pushStack(pa(a[0])||pa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode",d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")}, +nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);bb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e): +e;if((this.length>1||db.test(f))&&cb.test(a))e=e.reverse();return this.pushStack(e,a,Q.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===v||a.nodeType!==1||!c(a).is(d));){a.nodeType===1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!== +b&&d.push(a);return d}});var Fa=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ga=/(<([\w:]+)[^>]*?)\/>/g,eb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,Ha=/<([\w:]+)/,fb=/"},F={option:[1,""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"], +col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div
","
"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d=c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==v)return this.empty().append((this[0]&&this[0].ownerDocument||r).createTextNode(a));return c.getText(this)}, +wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this},wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length? +d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments, +false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&& +!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Fa,"").replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){qa(this,b);qa(this.find("*"),b.find("*"))}return b},html:function(a){if(a===v)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Fa,""):null;else if(typeof a==="string"&&!/ + " required> + +   + + +   + 还车日期: + + " required> + +   + + +   + 预计金额: + + +   + + +   + +   +   +   + + + + + + + +   + + + + + + + + + diff --git a/admin/student/baoxiu_edit.php b/admin/student/baoxiu_edit.php new file mode 100644 index 0000000..5697f4f --- /dev/null +++ b/admin/student/baoxiu_edit.php @@ -0,0 +1,81 @@ + + + + + + + + + + + + +
+ + +
添加订单
+
+ + + + + + + + +
  + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
 车牌号: 
 报修原因: 
    
+
+
+
 
+
+ + diff --git a/admin/student/baoxiu_order.php b/admin/student/baoxiu_order.php new file mode 100644 index 0000000..d3151dc --- /dev/null +++ b/admin/student/baoxiu_order.php @@ -0,0 +1,65 @@ + $cars_id, + 'content' => "'".addslashes($_POST['content'])."'" +); +db_add('baoxiu',$insert_arr); + + +function diffBetweenTwoDays ($day1, $day2) +{ + $second1 = strtotime($day1); + $second2 = strtotime($day2); + + if ($second1 < $second2) { + $tmp = $second2; + $second2 = $second1; + $second1 = $tmp; + } + return ($second1 - $second2) / 86400; +} +?> + + +

报修成功
本次借车:
开始借车时间:
还车时间:
共扣除金额:

+ + diff --git a/admin/student/base.php b/admin/student/base.php new file mode 100644 index 0000000..3db1a9d --- /dev/null +++ b/admin/student/base.php @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/admin/student/index.php b/admin/student/index.php new file mode 100644 index 0000000..eb906e0 --- /dev/null +++ b/admin/student/index.php @@ -0,0 +1,19 @@ + + + + + +<?php echo $CONFIG["webname"];?> + + + + + + + + +<body> +</body> + \ No newline at end of file diff --git a/admin/student/left.php b/admin/student/left.php new file mode 100644 index 0000000..7223815 --- /dev/null +++ b/admin/student/left.php @@ -0,0 +1,67 @@ + + + + + +无标题文档 + + + + + + + + + +
系统管理
+ +
+ +
+
+ 管理信息 +
+ +
+
+ 缴纳押金 +
+ +
+
+ 租赁信息 +
+ +
+ + +
+ + \ No newline at end of file diff --git a/admin/student/main.php b/admin/student/main.php new file mode 100644 index 0000000..5ee78aa --- /dev/null +++ b/admin/student/main.php @@ -0,0 +1,48 @@ + + + + + + +<?php echo $CONFIG["webname"];?> + + + + + +
+ 位置: + +
+ +
+ + + +
+ 欢迎来到用户中心, + +
+ +
+
+ + \ No newline at end of file diff --git a/admin/student/map.php b/admin/student/map.php new file mode 100644 index 0000000..729f2f3 --- /dev/null +++ b/admin/student/map.php @@ -0,0 +1,57 @@ + + + + +

点击车辆可以直接租赁

+
+ + + + \ No newline at end of file diff --git a/admin/student/orders.php b/admin/student/orders.php new file mode 100644 index 0000000..3e9128e --- /dev/null +++ b/admin/student/orders.php @@ -0,0 +1,105 @@ +$list["page"]*1){ + $page = $list["page"]; + } + $Page = new PageWeb($list["total"],$list["page_size"], "title=".$_REQUEST["title"]."&status=".$_REQUEST["status"], $page); + $page_show = $Page->show(); +?> + + + + + + + + + + + +
+ + +
订单管理
+
+ + + + + + + + + +
  + + + +
+
+ + + "/> + +
+
 
  + + + +
+ + + + + + + + + + + + + + + + + + + +
编号车牌号提车时间还车时间金额操作
+ + 使用中 + 报修 + +
+
+ + + + +
+
 
+
+ + diff --git a/admin/student/over_order.php b/admin/student/over_order.php new file mode 100644 index 0000000..aa14315 --- /dev/null +++ b/admin/student/over_order.php @@ -0,0 +1,59 @@ + + +

还车成功
本次借车:
开始借车时间:
还车时间:
共扣除金额:

+ + diff --git a/admin/student/password.php b/admin/student/password.php new file mode 100644 index 0000000..9a2d429 --- /dev/null +++ b/admin/student/password.php @@ -0,0 +1,157 @@ + + + + + + + + + + + + + +
+ + +
修改资料
+
+ + + + + + + + +
  + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 * 学号:" readonly> 
 密码: +  
 * 姓名:"> 
 * 手机:"> 
  班级:"> 
 * 性别: +  
  头像上传:" height="50" width="50"/> 
    
+
+
+
 
+
+ + \ No newline at end of file diff --git a/admin/student/stu_jieche.php b/admin/student/stu_jieche.php new file mode 100644 index 0000000..ecc3d57 --- /dev/null +++ b/admin/student/stu_jieche.php @@ -0,0 +1,173 @@ +$v){ + $category_list[$v['id']] = $v['title']; +} + +$tb_name = "cars"; +$where_sql = " status='正常' "; +if ($_REQUEST["title"]) { + $where_sql .= " and title like '%". $_REQUEST["title"] ."%' "; +} + +if ($_REQUEST["categoryid"]) { + $where_sql .= " and categoryid =". $_REQUEST["categoryid"] ." "; +} +$page = $_REQUEST["page"]?$_REQUEST["page"]:1; +$list = db_get_page("select * from $tb_name where $where_sql order by id desc", $page,11); +if ($page*1>$list["page"]*1){ + $page = $list["page"]; +} +$Page = new PageWeb($list["total"],$list["page_size"], "title=".$_REQUEST["title"]."&categoryid=".$_REQUEST["categoryid"], $page); +$page_show = $Page->show(); +?> + + + + +
+ + + + + + + + + +
+ + +
车辆管理
+
+ + + + + + + + + +
  + + + +
+
+ + "/> + +
+
 
  + + + +
+ + + + + + + + + + + + + + + + + + + + + +
编号车牌号车龄颜色品牌状态操作
+ 位置 + 下单 +
+
+ + + + +
+
 
+
+ +
+
+
+ + + + + + \ No newline at end of file diff --git a/admin/student/top.php b/admin/student/top.php new file mode 100644 index 0000000..bdfd3ea --- /dev/null +++ b/admin/student/top.php @@ -0,0 +1,43 @@ + + + + + +无标题文档 + + + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ + \ No newline at end of file diff --git a/admin/student/yajin_add.php b/admin/student/yajin_add.php new file mode 100644 index 0000000..f20e948 --- /dev/null +++ b/admin/student/yajin_add.php @@ -0,0 +1,80 @@ + + + + + + + + + + + + +
+ + +
缴纳押金
+
+ + + + + + + + +
  + + + + +
+
+ + + + + + + + + + + + + + + + +
 添加金额: + +  
  
+
+
+
 
+
+ + \ No newline at end of file diff --git a/admin/studentdel.php b/admin/studentdel.php new file mode 100644 index 0000000..cd04aed --- /dev/null +++ b/admin/studentdel.php @@ -0,0 +1,14 @@ + \ No newline at end of file diff --git a/admin/style/jquery.js b/admin/style/jquery.js new file mode 100644 index 0000000..b1ae21d --- /dev/null +++ b/admin/style/jquery.js @@ -0,0 +1,19 @@ +/* + * jQuery JavaScript Library v1.3.2 + * http://jquery.com/ + * + * Copyright (c) 2009 John Resig + * Dual licensed under the MIT and GPL licenses. + * http://docs.jquery.com/License + * + * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009) + * Revision: 6246 + */ +(function(){var l=this,g,y=l.jQuery,p=l.$,o=l.jQuery=l.$=function(E,F){return new o.fn.init(E,F)},D=/^[^<]*(<(.|\s)+>)[^>]*$|^#([\w-]+)$/,f=/^.[^:#\[\.,]*$/;o.fn=o.prototype={init:function(E,H){E=E||document;if(E.nodeType){this[0]=E;this.length=1;this.context=E;return this}if(typeof E==="string"){var G=D.exec(E);if(G&&(G[1]||!H)){if(G[1]){E=o.clean([G[1]],H)}else{var I=document.getElementById(G[3]);if(I&&I.id!=G[3]){return o().find(E)}var F=o(I||[]);F.context=document;F.selector=E;return F}}else{return o(H).find(E)}}else{if(o.isFunction(E)){return o(document).ready(E)}}if(E.selector&&E.context){this.selector=E.selector;this.context=E.context}return this.setArray(o.isArray(E)?E:o.makeArray(E))},selector:"",jquery:"1.3.2",size:function(){return this.length},get:function(E){return E===g?Array.prototype.slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.context;if(H==="find"){G.selector=this.selector+(this.selector?" ":"")+E}else{if(H){G.selector=this.selector+"."+H+"("+E+")"}}return G},setArray:function(E){this.length=0;Array.prototype.push.apply(this,E);return this},each:function(F,E){return o.each(this,F,E)},index:function(E){return o.inArray(E&&E.jquery?E[0]:E,this)},attr:function(F,H,G){var E=F;if(typeof F==="string"){if(H===g){return this[0]&&o[G||"attr"](this[0],F)}else{E={};E[F]=H}}return this.each(function(I){for(F in E){o.attr(G?this.style:this,F,o.prop(this,E[F],G,I,F))}})},css:function(E,F){if((E=="width"||E=="height")&&parseFloat(F)<0){F=g}return this.attr(E,F,"curCSS")},text:function(F){if(typeof F!=="object"&&F!=null){return this.empty().append((this[0]&&this[0].ownerDocument||document).createTextNode(F))}var E="";o.each(F||this,function(){o.each(this.childNodes,function(){if(this.nodeType!=8){E+=this.nodeType!=1?this.nodeValue:o.fn.text([this])}})});return E},wrapAll:function(E){if(this[0]){var F=o(E,this[0].ownerDocument).clone();if(this[0].parentNode){F.insertBefore(this[0])}F.map(function(){var G=this;while(G.firstChild){G=G.firstChild}return G}).append(this)}return this},wrapInner:function(E){return this.each(function(){o(this).contents().wrapAll(E)})},wrap:function(E){return this.each(function(){o(this).wrapAll(E)})},append:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.appendChild(E)}})},prepend:function(){return this.domManip(arguments,true,function(E){if(this.nodeType==1){this.insertBefore(E,this.firstChild)}})},before:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this)})},after:function(){return this.domManip(arguments,false,function(E){this.parentNode.insertBefore(E,this.nextSibling)})},end:function(){return this.prevObject||o([])},push:[].push,sort:[].sort,splice:[].splice,find:function(E){if(this.length===1){var F=this.pushStack([],"find",E);F.length=0;o.find(E,this[0],F);return F}else{return this.pushStack(o.unique(o.map(this,function(G){return o.find(E,G)})),"find",E)}},clone:function(G){var E=this.map(function(){if(!o.support.noCloneEvent&&!o.isXMLDoc(this)){var I=this.outerHTML;if(!I){var J=this.ownerDocument.createElement("div");J.appendChild(this.cloneNode(true));I=J.innerHTML}return o.clean([I.replace(/ jQuery\d+="(?:\d+|null)"/g,"").replace(/^\s*/,"")])[0]}else{return this.cloneNode(true)}});if(G===true){var H=this.find("*").andSelf(),F=0;E.find("*").andSelf().each(function(){if(this.nodeName!==H[F].nodeName){return}var I=o.data(H[F],"events");for(var K in I){for(var J in I[K]){o.event.add(this,K,I[K][J],I[K][J].data)}}F++})}return E},filter:function(E){return this.pushStack(o.isFunction(E)&&o.grep(this,function(G,F){return E.call(G,F)})||o.multiFilter(E,o.grep(this,function(F){return F.nodeType===1})),"filter",E)},closest:function(E){var G=o.expr.match.POS.test(E)?o(E):null,F=0;return this.map(function(){var H=this;while(H&&H.ownerDocument){if(G?G.index(H)>-1:o(H).is(E)){o.data(H,"closest",F);return H}H=H.parentNode;F++}})},not:function(E){if(typeof E==="string"){if(f.test(E)){return this.pushStack(o.multiFilter(E,this,true),"not",E)}else{E=o.multiFilter(E,this)}}var F=E.length&&E[E.length-1]!==g&&!E.nodeType;return this.filter(function(){return F?o.inArray(this,E)<0:this!=E})},add:function(E){return this.pushStack(o.unique(o.merge(this.get(),typeof E==="string"?o(E):o.makeArray(E))))},is:function(E){return !!E&&o.multiFilter(E,this).length>0},hasClass:function(E){return !!E&&this.is("."+E)},val:function(K){if(K===g){var E=this[0];if(E){if(o.nodeName(E,"option")){return(E.attributes.value||{}).specified?E.value:E.text}if(o.nodeName(E,"select")){var I=E.selectedIndex,L=[],M=E.options,H=E.type=="select-one";if(I<0){return null}for(var F=H?I:0,J=H?I+1:M.length;F=0||o.inArray(this.name,K)>=0)}else{if(o.nodeName(this,"select")){var N=o.makeArray(K);o("option",this).each(function(){this.selected=(o.inArray(this.value,N)>=0||o.inArray(this.text,N)>=0)});if(!N.length){this.selectedIndex=-1}}else{this.value=K}}})},html:function(E){return E===g?(this[0]?this[0].innerHTML.replace(/ jQuery\d+="(?:\d+|null)"/g,""):null):this.empty().append(E)},replaceWith:function(E){return this.after(E).remove()},eq:function(E){return this.slice(E,+E+1)},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments),"slice",Array.prototype.slice.call(arguments).join(","))},map:function(E){return this.pushStack(o.map(this,function(G,F){return E.call(G,F,G)}))},andSelf:function(){return this.add(this.prevObject)},domManip:function(J,M,L){if(this[0]){var I=(this[0].ownerDocument||this[0]).createDocumentFragment(),F=o.clean(J,(this[0].ownerDocument||this[0]),I),H=I.firstChild;if(H){for(var G=0,E=this.length;G1||G>0?I.cloneNode(true):I)}}if(F){o.each(F,z)}}return this;function K(N,O){return M&&o.nodeName(N,"table")&&o.nodeName(O,"tr")?(N.getElementsByTagName("tbody")[0]||N.appendChild(N.ownerDocument.createElement("tbody"))):N}}};o.fn.init.prototype=o.fn;function z(E,F){if(F.src){o.ajax({url:F.src,async:false,dataType:"script"})}else{o.globalEval(F.text||F.textContent||F.innerHTML||"")}if(F.parentNode){F.parentNode.removeChild(F)}}function e(){return +new Date}o.extend=o.fn.extend=function(){var J=arguments[0]||{},H=1,I=arguments.length,E=false,G;if(typeof J==="boolean"){E=J;J=arguments[1]||{};H=2}if(typeof J!=="object"&&!o.isFunction(J)){J={}}if(I==H){J=this;--H}for(;H-1}},swap:function(H,G,I){var E={};for(var F in G){E[F]=H.style[F];H.style[F]=G[F]}I.call(H);for(var F in G){H.style[F]=E[F]}},css:function(H,F,J,E){if(F=="width"||F=="height"){var L,G={position:"absolute",visibility:"hidden",display:"block"},K=F=="width"?["Left","Right"]:["Top","Bottom"];function I(){L=F=="width"?H.offsetWidth:H.offsetHeight;if(E==="border"){return}o.each(K,function(){if(!E){L-=parseFloat(o.curCSS(H,"padding"+this,true))||0}if(E==="margin"){L+=parseFloat(o.curCSS(H,"margin"+this,true))||0}else{L-=parseFloat(o.curCSS(H,"border"+this+"Width",true))||0}})}if(H.offsetWidth!==0){I()}else{o.swap(H,G,I)}return Math.max(0,Math.round(L))}return o.curCSS(H,F,J)},curCSS:function(I,F,G){var L,E=I.style;if(F=="opacity"&&!o.support.opacity){L=o.attr(E,"opacity");return L==""?"1":L}if(F.match(/float/i)){F=w}if(!G&&E&&E[F]){L=E[F]}else{if(q.getComputedStyle){if(F.match(/float/i)){F="float"}F=F.replace(/([A-Z])/g,"-$1").toLowerCase();var M=q.getComputedStyle(I,null);if(M){L=M.getPropertyValue(F)}if(F=="opacity"&&L==""){L="1"}}else{if(I.currentStyle){var J=F.replace(/\-(\w)/g,function(N,O){return O.toUpperCase()});L=I.currentStyle[F]||I.currentStyle[J];if(!/^\d+(px)?$/i.test(L)&&/^\d/.test(L)){var H=E.left,K=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;E.left=L||0;L=E.pixelLeft+"px";E.left=H;I.runtimeStyle.left=K}}}}return L},clean:function(F,K,I){K=K||document;if(typeof K.createElement==="undefined"){K=K.ownerDocument||K[0]&&K[0].ownerDocument||document}if(!I&&F.length===1&&typeof F[0]==="string"){var H=/^<(\w+)\s*\/?>$/.exec(F[0]);if(H){return[K.createElement(H[1])]}}var G=[],E=[],L=K.createElement("div");o.each(F,function(P,S){if(typeof S==="number"){S+=""}if(!S){return}if(typeof S==="string"){S=S.replace(/(<(\w+)[^>]*?)\/>/g,function(U,V,T){return T.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i)?U:V+">"});var O=S.replace(/^\s+/,"").substring(0,10).toLowerCase();var Q=!O.indexOf("",""]||!O.indexOf("",""]||O.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!O.indexOf("",""]||(!O.indexOf("",""]||!O.indexOf("",""]||!o.support.htmlSerialize&&[1,"div
","
"]||[0,"",""];L.innerHTML=Q[1]+S+Q[2];while(Q[0]--){L=L.lastChild}if(!o.support.tbody){var R=/"&&!R?L.childNodes:[];for(var M=N.length-1;M>=0;--M){if(o.nodeName(N[M],"tbody")&&!N[M].childNodes.length){N[M].parentNode.removeChild(N[M])}}}if(!o.support.leadingWhitespace&&/^\s/.test(S)){L.insertBefore(K.createTextNode(S.match(/^\s*/)[0]),L.firstChild)}S=o.makeArray(L.childNodes)}if(S.nodeType){G.push(S)}else{G=o.merge(G,S)}});if(I){for(var J=0;G[J];J++){if(o.nodeName(G[J],"script")&&(!G[J].type||G[J].type.toLowerCase()==="text/javascript")){E.push(G[J].parentNode?G[J].parentNode.removeChild(G[J]):G[J])}else{if(G[J].nodeType===1){G.splice.apply(G,[J+1,0].concat(o.makeArray(G[J].getElementsByTagName("script"))))}I.appendChild(G[J])}}return E}return G},attr:function(J,G,K){if(!J||J.nodeType==3||J.nodeType==8){return g}var H=!o.isXMLDoc(J),L=K!==g;G=H&&o.props[G]||G;if(J.tagName){var F=/href|src|style/.test(G);if(G=="selected"&&J.parentNode){J.parentNode.selectedIndex}if(G in J&&H&&!F){if(L){if(G=="type"&&o.nodeName(J,"input")&&J.parentNode){throw"type property can't be changed"}J[G]=K}if(o.nodeName(J,"form")&&J.getAttributeNode(G)){return J.getAttributeNode(G).nodeValue}if(G=="tabIndex"){var I=J.getAttributeNode("tabIndex");return I&&I.specified?I.value:J.nodeName.match(/(button|input|object|select|textarea)/i)?0:J.nodeName.match(/^(a|area)$/i)&&J.href?0:g}return J[G]}if(!o.support.style&&H&&G=="style"){return o.attr(J.style,"cssText",K)}if(L){J.setAttribute(G,""+K)}var E=!o.support.hrefNormalized&&H&&F?J.getAttribute(G,2):J.getAttribute(G);return E===null?g:E}if(!o.support.opacity&&G=="opacity"){if(L){J.zoom=1;J.filter=(J.filter||"").replace(/alpha\([^)]*\)/,"")+(parseInt(K)+""=="NaN"?"":"alpha(opacity="+K*100+")")}return J.filter&&J.filter.indexOf("opacity=")>=0?(parseFloat(J.filter.match(/opacity=([^)]*)/)[1])/100)+"":""}G=G.replace(/-([a-z])/ig,function(M,N){return N.toUpperCase()});if(L){J[G]=K}return J[G]},trim:function(E){return(E||"").replace(/^\s+|\s+$/g,"")},makeArray:function(G){var E=[];if(G!=null){var F=G.length;if(F==null||typeof G==="string"||o.isFunction(G)||G.setInterval){E[0]=G}else{while(F){E[--F]=G[F]}}}return E},inArray:function(G,H){for(var E=0,F=H.length;E0?this.clone(true):this).get();o.fn[F].apply(o(L[K]),I);J=J.concat(I)}return this.pushStack(J,E,G)}});o.each({removeAttr:function(E){o.attr(this,E,"");if(this.nodeType==1){this.removeAttribute(E)}},addClass:function(E){o.className.add(this,E)},removeClass:function(E){o.className.remove(this,E)},toggleClass:function(F,E){if(typeof E!=="boolean"){E=!o.className.has(this,F)}o.className[E?"add":"remove"](this,F)},remove:function(E){if(!E||o.filter(E,[this]).length){o("*",this).add([this]).each(function(){o.event.remove(this);o.removeData(this)});if(this.parentNode){this.parentNode.removeChild(this)}}},empty:function(){o(this).children().remove();while(this.firstChild){this.removeChild(this.firstChild)}}},function(E,F){o.fn[E]=function(){return this.each(F,arguments)}});function j(E,F){return E[0]&&parseInt(o.curCSS(E[0],F,true),10)||0}var h="jQuery"+e(),v=0,A={};o.extend({cache:{},data:function(F,E,G){F=F==l?A:F;var H=F[h];if(!H){H=F[h]=++v}if(E&&!o.cache[H]){o.cache[H]={}}if(G!==g){o.cache[H][E]=G}return E?o.cache[H][E]:H},removeData:function(F,E){F=F==l?A:F;var H=F[h];if(E){if(o.cache[H]){delete o.cache[H][E];E="";for(E in o.cache[H]){break}if(!E){o.removeData(F)}}}else{try{delete F[h]}catch(G){if(F.removeAttribute){F.removeAttribute(h)}}delete o.cache[H]}},queue:function(F,E,H){if(F){E=(E||"fx")+"queue";var G=o.data(F,E);if(!G||o.isArray(H)){G=o.data(F,E,o.makeArray(H))}else{if(H){G.push(H)}}}return G},dequeue:function(H,G){var E=o.queue(H,G),F=E.shift();if(!G||G==="fx"){F=E[0]}if(F!==g){F.call(H)}}});o.fn.extend({data:function(E,G){var H=E.split(".");H[1]=H[1]?"."+H[1]:"";if(G===g){var F=this.triggerHandler("getData"+H[1]+"!",[H[0]]);if(F===g&&this.length){F=o.data(this[0],E)}return F===g&&H[1]?this.data(H[0]):F}else{return this.trigger("setData"+H[1]+"!",[H[0],G]).each(function(){o.data(this,E,G)})}},removeData:function(E){return this.each(function(){o.removeData(this,E)})},queue:function(E,F){if(typeof E!=="string"){F=E;E="fx"}if(F===g){return o.queue(this[0],E)}return this.each(function(){var G=o.queue(this,E,F);if(E=="fx"&&G.length==1){G[0].call(this)}})},dequeue:function(E){return this.each(function(){o.dequeue(this,E)})}}); +/* + * Sizzle CSS Selector Engine - v0.9.3 + * Copyright 2009, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * More information: http://sizzlejs.com/ + */ +(function(){var R=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?/g,L=0,H=Object.prototype.toString;var F=function(Y,U,ab,ac){ab=ab||[];U=U||document;if(U.nodeType!==1&&U.nodeType!==9){return[]}if(!Y||typeof Y!=="string"){return ab}var Z=[],W,af,ai,T,ad,V,X=true;R.lastIndex=0;while((W=R.exec(Y))!==null){Z.push(W[1]);if(W[2]){V=RegExp.rightContext;break}}if(Z.length>1&&M.exec(Y)){if(Z.length===2&&I.relative[Z[0]]){af=J(Z[0]+Z[1],U)}else{af=I.relative[Z[0]]?[U]:F(Z.shift(),U);while(Z.length){Y=Z.shift();if(I.relative[Y]){Y+=Z.shift()}af=J(Y,af)}}}else{var ae=ac?{expr:Z.pop(),set:E(ac)}:F.find(Z.pop(),Z.length===1&&U.parentNode?U.parentNode:U,Q(U));af=F.filter(ae.expr,ae.set);if(Z.length>0){ai=E(af)}else{X=false}while(Z.length){var ah=Z.pop(),ag=ah;if(!I.relative[ah]){ah=""}else{ag=Z.pop()}if(ag==null){ag=U}I.relative[ah](ai,ag,Q(U))}}if(!ai){ai=af}if(!ai){throw"Syntax error, unrecognized expression: "+(ah||Y)}if(H.call(ai)==="[object Array]"){if(!X){ab.push.apply(ab,ai)}else{if(U.nodeType===1){for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&(ai[aa]===true||ai[aa].nodeType===1&&K(U,ai[aa]))){ab.push(af[aa])}}}else{for(var aa=0;ai[aa]!=null;aa++){if(ai[aa]&&ai[aa].nodeType===1){ab.push(af[aa])}}}}}else{E(ai,ab)}if(V){F(V,U,ab,ac);if(G){hasDuplicate=false;ab.sort(G);if(hasDuplicate){for(var aa=1;aa":function(Z,U,aa){var X=typeof U==="string";if(X&&!/\W/.test(U)){U=aa?U:U.toUpperCase();for(var V=0,T=Z.length;V=0)){if(!V){T.push(Y)}}else{if(V){U[X]=false}}}}return false},ID:function(T){return T[1].replace(/\\/g,"")},TAG:function(U,T){for(var V=0;T[V]===false;V++){}return T[V]&&Q(T[V])?U[1]:U[1].toUpperCase()},CHILD:function(T){if(T[1]=="nth"){var U=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(T[2]=="even"&&"2n"||T[2]=="odd"&&"2n+1"||!/\D/.test(T[2])&&"0n+"+T[2]||T[2]);T[2]=(U[1]+(U[2]||1))-0;T[3]=U[3]-0}T[0]=L++;return T},ATTR:function(X,U,V,T,Y,Z){var W=X[1].replace(/\\/g,"");if(!Z&&I.attrMap[W]){X[1]=I.attrMap[W]}if(X[2]==="~="){X[4]=" "+X[4]+" "}return X},PSEUDO:function(X,U,V,T,Y){if(X[1]==="not"){if(X[3].match(R).length>1||/^\w/.test(X[3])){X[3]=F(X[3],null,null,U)}else{var W=F.filter(X[3],U,V,true^Y);if(!V){T.push.apply(T,W)}return false}}else{if(I.match.POS.test(X[0])||I.match.CHILD.test(X[0])){return true}}return X},POS:function(T){T.unshift(true);return T}},filters:{enabled:function(T){return T.disabled===false&&T.type!=="hidden"},disabled:function(T){return T.disabled===true},checked:function(T){return T.checked===true},selected:function(T){T.parentNode.selectedIndex;return T.selected===true},parent:function(T){return !!T.firstChild},empty:function(T){return !T.firstChild},has:function(V,U,T){return !!F(T[3],V).length},header:function(T){return/h\d/i.test(T.nodeName)},text:function(T){return"text"===T.type},radio:function(T){return"radio"===T.type},checkbox:function(T){return"checkbox"===T.type},file:function(T){return"file"===T.type},password:function(T){return"password"===T.type},submit:function(T){return"submit"===T.type},image:function(T){return"image"===T.type},reset:function(T){return"reset"===T.type},button:function(T){return"button"===T.type||T.nodeName.toUpperCase()==="BUTTON"},input:function(T){return/input|select|textarea|button/i.test(T.nodeName)}},setFilters:{first:function(U,T){return T===0},last:function(V,U,T,W){return U===W.length-1},even:function(U,T){return T%2===0},odd:function(U,T){return T%2===1},lt:function(V,U,T){return UT[3]-0},nth:function(V,U,T){return T[3]-0==U},eq:function(V,U,T){return T[3]-0==U}},filter:{PSEUDO:function(Z,V,W,aa){var U=V[1],X=I.filters[U];if(X){return X(Z,W,V,aa)}else{if(U==="contains"){return(Z.textContent||Z.innerText||"").indexOf(V[3])>=0}else{if(U==="not"){var Y=V[3];for(var W=0,T=Y.length;W=0)}}},ID:function(U,T){return U.nodeType===1&&U.getAttribute("id")===T},TAG:function(U,T){return(T==="*"&&U.nodeType===1)||U.nodeName===T},CLASS:function(U,T){return(" "+(U.className||U.getAttribute("class"))+" ").indexOf(T)>-1},ATTR:function(Y,W){var V=W[1],T=I.attrHandle[V]?I.attrHandle[V](Y):Y[V]!=null?Y[V]:Y.getAttribute(V),Z=T+"",X=W[2],U=W[4];return T==null?X==="!=":X==="="?Z===U:X==="*="?Z.indexOf(U)>=0:X==="~="?(" "+Z+" ").indexOf(U)>=0:!U?Z&&T!==false:X==="!="?Z!=U:X==="^="?Z.indexOf(U)===0:X==="$="?Z.substr(Z.length-U.length)===U:X==="|="?Z===U||Z.substr(0,U.length+1)===U+"-":false},POS:function(X,U,V,Y){var T=U[2],W=I.setFilters[T];if(W){return W(X,V,U,Y)}}}};var M=I.match.POS;for(var O in I.match){I.match[O]=RegExp(I.match[O].source+/(?![^\[]*\])(?![^\(]*\))/.source)}var E=function(U,T){U=Array.prototype.slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.documentElement.childNodes)}catch(N){E=function(X,W){var U=W||[];if(H.call(X)==="[object Array]"){Array.prototype.push.apply(U,X)}else{if(typeof X.length==="number"){for(var V=0,T=X.length;V";var T=document.documentElement;T.insertBefore(U,T.firstChild);if(!!document.getElementById(V)){I.find.ID=function(X,Y,Z){if(typeof Y.getElementById!=="undefined"&&!Z){var W=Y.getElementById(X[1]);return W?W.id===X[1]||typeof W.getAttributeNode!=="undefined"&&W.getAttributeNode("id").nodeValue===X[1]?[W]:g:[]}};I.filter.ID=function(Y,W){var X=typeof Y.getAttributeNode!=="undefined"&&Y.getAttributeNode("id");return Y.nodeType===1&&X&&X.nodeValue===W}}T.removeChild(U)})();(function(){var T=document.createElement("div");T.appendChild(document.createComment(""));if(T.getElementsByTagName("*").length>0){I.find.TAG=function(U,Y){var X=Y.getElementsByTagName(U[1]);if(U[1]==="*"){var W=[];for(var V=0;X[V];V++){if(X[V].nodeType===1){W.push(X[V])}}X=W}return X}}T.innerHTML="";if(T.firstChild&&typeof T.firstChild.getAttribute!=="undefined"&&T.firstChild.getAttribute("href")!=="#"){I.attrHandle.href=function(U){return U.getAttribute("href",2)}}})();if(document.querySelectorAll){(function(){var T=F,U=document.createElement("div");U.innerHTML="

";if(U.querySelectorAll&&U.querySelectorAll(".TEST").length===0){return}F=function(Y,X,V,W){X=X||document;if(!W&&X.nodeType===9&&!Q(X)){try{return E(X.querySelectorAll(Y),V)}catch(Z){}}return T(Y,X,V,W)};F.find=T.find;F.filter=T.filter;F.selectors=T.selectors;F.matches=T.matches})()}if(document.getElementsByClassName&&document.documentElement.getElementsByClassName){(function(){var T=document.createElement("div");T.innerHTML="
";if(T.getElementsByClassName("e").length===0){return}T.lastChild.className="e";if(T.getElementsByClassName("e").length===1){return}I.order.splice(1,0,"CLASS");I.find.CLASS=function(U,V,W){if(typeof V.getElementsByClassName!=="undefined"&&!W){return V.getElementsByClassName(U[1])}}})()}function P(U,Z,Y,ad,aa,ac){var ab=U=="previousSibling"&&!ac;for(var W=0,V=ad.length;W0){X=T;break}}}T=T[U]}ad[W]=X}}}var K=document.compareDocumentPosition?function(U,T){return U.compareDocumentPosition(T)&16}:function(U,T){return U!==T&&(U.contains?U.contains(T):true)};var Q=function(T){return T.nodeType===9&&T.documentElement.nodeName!=="HTML"||!!T.ownerDocument&&Q(T.ownerDocument)};var J=function(T,aa){var W=[],X="",Y,V=aa.nodeType?[aa]:aa;while((Y=I.match.PSEUDO.exec(T))){X+=Y[0];T=T.replace(I.match.PSEUDO,"")}T=I.relative[T]?T+"*":T;for(var Z=0,U=V.length;Z0||T.offsetHeight>0};F.selectors.filters.animated=function(T){return o.grep(o.timers,function(U){return T===U.elem}).length};o.multiFilter=function(V,T,U){if(U){V=":not("+V+")"}return F.matches(V,T)};o.dir=function(V,U){var T=[],W=V[U];while(W&&W!=document){if(W.nodeType==1){T.push(W)}W=W[U]}return T};o.nth=function(X,T,V,W){T=T||1;var U=0;for(;X;X=X[V]){if(X.nodeType==1&&++U==T){break}}return X};o.sibling=function(V,U){var T=[];for(;V;V=V.nextSibling){if(V.nodeType==1&&V!=U){T.push(V)}}return T};return;l.Sizzle=F})();o.event={add:function(I,F,H,K){if(I.nodeType==3||I.nodeType==8){return}if(I.setInterval&&I!=l){I=l}if(!H.guid){H.guid=this.guid++}if(K!==g){var G=H;H=this.proxy(G);H.data=K}var E=o.data(I,"events")||o.data(I,"events",{}),J=o.data(I,"handle")||o.data(I,"handle",function(){return typeof o!=="undefined"&&!o.event.triggered?o.event.handle.apply(arguments.callee.elem,arguments):g});J.elem=I;o.each(F.split(/\s+/),function(M,N){var O=N.split(".");N=O.shift();H.type=O.slice().sort().join(".");var L=E[N];if(o.event.specialAll[N]){o.event.specialAll[N].setup.call(I,K,O)}if(!L){L=E[N]={};if(!o.event.special[N]||o.event.special[N].setup.call(I,K,O)===false){if(I.addEventListener){I.addEventListener(N,J,false)}else{if(I.attachEvent){I.attachEvent("on"+N,J)}}}}L[H.guid]=H;o.event.global[N]=true});I=null},guid:1,global:{},remove:function(K,H,J){if(K.nodeType==3||K.nodeType==8){return}var G=o.data(K,"events"),F,E;if(G){if(H===g||(typeof H==="string"&&H.charAt(0)==".")){for(var I in G){this.remove(K,I+(H||""))}}else{if(H.type){J=H.handler;H=H.type}o.each(H.split(/\s+/),function(M,O){var Q=O.split(".");O=Q.shift();var N=RegExp("(^|\\.)"+Q.slice().sort().join(".*\\.")+"(\\.|$)");if(G[O]){if(J){delete G[O][J.guid]}else{for(var P in G[O]){if(N.test(G[O][P].type)){delete G[O][P]}}}if(o.event.specialAll[O]){o.event.specialAll[O].teardown.call(K,Q)}for(F in G[O]){break}if(!F){if(!o.event.special[O]||o.event.special[O].teardown.call(K,Q)===false){if(K.removeEventListener){K.removeEventListener(O,o.data(K,"handle"),false)}else{if(K.detachEvent){K.detachEvent("on"+O,o.data(K,"handle"))}}}F=null;delete G[O]}}})}for(F in G){break}if(!F){var L=o.data(K,"handle");if(L){L.elem=null}o.removeData(K,"events");o.removeData(K,"handle")}}},trigger:function(I,K,H,E){var G=I.type||I;if(!E){I=typeof I==="object"?I[h]?I:o.extend(o.Event(G),I):o.Event(G);if(G.indexOf("!")>=0){I.type=G=G.slice(0,-1);I.exclusive=true}if(!H){I.stopPropagation();if(this.global[G]){o.each(o.cache,function(){if(this.events&&this.events[G]){o.event.trigger(I,K,this.handle.elem)}})}}if(!H||H.nodeType==3||H.nodeType==8){return g}I.result=g;I.target=H;K=o.makeArray(K);K.unshift(I)}I.currentTarget=H;var J=o.data(H,"handle");if(J){J.apply(H,K)}if((!H[G]||(o.nodeName(H,"a")&&G=="click"))&&H["on"+G]&&H["on"+G].apply(H,K)===false){I.result=false}if(!E&&H[G]&&!I.isDefaultPrevented()&&!(o.nodeName(H,"a")&&G=="click")){this.triggered=true;try{H[G]()}catch(L){}}this.triggered=false;if(!I.isPropagationStopped()){var F=H.parentNode||H.ownerDocument;if(F){o.event.trigger(I,K,F,true)}}},handle:function(K){var J,E;K=arguments[0]=o.event.fix(K||l.event);K.currentTarget=this;var L=K.type.split(".");K.type=L.shift();J=!L.length&&!K.exclusive;var I=RegExp("(^|\\.)"+L.slice().sort().join(".*\\.")+"(\\.|$)");E=(o.data(this,"events")||{})[K.type];for(var G in E){var H=E[G];if(J||I.test(H.type)){K.handler=H;K.data=H.data;var F=H.apply(this,arguments);if(F!==g){K.result=F;if(F===false){K.preventDefault();K.stopPropagation()}}if(K.isImmediatePropagationStopped()){break}}}},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "),fix:function(H){if(H[h]){return H}var F=H;H=o.Event(F);for(var G=this.props.length,J;G;){J=this.props[--G];H[J]=F[J]}if(!H.target){H.target=H.srcElement||document}if(H.target.nodeType==3){H.target=H.target.parentNode}if(!H.relatedTarget&&H.fromElement){H.relatedTarget=H.fromElement==H.target?H.toElement:H.fromElement}if(H.pageX==null&&H.clientX!=null){var I=document.documentElement,E=document.body;H.pageX=H.clientX+(I&&I.scrollLeft||E&&E.scrollLeft||0)-(I.clientLeft||0);H.pageY=H.clientY+(I&&I.scrollTop||E&&E.scrollTop||0)-(I.clientTop||0)}if(!H.which&&((H.charCode||H.charCode===0)?H.charCode:H.keyCode)){H.which=H.charCode||H.keyCode}if(!H.metaKey&&H.ctrlKey){H.metaKey=H.ctrlKey}if(!H.which&&H.button){H.which=(H.button&1?1:(H.button&2?3:(H.button&4?2:0)))}return H},proxy:function(F,E){E=E||function(){return F.apply(this,arguments)};E.guid=F.guid=F.guid||E.guid||this.guid++;return E},special:{ready:{setup:B,teardown:function(){}}},specialAll:{live:{setup:function(E,F){o.event.add(this,F[0],c)},teardown:function(G){if(G.length){var E=0,F=RegExp("(^|\\.)"+G[0]+"(\\.|$)");o.each((o.data(this,"events").live||{}),function(){if(F.test(this.type)){E++}});if(E<1){o.event.remove(this,G[0],c)}}}}}};o.Event=function(E){if(!this.preventDefault){return new o.Event(E)}if(E&&E.type){this.originalEvent=E;this.type=E.type}else{this.type=E}this.timeStamp=e();this[h]=true};function k(){return false}function u(){return true}o.Event.prototype={preventDefault:function(){this.isDefaultPrevented=u;var E=this.originalEvent;if(!E){return}if(E.preventDefault){E.preventDefault()}E.returnValue=false},stopPropagation:function(){this.isPropagationStopped=u;var E=this.originalEvent;if(!E){return}if(E.stopPropagation){E.stopPropagation()}E.cancelBubble=true},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=u;this.stopPropagation()},isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k};var a=function(F){var E=F.relatedTarget;while(E&&E!=this){try{E=E.parentNode}catch(G){E=this}}if(E!=this){F.type=F.data;o.event.handle.apply(this,arguments)}};o.each({mouseover:"mouseenter",mouseout:"mouseleave"},function(F,E){o.event.special[E]={setup:function(){o.event.add(this,F,a,E)},teardown:function(){o.event.remove(this,F,a)}}});o.fn.extend({bind:function(F,G,E){return F=="unload"?this.one(F,G,E):this.each(function(){o.event.add(this,F,E||G,E&&G)})},one:function(G,H,F){var E=o.event.proxy(F||H,function(I){o(this).unbind(I,E);return(F||H).apply(this,arguments)});return this.each(function(){o.event.add(this,G,E,F&&H)})},unbind:function(F,E){return this.each(function(){o.event.remove(this,F,E)})},trigger:function(E,F){return this.each(function(){o.event.trigger(E,F,this)})},triggerHandler:function(E,G){if(this[0]){var F=o.Event(E);F.preventDefault();F.stopPropagation();o.event.trigger(F,G,this[0]);return F.result}},toggle:function(G){var E=arguments,F=1;while(F=0){var E=G.slice(I,G.length);G=G.slice(0,I)}var H="GET";if(J){if(o.isFunction(J)){K=J;J=null}else{if(typeof J==="object"){J=o.param(J);H="POST"}}}var F=this;o.ajax({url:G,type:H,dataType:"html",data:J,complete:function(M,L){if(L=="success"||L=="notmodified"){F.html(E?o("
").append(M.responseText.replace(//g,"")).find(E):M.responseText)}if(K){F.each(K,[M.responseText,L,M])}}});return this},serialize:function(){return o.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?o.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password|search/i.test(this.type))}).map(function(E,F){var G=o(this).val();return G==null?null:o.isArray(G)?o.map(G,function(I,H){return{name:F.name,value:I}}):{name:F.name,value:G}}).get()}});o.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(E,F){o.fn[F]=function(G){return this.bind(F,G)}});var r=e();o.extend({get:function(E,G,H,F){if(o.isFunction(G)){H=G;G=null}return o.ajax({type:"GET",url:E,data:G,success:H,dataType:F})},getScript:function(E,F){return o.get(E,null,F,"script")},getJSON:function(E,F,G){return o.get(E,F,G,"json")},post:function(E,G,H,F){if(o.isFunction(G)){H=G;G={}}return o.ajax({type:"POST",url:E,data:G,success:H,dataType:F})},ajaxSetup:function(E){o.extend(o.ajaxSettings,E)},ajaxSettings:{url:location.href,global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:function(){return l.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest()},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},ajax:function(M){M=o.extend(true,M,o.extend(true,{},o.ajaxSettings,M));var W,F=/=\?(&|$)/g,R,V,G=M.type.toUpperCase();if(M.data&&M.processData&&typeof M.data!=="string"){M.data=o.param(M.data)}if(M.dataType=="jsonp"){if(G=="GET"){if(!M.url.match(F)){M.url+=(M.url.match(/\?/)?"&":"?")+(M.jsonp||"callback")+"=?"}}else{if(!M.data||!M.data.match(F)){M.data=(M.data?M.data+"&":"")+(M.jsonp||"callback")+"=?"}}M.dataType="json"}if(M.dataType=="json"&&(M.data&&M.data.match(F)||M.url.match(F))){W="jsonp"+r++;if(M.data){M.data=(M.data+"").replace(F,"="+W+"$1")}M.url=M.url.replace(F,"="+W+"$1");M.dataType="script";l[W]=function(X){V=X;I();L();l[W]=g;try{delete l[W]}catch(Y){}if(H){H.removeChild(T)}}}if(M.dataType=="script"&&M.cache==null){M.cache=false}if(M.cache===false&&G=="GET"){var E=e();var U=M.url.replace(/(\?|&)_=.*?(&|$)/,"$1_="+E+"$2");M.url=U+((U==M.url)?(M.url.match(/\?/)?"&":"?")+"_="+E:"")}if(M.data&&G=="GET"){M.url+=(M.url.match(/\?/)?"&":"?")+M.data;M.data=null}if(M.global&&!o.active++){o.event.trigger("ajaxStart")}var Q=/^(\w+:)?\/\/([^\/?#]+)/.exec(M.url);if(M.dataType=="script"&&G=="GET"&&Q&&(Q[1]&&Q[1]!=location.protocol||Q[2]!=location.host)){var H=document.getElementsByTagName("head")[0];var T=document.createElement("script");T.src=M.url;if(M.scriptCharset){T.charset=M.scriptCharset}if(!W){var O=false;T.onload=T.onreadystatechange=function(){if(!O&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){O=true;I();L();T.onload=T.onreadystatechange=null;H.removeChild(T)}}}H.appendChild(T);return g}var K=false;var J=M.xhr();if(M.username){J.open(G,M.url,M.async,M.username,M.password)}else{J.open(G,M.url,M.async)}try{if(M.data){J.setRequestHeader("Content-Type",M.contentType)}if(M.ifModified){J.setRequestHeader("If-Modified-Since",o.lastModified[M.url]||"Thu, 01 Jan 1970 00:00:00 GMT")}J.setRequestHeader("X-Requested-With","XMLHttpRequest");J.setRequestHeader("Accept",M.dataType&&M.accepts[M.dataType]?M.accepts[M.dataType]+", */*":M.accepts._default)}catch(S){}if(M.beforeSend&&M.beforeSend(J,M)===false){if(M.global&&!--o.active){o.event.trigger("ajaxStop")}J.abort();return false}if(M.global){o.event.trigger("ajaxSend",[J,M])}var N=function(X){if(J.readyState==0){if(P){clearInterval(P);P=null;if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}}else{if(!K&&J&&(J.readyState==4||X=="timeout")){K=true;if(P){clearInterval(P);P=null}R=X=="timeout"?"timeout":!o.httpSuccess(J)?"error":M.ifModified&&o.httpNotModified(J,M.url)?"notmodified":"success";if(R=="success"){try{V=o.httpData(J,M.dataType,M)}catch(Z){R="parsererror"}}if(R=="success"){var Y;try{Y=J.getResponseHeader("Last-Modified")}catch(Z){}if(M.ifModified&&Y){o.lastModified[M.url]=Y}if(!W){I()}}else{o.handleError(M,J,R)}L();if(X){J.abort()}if(M.async){J=null}}}};if(M.async){var P=setInterval(N,13);if(M.timeout>0){setTimeout(function(){if(J&&!K){N("timeout")}},M.timeout)}}try{J.send(M.data)}catch(S){o.handleError(M,J,null,S)}if(!M.async){N()}function I(){if(M.success){M.success(V,R)}if(M.global){o.event.trigger("ajaxSuccess",[J,M])}}function L(){if(M.complete){M.complete(J,R)}if(M.global){o.event.trigger("ajaxComplete",[J,M])}if(M.global&&!--o.active){o.event.trigger("ajaxStop")}}return J},handleError:function(F,H,E,G){if(F.error){F.error(H,E,G)}if(F.global){o.event.trigger("ajaxError",[H,F,G])}},active:0,httpSuccess:function(F){try{return !F.status&&location.protocol=="file:"||(F.status>=200&&F.status<300)||F.status==304||F.status==1223}catch(E){}return false},httpNotModified:function(G,E){try{var H=G.getResponseHeader("Last-Modified");return G.status==304||H==o.lastModified[E]}catch(F){}return false},httpData:function(J,H,G){var F=J.getResponseHeader("content-type"),E=H=="xml"||!H&&F&&F.indexOf("xml")>=0,I=E?J.responseXML:J.responseText;if(E&&I.documentElement.tagName=="parsererror"){throw"parsererror"}if(G&&G.dataFilter){I=G.dataFilter(I,H)}if(typeof I==="string"){if(H=="script"){o.globalEval(I)}if(H=="json"){I=l["eval"]("("+I+")")}}return I},param:function(E){var G=[];function H(I,J){G[G.length]=encodeURIComponent(I)+"="+encodeURIComponent(J)}if(o.isArray(E)||E.jquery){o.each(E,function(){H(this.name,this.value)})}else{for(var F in E){if(o.isArray(E[F])){o.each(E[F],function(){H(F,this)})}else{H(F,o.isFunction(E[F])?E[F]():E[F])}}}return G.join("&").replace(/%20/g,"+")}});var m={},n,d=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];function t(F,E){var G={};o.each(d.concat.apply([],d.slice(0,E)),function(){G[this]=F});return G}o.fn.extend({show:function(J,L){if(J){return this.animate(t("show",3),J,L)}else{for(var H=0,F=this.length;H").appendTo("body");K=I.css("display");if(K==="none"){K="block"}I.remove();m[G]=K}o.data(this[H],"olddisplay",K)}}for(var H=0,F=this.length;H=0;H--){if(G[H].elem==this){if(E){G[H](true)}G.splice(H,1)}}});if(!E){this.dequeue()}return this}});o.each({slideDown:t("show",1),slideUp:t("hide",1),slideToggle:t("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(E,F){o.fn[E]=function(G,H){return this.animate(F,G,H)}});o.extend({speed:function(G,H,F){var E=typeof G==="object"?G:{complete:F||!F&&H||o.isFunction(G)&&G,duration:G,easing:F&&H||H&&!o.isFunction(H)&&H};E.duration=o.fx.off?0:typeof E.duration==="number"?E.duration:o.fx.speeds[E.duration]||o.fx.speeds._default;E.old=E.complete;E.complete=function(){if(E.queue!==false){o(this).dequeue()}if(o.isFunction(E.old)){E.old.call(this)}};return E},easing:{linear:function(G,H,E,F){return E+F*G},swing:function(G,H,E,F){return((-Math.cos(G*Math.PI)/2)+0.5)*F+E}},timers:[],fx:function(F,E,G){this.options=E;this.elem=F;this.prop=G;if(!E.orig){E.orig={}}}});o.fx.prototype={update:function(){if(this.options.step){this.options.step.call(this.elem,this.now,this)}(o.fx.step[this.prop]||o.fx.step._default)(this);if((this.prop=="height"||this.prop=="width")&&this.elem.style){this.elem.style.display="block"}},cur:function(F){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]}var E=parseFloat(o.css(this.elem,this.prop,F));return E&&E>-10000?E:parseFloat(o.curCSS(this.elem,this.prop))||0},custom:function(I,H,G){this.startTime=e();this.start=I;this.end=H;this.unit=G||this.unit||"px";this.now=this.start;this.pos=this.state=0;var E=this;function F(J){return E.step(J)}F.elem=this.elem;if(F()&&o.timers.push(F)&&!n){n=setInterval(function(){var K=o.timers;for(var J=0;J=this.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var E=true;for(var F in this.options.curAnim){if(this.options.curAnim[F]!==true){E=false}}if(E){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(o.css(this.elem,"display")=="none"){this.elem.style.display="block"}}if(this.options.hide){o(this.elem).hide()}if(this.options.hide||this.options.show){for(var I in this.options.curAnim){o.attr(this.elem.style,I,this.options.orig[I])}}this.options.complete.call(this.elem)}return false}else{var J=G-this.startTime;this.state=J/this.options.duration;this.pos=o.easing[this.options.easing||(o.easing.swing?"swing":"linear")](this.state,J,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update()}return true}};o.extend(o.fx,{speeds:{slow:600,fast:200,_default:400},step:{opacity:function(E){o.attr(E.elem.style,"opacity",E.now)},_default:function(E){if(E.elem.style&&E.elem.style[E.prop]!=null){E.elem.style[E.prop]=E.now+E.unit}else{E.elem[E.prop]=E.now}}}});if(document.documentElement.getBoundingClientRect){o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}var G=this[0].getBoundingClientRect(),J=this[0].ownerDocument,F=J.body,E=J.documentElement,L=E.clientTop||F.clientTop||0,K=E.clientLeft||F.clientLeft||0,I=G.top+(self.pageYOffset||o.boxModel&&E.scrollTop||F.scrollTop)-L,H=G.left+(self.pageXOffset||o.boxModel&&E.scrollLeft||F.scrollLeft)-K;return{top:I,left:H}}}else{o.fn.offset=function(){if(!this[0]){return{top:0,left:0}}if(this[0]===this[0].ownerDocument.body){return o.offset.bodyOffset(this[0])}o.offset.initialized||o.offset.initialize();var J=this[0],G=J.offsetParent,F=J,O=J.ownerDocument,M,H=O.documentElement,K=O.body,L=O.defaultView,E=L.getComputedStyle(J,null),N=J.offsetTop,I=J.offsetLeft;while((J=J.parentNode)&&J!==K&&J!==H){M=L.getComputedStyle(J,null);N-=J.scrollTop,I-=J.scrollLeft;if(J===G){N+=J.offsetTop,I+=J.offsetLeft;if(o.offset.doesNotAddBorder&&!(o.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(J.tagName))){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}F=G,G=J.offsetParent}if(o.offset.subtractsBorderForOverflowNotVisible&&M.overflow!=="visible"){N+=parseInt(M.borderTopWidth,10)||0,I+=parseInt(M.borderLeftWidth,10)||0}E=M}if(E.position==="relative"||E.position==="static"){N+=K.offsetTop,I+=K.offsetLeft}if(E.position==="fixed"){N+=Math.max(H.scrollTop,K.scrollTop),I+=Math.max(H.scrollLeft,K.scrollLeft)}return{top:N,left:I}}}o.offset={initialize:function(){if(this.initialized){return}var L=document.body,F=document.createElement("div"),H,G,N,I,M,E,J=L.style.marginTop,K='
';M={position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"};for(E in M){F.style[E]=M[E]}F.innerHTML=K;L.insertBefore(F,L.firstChild);H=F.firstChild,G=H.firstChild,I=H.nextSibling.firstChild.firstChild;this.doesNotAddBorder=(G.offsetTop!==5);this.doesAddBorderForTableAndCells=(I.offsetTop===5);H.style.overflow="hidden",H.style.position="relative";this.subtractsBorderForOverflowNotVisible=(G.offsetTop===-5);L.style.marginTop="1px";this.doesNotIncludeMarginInBodyOffset=(L.offsetTop===0);L.style.marginTop=J;L.removeChild(F);this.initialized=true},bodyOffset:function(E){o.offset.initialized||o.offset.initialize();var G=E.offsetTop,F=E.offsetLeft;if(o.offset.doesNotIncludeMarginInBodyOffset){G+=parseInt(o.curCSS(E,"marginTop",true),10)||0,F+=parseInt(o.curCSS(E,"marginLeft",true),10)||0}return{top:G,left:F}}};o.fn.extend({position:function(){var I=0,H=0,F;if(this[0]){var G=this.offsetParent(),J=this.offset(),E=/^body|html$/i.test(G[0].tagName)?{top:0,left:0}:G.offset();J.top-=j(this,"marginTop");J.left-=j(this,"marginLeft");E.top+=j(G,"borderTopWidth");E.left+=j(G,"borderLeftWidth");F={top:J.top-E.top,left:J.left-E.left}}return F},offsetParent:function(){var E=this[0].offsetParent||document.body;while(E&&(!/^body|html$/i.test(E.tagName)&&o.css(E,"position")=="static")){E=E.offsetParent}return o(E)}});o.each(["Left","Top"],function(F,E){var G="scroll"+E;o.fn[G]=function(H){if(!this[0]){return null}return H!==g?this.each(function(){this==l||this==document?l.scrollTo(!F?H:o(l).scrollLeft(),F?H:o(l).scrollTop()):this[G]=H}):this[0]==l||this[0]==document?self[F?"pageYOffset":"pageXOffset"]||o.boxModel&&document.documentElement[G]||document.body[G]:this[0][G]}});o.each(["Height","Width"],function(I,G){var E=I?"Left":"Top",H=I?"Right":"Bottom",F=G.toLowerCase();o.fn["inner"+G]=function(){return this[0]?o.css(this[0],F,false,"padding"):null};o.fn["outer"+G]=function(K){return this[0]?o.css(this[0],F,false,K?"margin":"border"):null};var J=G.toLowerCase();o.fn[J]=function(K){return this[0]==l?document.compatMode=="CSS1Compat"&&document.documentElement["client"+G]||document.body["client"+G]:this[0]==document?Math.max(document.documentElement["client"+G],document.body["scroll"+G],document.documentElement["scroll"+G],document.body["offset"+G],document.documentElement["offset"+G]):K===g?(this.length?o.css(this[0],J):null):this.css(J,typeof K==="string"?K:K+"px")}})})(); \ No newline at end of file diff --git a/admin/style/righttop.gif b/admin/style/righttop.gif new file mode 100644 index 0000000..9c5cbf0 Binary files /dev/null and b/admin/style/righttop.gif differ diff --git a/admin/style/skin.css b/admin/style/skin.css new file mode 100644 index 0000000..d3cfc84 --- /dev/null +++ b/admin/style/skin.css @@ -0,0 +1,85 @@ +* {margin:0; padding:0;font-family:Arial,"Arial Black","微软雅黑","宋体";} +ul {list-style:none;} +a {text-decoration:none; color:#000;} +table {border-collapse:collapse;} +table.cont {font-size:13px;letter-spacing:1px;border:1px solid #E1E5EE;} +table.tr_color tr.d:hover {background-color:#E4F0DF;} +table.cont tr td {height:20px;padding:5px 0;border-bottom:1px solid #E1E5EE;} +table.cont tr th {height:20px;padding:5px 0;border-bottom:1px solid #E1E5EE;background-color:#E7F1FE;} +table.cont input.text {height:20px;width:150px;} +table.cont select option {height:20px;width:120px;} +table.cont .btn {width:50px;} +body {font-size:12px;color:#000;background-color:#ffffff;} +.red{ color:#F00} +#container {width:182px;} +h1 {font-size:15px;width:182px;cursor:pointer;height:30px;line-height:20px;} +h1 a {display:block;width:182px;height:30px;moz-outline-style:none;line-height:30px;text-align:center;} +.content{width:182px;height:26px;} +.topplace{height: 40px; +background: url(righttop.gif) repeat-x;} +.RM ul {list-style-type:none;display:block;} +.RM li {line-height:26px;color:#333333;height:26px;width:182px;} +.RM {width:182px;left:0px;top:0px;clip:rect(0px,0px,0px,0px);} +.RM a:link,.RM a:visited {line-height:26px;color:#333333;) no-repeat;height:26px;width:182px;display:block;text-align:center;overflow:hidden;} +.RM a:hover {font-weight:bold;color:#006600;) no-repeat;} +.title {margin:0 5px;width:125px; font-size:15px;line-height:28px;font-weight:bold;display:block;text-indent:15px;padding-top:5px;float:left;} +.left_bt {line-height:25px;font-weight:bold;color:#333333;} +.left_txt {line-height:25px;color:#666666;} +#news ul {margin-left:20px;} +#news ul li {height:25px;line-height:25px;font-size:15px;} +#left_cont {width:50%;} +#left_cont ul {float:right;margin-top:10px;text-align:left;font-size:1.2em;} +#left_cont ul li {height:30px;} +#right_cont #form tr {width:200px;height:40px;font-size:15px;} +#right_cont input {height:22px;border:1px solid #CCCCCC;} +#right_cont .bt input {height:25px;width:50px;text-align:center;padding-bottom:2px;} +#login_bot {height:50px;color:#B9E8F5;font-size:15px;text-align:center;background-color:#1D3647;} +textarea {width:200px;height:60px;resize:none;} +/*****分页*****/ +.pagination { +text-align: center; margin-left:0px; margin-right:0px; +margin: 20px 0; +font-family: "Roboto", Helvetica, Arial, sans-serif; +border-radius: 0; +} +.pagination > li { + display: inline; +} +.pagination > li > a, +.pagination > li > span { + padding: 6px 12px; + line-height: 1.42857143; + text-decoration: none; + color: #0d71af; + background-color: #ffffff; + border: 1px solid #dddddd; +} +.pagination > li > a:hover, +.pagination > li > span:hover, +.pagination > li > a:focus, +.pagination > li > span:focus { + color: #0f659b; + background-color: #eeeeee; + border-color: #dddddd; +} +.pagination > .active > a, +.pagination > .active > span, +.pagination > .active > a:hover, +.pagination > .active > span:hover, +.pagination > .active > a:focus, +.pagination > .active > span:focus { + z-index: 2; + color: #ffffff; + background-color: #0d71af; + border-color: #0d71af; +} +.pagination > .disabled > span, +.pagination > .disabled > span:hover, +.pagination > .disabled > span:focus, +.pagination > .disabled > a, +.pagination > .disabled > a:hover, +.pagination > .disabled > a:focus { + color: #999999; + background-color: #ffffff; + border-color: #dddddd; +} \ No newline at end of file diff --git a/admin/style/sort.js b/admin/style/sort.js new file mode 100644 index 0000000..1837fee --- /dev/null +++ b/admin/style/sort.js @@ -0,0 +1,48 @@ +var flag = true; +function sortTable(sort_row){ + /* + * 思路: + * 1,排序就需要数组。获取需要参与排序的行对象数组。 + * 2,对行数组中的每一个行的年龄单元格的数据进行比较,并完成行对象在数组中的位置置换。 + * 3,将排好序的数组重新添加回表格。 + */ + var oTabNode = document.getElementById("info"); + var collTrNodes = oTabNode.rows; + //定义一个临时容器,存储需要排序行对象。 + var trArr = []; + //遍历原行集合,并将需要排序的行对象存储到临时容器中。 + for(var x=1; x=0; x--) { + trArr[x].parentNode.appendChild(trArr[x]); + } + flag = true; + } +// alert("over"); +} +function mySort(arr,sort_row){ + for(var x=0; xparseInt(arr[y].cells[sort_row].innerHTML)){ + var temp = arr[x]; + arr[x] = arr[y]; + arr[y] = temp; +// arr[x].swapNode(arr[y]); + } + } + } +} \ No newline at end of file diff --git a/admin/top.php b/admin/top.php new file mode 100644 index 0000000..513ba61 --- /dev/null +++ b/admin/top.php @@ -0,0 +1,43 @@ + + + + + +无标题文档 + + + + + + + + + +
+ +
+
+ + +
+ +
+ +
+ + diff --git a/admin/user_edit.php b/admin/user_edit.php new file mode 100644 index 0000000..67e9e39 --- /dev/null +++ b/admin/user_edit.php @@ -0,0 +1,183 @@ + + + + + + + + + + + + + +
+ + +
添加/修改学生
+
+ + + + + + + + +
  + + + + +
+
+ " /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 * 学号:" > 
 密码: +  
 * 姓名:"> 
 * 电话:"> 
 班级:"> 
 * 性别: +  
  头像上传:" height="50" width="50"/> 
    
+
+
+
 
+
+ + \ No newline at end of file diff --git a/admin/user_list.php b/admin/user_list.php new file mode 100644 index 0000000..ad7833e --- /dev/null +++ b/admin/user_list.php @@ -0,0 +1,88 @@ +$list["page"]*1){ + $page = $list["page"]; + } + $Page = new PageWeb($list["total"],$list["page_size"], "studentid=".$_REQUEST["studentid"], $page); + $page_show = $Page->show(); + +?> + + + + + + + + + + + +
+ + +
学生列表
+
+ + + + + + + + + +
  + + + +
+
+ "/> + +
+
 
  + + + +
+ + + + + + + + + + + + + + + + + + + +
编号学生学号所在班级手机姓名操作
修改资料  删除
+
+ + + + +
+
 
+
+ + \ No newline at end of file diff --git a/admin/yajin_edit.php b/admin/yajin_edit.php new file mode 100644 index 0000000..103ff32 --- /dev/null +++ b/admin/yajin_edit.php @@ -0,0 +1,82 @@ + + + + + + + + + + + + + +
+ + +
修改押金
+
+ + + + + + + + +
  + + + + +
+
+ " /> + + + + + + + + + + + + + + + + +
 * 金额:" required="required">填写数字 
    
+
+
+
 
+
+ + diff --git a/admin/yajin_list.php b/admin/yajin_list.php new file mode 100644 index 0000000..f50db3e --- /dev/null +++ b/admin/yajin_list.php @@ -0,0 +1,96 @@ +$list["page"]*1){ + $page = $list["page"]; + } + $Page = new PageWeb($list["total"],$list["page_size"], "", $page); + $page_show = $Page->show(); + +?> + + + + + + + + + + + +
+ + +
押金列表
+
+ + + + + + + + + +
  + + + +
+
+ "/> + +
+
 
  + + + +
+ + + + + + + + + + + + + + + + + + + + + + + +
编号学生学号金额手机姓名操作
修改押金  删除
已收取押金:     
+
+ + + + +
+
 
+
+ + \ No newline at end of file diff --git a/baidumap.html b/baidumap.html new file mode 100644 index 0000000..793d401 --- /dev/null +++ b/baidumap.html @@ -0,0 +1,119 @@ + + + + + + +ٶȵͼAPIԶͼ + + + + + + + +
+ + + \ No newline at end of file diff --git a/common/PageWeb.class.php b/common/PageWeb.class.php new file mode 100644 index 0000000..e9e1141 --- /dev/null +++ b/common/PageWeb.class.php @@ -0,0 +1,128 @@ +'条记录','prev'=>'上一页','next'=>'下一页','first'=>'第一页','last'=>'最后一页','theme'=>'第 %nowPage% 页 / 共 %totalPage% 页 %upPage% %downPage% %first% %prePage% %linkPage% %nextPage% %end%'); + protected $config = array('header'=>'条记录','prev'=>'上一页','next'=>'下一页','first'=>'第一页','last'=>'最后一页','theme'=>'
    %upPage% %linkPage% %downPage%
'); + + /** + +---------------------------------------------------------- + * 架构函数 + +---------------------------------------------------------- + * @access public + +---------------------------------------------------------- + * @param array $totalRows 总的记录数 + * @param array $listRows 每页显示记录数 + * @param array $parameter 分页跳转的参数 + +---------------------------------------------------------- + */ + public function __construct($totalRows,$listRows,$parameter='',$page) { + $this->totalRows = $totalRows; + $this->parameter = $parameter; + $this->rollPage = 5; + $this->listRows = !empty($listRows)?$listRows:5; + $this->totalPages = ceil($this->totalRows/$this->listRows); //总页数 + $this->coolPages = ceil($this->totalPages/$this->rollPage); + $this->nowPage = !empty($page)?$page:1; + if(!empty($this->totalPages) && $this->nowPage>$this->totalPages) { + $this->nowPage = $this->totalPages; + } + $this->firstRow = $this->listRows*($this->nowPage-1); + } + + public function setConfig($name,$value) { + if(isset($this->config[$name])) { + $this->config[$name] = $value; + } + } + + /** + +---------------------------------------------------------- + * 分页显示输出 + +---------------------------------------------------------- + * @access public + +---------------------------------------------------------- + */ + public function show() { + if(0 == $this->totalRows) return ''; + $p = "page"; + $nowCoolPage = ceil($this->nowPage/$this->rollPage); + $url = $_SERVER['REQUEST_URI'].(strpos($_SERVER['REQUEST_URI'],'?')?'':"?").$this->parameter; + $parse = parse_url($url); + if(isset($parse['query'])) { + parse_str($parse['query'],$params); + unset($params[$p]); + $url = $parse['path'].'?'.http_build_query($params); + } + //上下翻页字符串 + $upRow = $this->nowPage-1; + $downRow = $this->nowPage+1; + if ($upRow>0){ + $upPage="
  • <<
  • "; + }else{ + $upPage=""; + } + + if ($downRow <= $this->totalPages){ + $downPage="
  • >>
  • "; + }else{ + $downPage=""; + } + // << < > >> + if($nowCoolPage == 1){ + $theFirst = ""; + $prePage = ""; + }else{ + $preRow = $this->nowPage-$this->rollPage; + $prePage = "
  • 上".$this->rollPage."页"; + $theFirst = "".首页.""; + } + if($nowCoolPage == $this->coolPages){ + $nextPage = ""; + $theEnd=""; + }else{ + $nextRow = $this->nowPage+$this->rollPage; + $theEndRow = $this->totalPages; + $nextPage = "下".$this->rollPage."页"; + $theEnd = "".尾页.""; + } + // 1 2 3 4 5 + $linkPage = ""; + for($i=1;$i<=$this->rollPage;$i++){ + $page=($nowCoolPage-1)*$this->rollPage+$i; + if($page!=$this->nowPage){ + if($page<=$this->totalPages){ + $linkPage .= " 
  • ".$page."
  • "; + }else{ + break; + } + }else{ + if($this->totalPages != 1){ + $linkPage .= " 
  • ".$page."
  • "; + + } + } + } + $pageStr = str_replace( + array('%header%','%nowPage%','%totalRow%','%totalPage%','%upPage%','%downPage%','%first%','%prePage%','%linkPage%','%nextPage%','%end%'), + array($this->config['header'],$this->nowPage,$this->totalRows,$this->totalPages,$upPage,$downPage,$theFirst,$prePage,$linkPage,$nextPage,$theEnd),$this->config['theme']); + return $pageStr; + } + +} +?> \ No newline at end of file diff --git a/common/func_db.php b/common/func_db.php new file mode 100644 index 0000000..a6f8ac3 --- /dev/null +++ b/common/func_db.php @@ -0,0 +1,174 @@ +0) { + $strleft=''; + $strright=''; + foreach($dataA as $key=>$val) { + $strleft.=','.$key; + $strright.=','.$val; + } + $strleft='insert into '.$table.' ('.ltrim($strleft,',').')'; + $strright=' values ('.ltrim($strright,',').')'; + $sql=$strleft.$strright; + //echo $sql; + //die; + db_query($sql); + + return db_insert_id(); + } + } + /* + 功能:修改数据 + */ + function db_mdf($table,$dataA,$id) { + if($table && count($dataA)>0 && $id) { + $setsql=''; + $wheresql=''; + foreach($dataA as $key=>$val) { + $setsql.=', '.$key.'='.$val; + } + $setsql = ltrim($setsql,','); + $wheresql = " id in(". $id .")"; + + $sql='update '.$table.' set '.$setsql; + $sql.=' where '.$wheresql; + db_query($sql); + //echo $sql; + } + } + /* + 功能:取出单个数据 + */ + function db_get_val($table,$id,$field) { + $result=db_query("select $field from $table where id=$id"); + $rs = mysql_fetch_array($result); + //echo "select $field from $table where id=$id"; + return $rs[$field]; + } + /* + 功能:删除数据 + */ + function db_del($table,$id) { + if($table && $id) { + $wheresql=' id in('. $id .')'; + $sql="delete from `".$table."` where ".$wheresql; + db_query($sql); + //echo $sql; + } + } + /* + 功能:删除参数数据 + */ + function db_dela($table,$where) { + if($table && $where) { + $sql="delete from `".$table."` where ".$where; + //echo $sql; + //die; + db_query($sql); + } + } + /* + 功能:调出一条信息 + */ + function db_get_row($sql) { + $result=db_query($sql); + $rs = mysql_fetch_array($result); + return $rs; + } + /* + 功能:调出多条信息数组 + */ + function db_get_all($sql) { + $result=db_query($sql); + $rs = array(); + while( $row = mysql_fetch_array($result)){ + $rs[] = $row; + } + return $rs; + } + /* + 功能:获取分页数据 + */ + function db_get_page($sql,$page,$page_size) { + $page = $page*1?$page:1; + $num_sql = "select count(1) as num from (".$sql.") t"; + $rsNum = db_get_row($num_sql); + + $total = $rsNum["num"]; + + if (ceil($total/$page_size)<$page){ + $page = ceil($total/$page_size); + } + $start = ($page-1)*$page_size; + + $rs_sql = "select * from (".$sql.") t limit $start,$page_size"; + $rsData = db_get_all($rs_sql); + $pageA = array(); + $pageA["page"] = $page; + $pageA["page_size"] = $page_size; + $pageA["total"] = $total; + $pageA["data"] = $rsData; + return $pageA; + } + + /* + 功能:执行sql + */ + function db_query($sql,$dbconn='') + { + Return mysql_query($sql); + } + /* + 功能:返回sql值 数组 + */ + function db_fetch_array($result) + { + Return mysql_fetch_array($result); + } + /* + 功能:返回行数 + */ + function db_num_rows($result) + { + Return mysql_num_rows($result); + } + /* + 功能:返回新插入的ID + */ + function db_insert_id() + { + Return mysql_insert_id(); + } + /* + 功能:关闭数据库 + */ + function db_close() + { + mysql_close(); + } + + /* + 功能:返回前一次 MySQL 操作所影响的记录行数 + */ + function db_affected_rows() + { + Return mysql_affected_rows(); + } + +?> \ No newline at end of file diff --git a/common/function.php b/common/function.php new file mode 100644 index 0000000..031b648 --- /dev/null +++ b/common/function.php @@ -0,0 +1,54 @@ +alert('请登录');location.href='".__BASE__."/admin/login.php';"; + } + } + + function check_login(){ + if(!$_SESSION['adminid']) { + header("Location:".__BASE__."/admin/login.php"); + } + } + function check_loginthe1(){ + if(!$_SESSION['eachersid']) { + header("Location:".__BASE__."/admin/login.php"); + }else{ + if($_SESSION['type2']!="维修人员"){ + header("Location:".__BASE__."/admin/login.php"); + } + } + } + //js弹出框 + function alertMsg($msg) + { + echo ""; + } + function goBakMsg($msg) + { + echo ""; + } + + function goBakLoadFun($msg,$fun) + { + echo ""; + } + function goBakLoad($msg) + { + echo ""; + } + function urlMsg($msg,$url) + { + echo ""; + } + function parentUrlMsg($msg,$url) + { + echo ""; + } + + function delMsg($msg) + { + echo "return confirm('".$msg."')"; + } +?> \ No newline at end of file diff --git a/common/init.php b/common/init.php new file mode 100644 index 0000000..7079616 --- /dev/null +++ b/common/init.php @@ -0,0 +1,20 @@ + \ No newline at end of file diff --git a/config.php b/config.php new file mode 100644 index 0000000..e711a70 --- /dev/null +++ b/config.php @@ -0,0 +1,12 @@ +"127.0.0.1", //数据库地址 + 'db_name'=>"danche", //数据库名成 + 'db_user'=>"root", //数据库用户名 + 'db_pass'=>"root", //数据库密码 + 'url'=>"http://localhost/danche", //网站根目录地址 + 'webname'=>"校园共享单车管理系统", //网站名称 + + ); +?> \ No newline at end of file diff --git a/danche.sql b/danche.sql new file mode 100644 index 0000000..521a788 --- /dev/null +++ b/danche.sql @@ -0,0 +1,423 @@ +-- phpMyAdmin SQL Dump +-- version 4.8.5 +-- https://www.phpmyadmin.net/ +-- +-- 主机: localhost +-- 生成日期: 2022-11-09 13:57:01 +-- 服务器版本: 5.7.26 +-- PHP 版本: 5.6.9 + +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; + + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8mb4 */; + +-- +-- 数据库: `danche` +-- + +-- -------------------------------------------------------- + +-- +-- 表的结构 `admin` +-- + +CREATE TABLE `admin` ( + `id` int(4) NOT NULL, + `username` varchar(50) DEFAULT NULL, + `password` varchar(50) DEFAULT NULL, + `type` varchar(30) DEFAULT NULL, + `img` varchar(50) DEFAULT NULL, + `sex` varchar(10) DEFAULT NULL, + `begintime` varchar(50) DEFAULT NULL, + `desc1` varchar(200) DEFAULT NULL, + `tname` varchar(10) DEFAULT NULL, + `tel` varchar(50) DEFAULT NULL +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- 转存表中的数据 `admin` +-- + +INSERT INTO `admin` (`id`, `username`, `password`, `type`, `img`, `sex`, `begintime`, `desc1`, `tname`, `tel`) VALUES +(1, 'admin', '21232f297a57a5a743894a0e4a801fc3', '超级管理员', '0', NULL, NULL, NULL, NULL, NULL), +(15, '5861', 'e10adc3949ba59abbe56e057f20f883e', '管理员', '', '女', '20180310', '', '智者', '15366986666'), +(16, '001', 'e10adc3949ba59abbe56e057f20f883e', '管理员', NULL, '男', '20180202', '', '高馆长', '18795907369'), +(17, 'admin2', 'c84258e9c39059a89ab77d846ddab909', '管理员', '8203084.png', '男', '2000-10-09', '123', 'admin2', '13325652145'); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `baoxiu` +-- + +CREATE TABLE `baoxiu` ( + `id` int(11) NOT NULL, + `carsid` int(11) DEFAULT '0' COMMENT '车辆id', + `content` varchar(250) DEFAULT NULL COMMENT '详细', + `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, + `status` varchar(10) DEFAULT '维修中' COMMENT '状态', + `eacherid` int(11) DEFAULT '0' COMMENT '人员id' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- 转存表中的数据 `baoxiu` +-- + +INSERT INTO `baoxiu` (`id`, `carsid`, `content`, `addtime`, `status`, `eacherid`) VALUES +(5, 15, '已完成', '2018-04-13 01:40:20', '完成', 4), +(4, 13, '车座坏了,已完成修复', '2018-04-11 02:02:13', '完成', 4), +(6, 19, '二维码失效,已完成', '2018-04-13 01:41:47', '完成', 4), +(8, 23, '已修复', '2018-04-15 01:04:41', '完成', 4), +(9, 47, '车牌损坏', '2018-04-25 06:15:27', '维修中', 6), +(10, 45, '已完成', '2018-04-26 01:31:00', '完成', 4), +(11, 46, '已完成', '2018-04-26 01:36:38', '完成', 4), +(12, 44, '车座坏了', '2018-05-06 14:44:06', '维修中', 4), +(13, 48, '车把坏了', '2018-05-09 09:24:56', '维修中', 4), +(14, 53, '123', '2022-11-09 05:08:17', '维修中', 4), +(15, 39, '123', '2022-11-09 05:13:11', '维修中', 0), +(16, 54, '123', '2022-11-09 05:37:45', '完成', 8); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `cars` +-- + +CREATE TABLE `cars` ( + `id` int(11) NOT NULL, + `categoryid` int(11) DEFAULT '0' COMMENT '品牌', + `colors` varchar(50) DEFAULT NULL COMMENT '颜色', + `title` varchar(50) DEFAULT NULL COMMENT '车牌号', + `img` varchar(50) DEFAULT NULL, + `ages` varchar(11) DEFAULT NULL COMMENT '车龄', + `lat` varchar(255) NOT NULL, + `lng` varchar(255) NOT NULL, + `status` varchar(10) DEFAULT NULL COMMENT '状态' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- 转存表中的数据 `cars` +-- + +INSERT INTO `cars` (`id`, `categoryid`, `colors`, `title`, `img`, `ages`, `lat`, `lng`, `status`) VALUES +(18, 8, '红', '234611', '', '1', '', '', '正常'), +(17, 5, '橙色', '234610', '', '1', '118.709289', '32.198085', '正常'), +(16, 6, '黄色', '234609', '', '1', '118.709515', '32.203569', '正常'), +(15, 7, '白', '234608', '', '1', '118.707793', '32.199597', '正常'), +(14, 8, '红', '234607', '', '1', '118.705352', '32.20213', '正常'), +(13, 8, '红色', '234604', NULL, '1', '118.708431', '32.203546', '维修'), +(12, 5, '橙色', '234603', '', '1', '118.705888', '32.202938', '正常'), +(11, 6, '黄色', '234602', '', '1 ', '', '', '正常'), +(10, 7, '蓝白', '234601', '', '1', '118.707798', '32.205462', '正常'), +(19, 7, '白', '234612', '', '1', '118.708887', '32.199052', '正常'), +(20, 6, '黄色', '234613', '', '1', '118.713715', '32.202725', '正常'), +(21, 5, '橙色', '234614', '', '1', '118.711714', '32.202874', '正常'), +(22, 8, '红', '234615', '', '1', '118.712943', '32.200923', '正常'), +(23, 7, '白', '234616', '', '1', '118.726708', '32.202452', '正常'), +(24, 6, '黄色', '234617', '', '1', '118.708839', '32.197886', '正常'), +(25, 5, '橙色', '234618', '', '1', '118.714096', '32.206202', '正常'), +(26, 8, '红', '234619', NULL, '1', '118.711913', '32.202911', '正常'), +(27, 7, '白 ', '234620', NULL, '1', '118.707964', '32.202271', '正常'), +(28, 6, '黄色', '234621', NULL, '1', '118.708023', '32.203129', '正常'), +(29, 5, '橙色', '234622', NULL, '1', '118.70819', '32.203533', '正常'), +(30, 8, '红', '234623', NULL, '1', '118.718666', '32.204704', '正常'), +(31, 7, '白', '234624', NULL, '1', '118.716478', '32.202598', '正常'), +(32, 6, '黄色', '234625', NULL, '1', '118.714032', '32.204676', '正常'), +(33, 5, '橙色', '234626', NULL, '1', '118.724905', '32.205598', '正常'), +(34, 8, '红', '234627', NULL, '1', '118.723548', '32.206719', '正常'), +(35, 7, '白', '234628', NULL, '1', '118.713415', '32.199261', '正常'), +(36, 6, '黄色', '234629', NULL, '1', '118.716698', '32.204758', '正常'), +(37, 5, '橙色', '234630', NULL, '1', '118.719498', '32.205139', '正常'), +(38, 8, '红', '234631', NULL, '1', '118.726933', '32.203092', '正常'), +(39, 7, '白', '234632', NULL, '1', '118.708061', '32.199243', '维修'), +(40, 6, '黄色', '234633', NULL, '1', '118.719434', '32.201785', '正常'), +(41, 5, '橙色', '234634', NULL, '1', '118.727528', '32.205375', '正常'), +(42, 8, '红', '234635', NULL, '1', '118.72409', '32.207563', '正常'), +(43, 7, '白', '234636', NULL, '1', '118.706119', '32.204436', '正常'), +(44, 6, '黄色', '234637', NULL, '1', '118.714257', '32.200723', '维修'), +(45, 5, '橙色', '234638', NULL, '1', '118.712229', '32.205584', '正常'), +(46, 8, '红', '234639', NULL, '1', '118.7115', '32.200369', '借出'), +(47, 7, '白', '234640', '', '1', '118.721794', '32.203605', '维修'), +(48, 9, '蓝', '234650', NULL, '1', '118.707921', '32.204749', '维修'), +(49, 8, '红', '234651', NULL, '1', '118.70922', '32.199829', '正常'), +(50, 7, '蓝白', '234652', NULL, '1', '118.707809', '32.200977', '正常'), +(51, 6, '黄色', '234653', NULL, '1', '118.709064', '32.200024', '正常'), +(52, 5, '橙色', '234654', NULL, '1', '118.71129', '32.201463', '正常'), +(53, 9, '蓝色', '123123', '506127.png', '0', '10', '10', '维修'), +(54, 9, '蓝色', '123456', '6310857.png', '0', '10', '10', '正常'); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `category` +-- + +CREATE TABLE `category` ( + `id` int(6) NOT NULL COMMENT 'id自然编号', + `title` varchar(60) NOT NULL COMMENT '名称' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- 转存表中的数据 `category` +-- + +INSERT INTO `category` (`id`, `title`) VALUES +(8, '出行'), +(7, 'hellobike'), +(6, 'ofo'), +(5, 'mobike'), +(9, '小蓝'), +(10, '123'); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `eacher` +-- + +CREATE TABLE `eacher` ( + `id` int(4) NOT NULL, + `username` varchar(50) DEFAULT NULL, + `password` varchar(50) DEFAULT NULL, + `img` varchar(50) DEFAULT NULL, + `sex` varchar(10) DEFAULT NULL, + `begintime` varchar(50) DEFAULT NULL, + `desc1` varchar(200) DEFAULT NULL, + `tname` varchar(10) DEFAULT NULL, + `tel` varchar(50) DEFAULT NULL +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- 转存表中的数据 `eacher` +-- + +INSERT INTO `eacher` (`id`, `username`, `password`, `img`, `sex`, `begintime`, `desc1`, `tname`, `tel`) VALUES +(4, 'test01', 'e10adc3949ba59abbe56e057f20f883e', '', '男', '19800102', '', '李师傅', '157626767676'), +(6, 'binjiang02', 'e10adc3949ba59abbe56e057f20f883e', NULL, '男', '1985-04-17', '', '张师傅', '15623693212'), +(7, 'binjiang03', 'e10adc3949ba59abbe56e057f20f883e', NULL, '男', '1986-04-17', '', '庄师傅', '15745697896'), +(8, '111222', '00b7691d86d96aebd21dd9e138f90840', '1756066.png', '男', '2000-10-09', '123', '王师傅2', '13325652145'), +(9, '123123123', 'f5bb0c8de146c67b44babbf4e6584cc0', '6372479.png', '男', '2022-11-09', '123', '123', '13325652145'); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `orders` +-- + +CREATE TABLE `orders` ( + `id` int(11) NOT NULL, + `studentid` varchar(50) DEFAULT '0' COMMENT '学生id', + `carsid` int(11) DEFAULT '0' COMMENT '车辆id', + `price` decimal(11,0) DEFAULT '0' COMMENT '预计价格', + `begintime` date DEFAULT NULL COMMENT '开始时间', + `endtime` date DEFAULT NULL COMMENT '结束时间', + `addtime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间', + `status` varchar(50) DEFAULT NULL, + `carstitle` varchar(50) DEFAULT NULL COMMENT '车牌号' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- 转存表中的数据 `orders` +-- + +INSERT INTO `orders` (`id`, `studentid`, `carsid`, `price`, `begintime`, `endtime`, `addtime`, `status`, `carstitle`) VALUES +(4, '20142346085', 10, '30', '2018-04-13', '2018-04-19', '2018-04-11 02:00:24', '已归还', '234601'), +(3, '20142346085', 13, '12', '2018-04-11', '2018-04-13', '2018-04-11 01:56:37', '已归还', '234604'), +(5, '20142346084', 25, '5', '2018-04-15', '2018-04-15', '2018-04-15 00:58:08', '已归还', '234618'), +(6, '20142346085', 23, '5', '2018-04-15', '2018-04-15', '2018-04-15 01:04:18', '已归还', '234616'), +(7, '20142346085', 47, '30', '2018-04-19', '2018-04-25', '2018-04-19 13:19:59', '已归还', '234640'), +(8, '20142346085', 47, '5', '2018-04-25', '2018-04-25', '2018-04-25 05:31:41', '已归还', '234640'), +(9, '20142346085', 47, '1', '2018-04-25', '2018-04-25', '2018-04-25 05:56:38', '已归还', '234640'), +(10, '20142346085', 40, '14', '2018-04-11', '2018-04-25', '2018-04-25 05:57:23', '已归还', '234633'), +(11, '20142346085', 42, '1', '2018-04-25', '2018-04-25', '2018-04-25 06:00:32', '已归还', '234635'), +(12, '20142346085', 47, '1', '2018-04-25', '2018-04-25', '2018-04-25 06:02:56', '已归还', '234640'), +(13, '20142346001', 46, '1', '2018-04-25', '2018-04-25', '2018-04-25 12:16:29', '已归还', '234639'), +(14, '20142346001', 46, '1', '2018-04-25', '2018-04-25', '2018-04-25 12:22:13', '已归还', '234639'), +(15, '20142346001', 46, '1', '2018-04-26', '2018-04-26', '2018-04-26 00:58:26', '已归还', '234639'), +(16, '20142346001', 45, '1', '2018-04-26', '2018-04-26', '2018-04-26 01:00:40', '已归还', '234638'), +(17, '20142346001', 45, '5', '2018-04-26', '2018-04-26', '2018-04-26 01:30:01', '已归还', '234638'), +(18, '20142346001', 46, '1', '2018-04-26', '2018-04-26', '2018-04-26 01:36:07', '已归还', '234639'), +(19, '20142346085', 44, '1', '2018-05-06', '2018-05-06', '2018-05-06 14:29:18', '已归还', '234637'), +(20, '20142346001', 48, '1', '2018-05-09', '2018-05-09', '2018-05-09 09:24:29', '已归还', '2346050'), +(21, '20221108', 39, '1', '2022-11-09', '2022-11-09', '2022-11-09 05:12:20', '已归还', '234632'), +(22, '20221108', 39, '1', '2022-11-09', '2022-11-09', '2022-11-09 05:13:03', '已归还', '234632'), +(23, '20221109', 52, '1', '2022-11-09', '2022-11-09', '2022-11-09 05:36:22', '已归还', '234654'), +(24, '20221109', 46, '30', '2022-11-09', '2022-12-09', '2022-11-09 05:36:48', '借出', '234639'); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `user` +-- + +CREATE TABLE `user` ( + `id` smallint(5) UNSIGNED NOT NULL, + `studentid` varchar(64) NOT NULL COMMENT '学号', + `stuname` varchar(50) NOT NULL COMMENT '姓名', + `password` char(32) NOT NULL COMMENT '密码', + `banji` varchar(50) DEFAULT NULL COMMENT '班级', + `addtime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '注册时间', + `img` varchar(255) DEFAULT NULL COMMENT '头像', + `sex` varchar(255) DEFAULT NULL COMMENT '性别', + `status` int(2) NOT NULL DEFAULT '0' COMMENT '状态', + `tel` varchar(50) DEFAULT NULL COMMENT '电话' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- 转存表中的数据 `user` +-- + +INSERT INTO `user` (`id`, `studentid`, `stuname`, `password`, `banji`, `addtime`, `img`, `sex`, `status`, `tel`) VALUES +(3, '20142346085', 'tangjian', 'e10adc3949ba59abbe56e057f20f883e', '网络工程2班', '2018-03-10 10:14:21', '', '男', 0, '17751756937'), +(4, '20142346074', 'liuxinyan', 'e10adc3949ba59abbe56e057f20f883e', '网络工程2班', '2018-03-10 13:26:25', '', '男', 0, '18136571910'), +(5, '20142346061', 'gaoyang', 'e10adc3949ba59abbe56e057f20f883e', '网络工程2班', '2018-03-10 13:27:04', '', '男', 0, '18795907369'), +(6, '20142346100', 'zhugay', 'e10adc3949ba59abbe56e057f20f883e', '网络工程2班', '2018-03-12 02:18:43', NULL, '男', 0, '17751756951'), +(9, '20142346086', 'tangles', 'e10adc3949ba59abbe56e057f20f883e', '网络工程2班', '2018-04-15 07:27:14', NULL, '女', 0, '15478964563'), +(8, '20142346084', 'sugay', 'e10adc3949ba59abbe56e057f20f883e', '网络工程2班', '2018-04-15 00:57:21', NULL, '男', 0, '15345671234'), +(14, '123', '111', 'e10adc3949ba59abbe56e057f20f883e', '网络工程2班', '2018-04-25 07:58:56', NULL, '男', 0, '000'), +(12, '20142346001', 'bibishuo', 'e10adc3949ba59abbe56e057f20f883e', '网络工程2班', '2018-04-17 01:21:34', NULL, '男', 0, '15634566789'), +(15, '20221108', 'lisi', 'e10adc3949ba59abbe56e057f20f883e', '网络工程2班', '2022-11-09 02:44:07', NULL, '男', 0, '13325652145'), +(16, '20221107', 'lisi2', 'e10adc3949ba59abbe56e057f20f883e', '1', '2022-11-09 05:10:13', '6606667.png', '男', 0, '13325652145'), +(18, '20221109', '张三', 'c812a07d304cedbaceb66144428d6c7a', '网络工程2班', '2022-11-09 05:35:31', '2516853.png', '男', 0, '13325652145'); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `yajin` +-- + +CREATE TABLE `yajin` ( + `id` int(11) NOT NULL, + `userid` int(11) DEFAULT '0' COMMENT '学生id', + `price` decimal(11,0) NOT NULL DEFAULT '0' COMMENT '金额', + `addtime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '时间', + `studentid` varchar(50) DEFAULT NULL COMMENT '学号' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- +-- 转存表中的数据 `yajin` +-- + +INSERT INTO `yajin` (`id`, `userid`, `price`, `addtime`, `studentid`) VALUES +(3, 3, '500', '2018-03-10 10:14:52', '20142346085'), +(4, 8, '295', '2018-04-15 00:57:49', '20142346084'), +(5, 12, '349', '2018-04-25 12:15:56', '20142346001'), +(6, 15, '598', '2022-11-09 02:44:56', '20221108'), +(7, 18, '599', '2022-11-09 05:35:59', '20221109'); + +-- +-- 转储表的索引 +-- + +-- +-- 表的索引 `admin` +-- +ALTER TABLE `admin` + ADD PRIMARY KEY (`id`); + +-- +-- 表的索引 `baoxiu` +-- +ALTER TABLE `baoxiu` + ADD PRIMARY KEY (`id`); + +-- +-- 表的索引 `cars` +-- +ALTER TABLE `cars` + ADD PRIMARY KEY (`id`); + +-- +-- 表的索引 `category` +-- +ALTER TABLE `category` + ADD PRIMARY KEY (`id`); + +-- +-- 表的索引 `eacher` +-- +ALTER TABLE `eacher` + ADD PRIMARY KEY (`id`); + +-- +-- 表的索引 `orders` +-- +ALTER TABLE `orders` + ADD PRIMARY KEY (`id`); + +-- +-- 表的索引 `user` +-- +ALTER TABLE `user` + ADD PRIMARY KEY (`id`), + ADD UNIQUE KEY `account` (`studentid`); + +-- +-- 表的索引 `yajin` +-- +ALTER TABLE `yajin` + ADD PRIMARY KEY (`id`); + +-- +-- 在导出的表使用AUTO_INCREMENT +-- + +-- +-- 使用表AUTO_INCREMENT `admin` +-- +ALTER TABLE `admin` + MODIFY `id` int(4) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18; + +-- +-- 使用表AUTO_INCREMENT `baoxiu` +-- +ALTER TABLE `baoxiu` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17; + +-- +-- 使用表AUTO_INCREMENT `cars` +-- +ALTER TABLE `cars` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=55; + +-- +-- 使用表AUTO_INCREMENT `category` +-- +ALTER TABLE `category` + MODIFY `id` int(6) NOT NULL AUTO_INCREMENT COMMENT 'id自然编号', AUTO_INCREMENT=11; + +-- +-- 使用表AUTO_INCREMENT `eacher` +-- +ALTER TABLE `eacher` + MODIFY `id` int(4) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10; + +-- +-- 使用表AUTO_INCREMENT `orders` +-- +ALTER TABLE `orders` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25; + +-- +-- 使用表AUTO_INCREMENT `user` +-- +ALTER TABLE `user` + MODIFY `id` smallint(5) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19; + +-- +-- 使用表AUTO_INCREMENT `yajin` +-- +ALTER TABLE `yajin` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8; +COMMIT; + +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..d2e1beb Binary files /dev/null and b/favicon.ico differ diff --git a/index.php b/index.php new file mode 100644 index 0000000..5a59bf4 --- /dev/null +++ b/index.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/部署.txt b/部署.txt new file mode 100644 index 0000000..8523934 --- /dev/null +++ b/部署.txt @@ -0,0 +1,37 @@ +管理员 admin/admin +学生 20221109/20221109 +维修人员 111222/111222 + + +1 数据库文件 danche.sql +2 数据库配置文件 config.php +3 phpstudy常规部署即可 +4 注意config.php +'url'=>"http://localhost/danche", //网站根目录地址 +'webname'=>"校园共享单车管理系统", //网站名称 +如果修改项目名称此处需要对应 和之前的商城系统一样 + + + +此校园共享单车管理系统基于原生PHP开发,数据库mysql,前端jquery.js。系统角色分为学生,维修人员和管理员。学生注册登录后可租赁/归还/报修单车,维修人员登录后可查看维修信息等,管理员可对学生/维修人员/押金/车辆/订单/报修/车辆品牌等进行管理。可搭建在本地phpstudy环境下或云服务器。 +## 二 系统功能 +**学生** +1 注册/登录/注销 +2 个人中心 +3 缴纳押金 +4 租赁管理(车辆租赁/租赁信息/车辆地图) +**维修人员** +1 登录/注销 +2 个人中心 +3 维修管理(未完成维修/已完成维修/待修车辆地图) +**管理员** +1 登录/注销 +2 管理员管理 +3 押金管理 +4 车辆管理 +5 车辆订单 +6 报修管理 +7 车辆品牌 +8 维修员管理 +9 学生管理 +