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/mis/js/ drwxr-xr-x |
Viewing file: Select action/file-type: var jquery = jQuery.noConflict(true); jquery(document).ready(function(){ jquery('#btnClear').click(function(){ jquery('#btnClear').parents('form').find(':text,:hidden').attr('value','').end().find('select').children().removeAttr('selected').end().attr('value',''); jquery('div.error').remove(); }); jquery('.link').hover(function(){ jquery(this).addClass('hover'); },function(){ jquery(this).removeClass('hover'); }); jquery('.preSubmit').click(function(){ jquery('#s_id').attr('value',jquery(this).next(':hidden').attr('value')); jquery('#s_id').parents('form').trigger('submit'); }); jquery('input[class^="required"],select.required').blur(function(){ if(jquery(this).attr('class') == 'required-thai'){ if(/^[ก-๙ 0-9 . ( ) / -]+$/.test(this.value)) jquery(this).next('span').children('.error').remove(); }else if(jquery(this).attr('class')=='required-eng'){ if(/^[a-z A-Z 0-9 . ( ) / -]+$/.test(this.value)) jquery(this).next('span').children('.error').remove(); }else if(jquery(this).attr('class')=='required-float'){ if(/^[0-9]+[.]+[0-9]+$/.test(this.value)) jquery(this).next('span').children('.error').remove(); }else{ if(this.value != '') jquery(this).next('span').children('.error').remove(); } }); jquery('form.chkBeforeSubmit').submit(function(){ jquery('input[class^="required"],select.required').each(function(){ jquery(this).next('span').children('.error').remove(); if(jquery(this).attr('class') == 'required-thai'){ if(!/^[ก-๙ 0-9 . ( ) / -]+$/.test(this.value)) jquery(this).next('span').append(' กรุณาป้อนเฉพาะตัวอักษรภาษาไทยเท่านั้น ');
}else if(jquery(this).attr('class')=='required-eng'){
if(!/^[a-z A-Z 0-9 . ( ) / -]+$/.test(this.value))
jquery(this).next('span').append('กรุณาป้อนเฉพาะตัวอักษรภาษาอังกฤษเท่านั้น ');
}else if(jquery(this).attr('class')=='required-float'){
if(!/^[0-9]+[.]+[0-9]+$/.test(this.value))
jquery(this).next('span').append('กรุณาป้อนเฉพาะตัวเลขเท่านั้น ');
}else{
if(this.value == '')
jquery(this).next('span').append('กรุณากรอกข้อมูล ');
}
});
if(jquery('div.error',this).length)
return false;
});
jquery('table.tablePrint').find('td.optCol').remove();
});
function pre_submit(id){
jquery('#s_id').attr('value',id);
jquery('#s_id').parents('form').trigger('submit');
}
function preSubmitAdv(id,frm,action){
var $s_id = jquery('#s_id');
$s_id.attr('value',id);
jquery('#btnClear').parents('form').find(':text').attr('value','').end().find('select').children().removeAttr('selected').end().attr('value','');
jquery(frm).unbind();
jquery(frm).attr('action',action).trigger('submit');
}
function confirmDel(id,frm,action){
if(confirm("คุณต้องการลบใช่หรือไม่") == true)
preSubmitAdv(id,frm,action);
}
function vprint(){
window.print();
}
function chkDisable(ele,obj){
alert(jquery(obj).val());
jquery(obj).attr("value",true);
if(jquery(ele).attr("disabled")==true){
jquery(ele).attr("disabled",false);
jquery(obj).attr("value",false);
}else{
jquery(ele).attr("disabled",true);
jquery(obj).attr("value",true);
}
}
function popUp(url){
strOption = "scrollbars=yes,left=0,top=0,width=500,height=500";
window.open(url,"",strOption);
} |
:: 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.005 ]-- |