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/asset/js/ drwxr-xr-x | |
| Viewing file: Select action/file-type: Vue.component('selectauto', {
data: function () {
return {
data: [{FAC_ID:'',FAC_NAME:''}],
name: '',
selected: null
}
},
computed: {
filteredDataObj() {
return this.data.filter((option) => {
return option.FAC_NAME
.toString()
.toLowerCase()
.indexOf(this.name.toLowerCase()) >= 0
})
}
},
template: `
<label style="font-size:25px;">รหัสคณะที่กำลังศึกษา</label>
<b-autocomplete
class="m-t-10"
rounded
v-model="name"
placeholder="กรุณาเลือก คณะที่กำลังศึกษา"
:open-on-focus="true"
icon="magnify"
:data="filteredDataObj"
field="FAC_NAME"
@select="option => selected = option"
@input="fect_RefFac($event)"
>
</b-autocomplete>`
})
new Vue({
el:'#app',
data() {
return {
baseurl:'<?php echo base_url(); ?>'
}
},
created(){
alert('sss')
this.fect_RefFac(this.name)
},
methods: {
fect_RefFac(value){
this.$http.get(this.baseurl+'index_codeigniter.php/mua/service/fetch_RefFac?FAC_NAME='+value).then(response => {
this.data = []
for(var i = 0; i < response.data.length; i++ ){
this.data.push({FAC_ID:response.data[i].FAC_ID,FAC_NAME:response.data[i].FAC_ID+' - '+response.data[i].FAC_NAME})
}
console.log(this.data)
}, response => {
// error callback
});
}
}
}) |
:: 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.0181 ]-- |