var f2Fields = new Object([ { name: "kode", mapping: "kode" } , { name: "nama", mapping: "nama" } ]); var f3Fields = new Object([ { name: "id", mapping: "id" } , { name: "kode", mapping: "kode" } , { name: "nama", mapping: "nama" } ]); var f4Fields = new Object([ { name: "id", mapping: "id" } , { name: "kode", mapping: "kode" } , { name: "nama", mapping: "nama" } , { name: "deskripsi", mapping: "deskripsi" } ]); function getMasterJsonStore(fieldsObj, strMethod){ var masterUrl = BASE_URL + 'data_controller/' + strMethod; return RH.getCommonJsonStore(fieldsObj, masterUrl); } /** ======== DATA STORES (for COMBO) =============== */ function store_hari(){ return getMasterJsonStore(f2Fields, 'get_hari'); } function store_jam(){ var fObj = new Object([ { name: "idjam" } , { name: "kdjam" } , { name: "darijam" } , { name: "sampaijam" } ]); return getMasterJsonStore(fObj, 'get_jam'); } function store_pertemuan(){ var fObj = RH.storeFields('kode'); var ds = new Ext.data.JsonStore({ //static data //autoDestroy: true, fields: fObj, data: [ { "kode":"1"},{ "kode":"2"},{ "kode":"3"},{ "kode":"4"},{ "kode":"5"}, { "kode":"6"},{ "kode":"7"},{ "kode":"8"},{ "kode":"9"},{ "kode":"10"}, { "kode":"11"},{ "kode":"12"},{ "kode":"13"},{ "kode":"14"},{ "kode":"15"}, { "kode":"16"}, ] }); return ds; } /* function store_setnilai(){ var fObj = RH.storeFields('kode','nilaihuruf','bobot'); var ds = new Ext.data.JsonStore({ //static data //autoDestroy: true, fields: fObj, data: [ { "kode":"A","nilaihuruf":"A","bobot":4}, { "kode":"B","nilaihuruf":"B","bobot":3}, { "kode":"C","nilaihuruf":"C","bobot":2}, { "kode":"D","nilaihuruf":"D","bobot":1}, { "kode":"E","nilaihuruf":"E","bobot":0}, ] }); return ds; } */ function store_stabsenmhs(){ var fObj = RH.storeFields('idstabsenmhs','kdstabsensimhs','nmstabsensimhs','stabsensimhs','deskripsi'); return getMasterJsonStore(fObj, 'get_stabsenmhs'); } function store_stabsensidos(){ var fObj = RH.storeFields('idstabsensdos','kdstabsensidos','nmstabsensidos','deskripsi'); return getMasterJsonStore(fObj, 'get_stabsensidos'); } function store_klsparalel(){ var fObj = new Object([ { name: "klsparalel" } ]); return getMasterJsonStore(fObj, 'get_klsparalel'); } function store_ruangan(){ var fObj = new Object([ { name: "idruangan" } , { name: "kdruangan" } , { name: "nmruangan" } , { name: "kapasitas" } , { name: "idjnsruangan" } , { name: "nmjnsruangan" } , { name: "idtiperuangan" } , { name: "nmtiperuangan" } , { name: "idstatus" } ]); return getMasterJsonStore(fObj, 'get_ruangan'); } function store_jujian(){ var fObj = new Object([ { name: "idjnsujian" } , { name: "kdjnsujian" } , { name: "nmjnsujian" } , { name: "deskripsi" } ]); return getMasterJsonStore(fObj, 'get_jujian'); } function store_kelmatkul(){ return getMasterJsonStore(f2Fields, 'get_kelmatkul'); } function store_availability(){ var ds = new Ext.data.JsonStore({ //static data //autoDestroy: true, fields: f2Fields, data: [ { kode:"Y",nama:"Ada"}, { kode:"T",nama:"Tidak Ada"}, ] }); return ds; } function store_persen_static(){ var ds = new Ext.data.JsonStore({ //static data //autoDestroy: true, fields: f2Fields, data: [ { "kode":"0","nama":"semua"}, { "kode":"25","nama":"25 %"}, { "kode":"50","nama":"50 %"}, { "kode":"80","nama":"80 %"}, { "kode":"100","nama":"100 %"} ] }); return ds; } // GENDER function store_gender_static(){ var ds = new Ext.data.JsonStore({ //static data autoDestroy: true, fields: f2Fields, data: [ { "kode":"L","nama":"Laki-laki"}, { "kode":"P","nama":"Perempuan"} ] }); return ds; } function store_gender(){ return getMasterJsonStore(f2Fields, 'get_gender'); } //RELIGION function store_religion_static(){ var ds = new Ext.data.JsonStore({ //static data autoDestroy: true, fields: f3Fields, data: [ {"idx":'1',"kode":"I","nama":"Islam"}, {"idx":'2',"kode":"K","nama":"Katolik"}, {"idx":'3',"kode":"P","nama":"Protestan"}, {"idx":'4',"kode":"B","nama":"Budha"}, {"idx":'5',"kode":"H","nama":"Hindu"}, {"idx":'9',"kode":"L","nama":"Lainnya"} ]}); return ds; } function store_religion(){ return getMasterJsonStore(f3Fields, 'get_religion'); } function store_goldarah(){ return getMasterJsonStore(f3Fields, 'get_bloodtype'); //ds_bloodtype } function store_wn(){ return getMasterJsonStore(f2Fields, 'get_nationality'); //ds_wn } function store_parentjob(){ return getMasterJsonStore(f4Fields, 'get_parentjob'); } function store_parentedu(){ return getMasterJsonStore(f4Fields, 'get_parentedu'); } function store_prodiWisuda() { var ds_prodiregWisuda = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_prodireg ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdprodi", mapping: "kdprodi" } , { name: "nourutprodi", mapping: "nourutprodi" } , { name: "nmprodi", mapping: "nmprodi" } , { name: "lnmprodi", mapping: "lnmprodi" } , { name: "kdfakultas", mapping: "kdfakultas" } , { name: "nmfakultas", mapping: "nmfakultas" } ], listeners : { load : function() { var rec = new this.recordType({kdprodi:99, lnmprodi:'SEMUA PRODI'}); rec.commit(); this.add(rec); } } }); return ds_prodiregWisuda; }; function store_semester() { var ds_semester= new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_semester ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kode", mapping: "kode" } , { name: "idsemester", mapping: "idsemester" } , { name: "kdsemester", mapping: "kdsemester" } , { name: "nama", mapping: "nama" } , { name: "tingkat", mapping: "tingkat" } ] }); return ds_semester; }; // STATUS SMESTER function store_stsmt(){ var ds = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_stsmt ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdstsemester" } , { name: "nmthnakademik" } , { name: "nmjnssemester" } , { name: "nmsmt" } ] }); return ds; } // PRODI INTERNAL function store_prodireg() { var ds_prodireg = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_prodireg ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdprodi", mapping: "kdprodi" } , { name: "nourutprodi", mapping: "nourutprodi" } , { name: "nmprodi", mapping: "nmprodi" } , { name: "lnmprodi", mapping: "lnmprodi" } , { name: "kdfakultas", mapping: "kdfakultas" } , { name: "nmfakultas", mapping: "nmfakultas" } ], listeners : { load : function() { var rec = new this.recordType({kdprodi:null, lnmprodi:'-'}); rec.commit(); this.add(rec); } } }); return ds_prodireg; }; function store_shift(){ return getMasterJsonStore(f2Fields, 'get_shift'); } function store_class(){ return getMasterJsonStore(f4Fields, 'get_class'); } //JABATAN function store_jabatan(){ var ds = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_jabatan', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idjabatan" }, { name: "kdjabatan" }, ,{ name: "nmjabatan" } ] }); return ds; } function store_klsmhs(){ var ds = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_klsmhs', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idklsmhs" }, { name: "kdklsmhs" }, ,{ name: "nmklsmhs" }, { name: "deskripsi" } ] }); return ds; } function store_jkls(){ var ds_jkls = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_jkls', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idjnskls", mapping: "idjnskls" }, { name: "nmjnskls", mapping: "nmjnskls" } ] }); return ds_jkls; } function store_jklsplusall(){ var ds_jkls = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_jkls', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idjnskls", mapping: "idjnskls" }, { name: "nmjnskls", mapping: "nmjnskls" } ], listeners : { load : function() { var rec = new this.recordType({idjnskls:3, nmjnskls:'ALL'}); rec.commit(); this.add(rec); } }, }); return ds_jkls; } function store_klsmhsplusall(){ var ds_kkls = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_klsmhs', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idklsmhs", mapping: "idklsmhs" }, { name: "idjnskls", mapping: "idjnskls" }, { name: "nmklsmhs", mapping: "nmklsmhs" }, { name: "kdnm", mapping: "kdnm" } ], listeners : { load : function() { var rec = new this.recordType({idklsmhs:4, kdnm:'Semua Kelas'}); rec.commit(); this.add(rec); } }, }); return ds_kkls; } function store_cutidet(){ var ds_cutidetnonaktf = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_cutidet', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idcutidet", mapping: "idcutidet" }, { name: "nmcutidet", mapping: "nmcutidet" } ] }); return ds_cutidetnonaktf; } function store_tahun(){ return getMasterJsonStore(f2Fields, 'get_years'); } function store_stawal(){ return getMasterJsonStore(f2Fields, 'get_stfirst'); } var ds_status_masuk = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_status_masuk', method: 'POST' }), totalProperty: 'results', root: 'data', autoLoad: true, fields: [{ name: 'idstmskmhs', mapping: 'idstmskmhs' }, { name: 'nmstmskmhs', mapping: 'nmstmskmhs' }] }); function store_status_masuk(){ return getMasterJsonStore(f2Fields, 'get_status_masuk'); } function store_staktiv(){ return getMasterJsonStore(f2Fields, 'get_staktiv'); } function store_jslta(){ return getMasterJsonStore(f4Fields, 'get_jslta'); } function store_stakrslta(){ // STATUS AKREDITASI SLTA return getMasterJsonStore(f4Fields, 'get_stakrslta'); } function store_jpt(){ return getMasterJsonStore(f4Fields, 'get_jpt'); } function store_stakrpt(){ // STATUS AKREDITASI PT return getMasterJsonStore(f4Fields, 'get_stakrpt'); } function store_kuakrpt(){ // KUALIFIKASI AKREDITASI PT return getMasterJsonStore(f4Fields, 'get_kuakrpt'); } function store_mhsjob(){ // PEKERJAAN MAHASISWA return getMasterJsonStore(f4Fields, 'get_mhsjob'); } function store_biayastudi(){ return getMasterJsonStore(f2Fields, 'get_biaya'); } //DOSEN function store_status_dos(){ return getMasterJsonStore(f2Fields, 'get_status_dos'); } function store_jabak(){ return getMasterJsonStore(f2Fields, 'get_jabak'); //ds_jabak } function store_pdktop(){ return getMasterJsonStore(f2Fields, 'get_pdktop'); //ds_pdktop } function sore_jstudi(){ return getMasterJsonStore(f2Fields, 'get_jenjangstudi'); } function store_stikj(){ return getMasterJsonStore(f2Fields, 'get_stikj'); //ds_stikj } //status dosen function store_staktivdos(){ return getMasterJsonStore(f2Fields, 'get_staktivdos'); //ds_staktivdos } function store_jstudi(){ return getMasterJsonStore(f2Fields, 'get_jstudi'); //ds_staktivdos } /** KEUANGAN */ function store_carabyr(){ var ds_carabyr = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_carabyr', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idcarabyr", mapping: "idcarabyr" } , { name: "kdcarabyr", mapping: "kdcarabyr" } , { name: "nmcarabyr", mapping: "nmcarabyr" } //, { name: "deskripsi", mapping: "deskripsi" } ] }); return ds_carabyr; } function store_jbiaya(){ var ds = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_jbiaya', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idjnsbiaya" } , { name: "kdjnsbiaya" } , { name: "nmjnsbiaya" } , { name: "deskripsi" } ] }); return ds; } function store_jdiskon(){ var ds = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_jdiskon', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idjnsdiskon" } , { name: "kdjnsdiskon" } , { name: "nmdiskon" } , { name: "deskripsi" } , { name: "nominal" } ] }); return ds; } function store_jdosen(){ return getMasterJsonStore(f4Fields, 'get_jdosen'); } function store_kelas(){ return getMasterJsonStore(f4Fields, 'get_kelas'); } /*=========== added by NAFHUL =====================*/ /* ======================== KEUANGAN ========================== */ /** * GET DATA TAHUN MASUK */ var ds_tahun = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'c_data_store/get_tahun', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "tahun", mapping: "tahun" } ] }); /** * GET STATUS BIAYA */ var ds_status = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'c_data_store/get_status', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idstatus", mapping: "idstatus" }, { name: "nmstatus", mapping: "nmstatus" } ] }); //status mahasiswa// //tipe skripsi function store_tskripsi(){ var ds_tskripsi = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_tskripsi', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdtskripsi", mapping: "kdtskripsi" }, { name: "nmtskripsi", mapping: "nmtskripsi" } ] }); return ds_tskripsi; //return getMasterJsonStore(f2Fields, 'get_staktiv'); } //jenis skripsi function store_jskripsi(){ var ds_jskripsi = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_jskripsi', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdjskripsi", mapping: "kdjskripsi" }, { name: "nmjskripsi", mapping: "nmjskripsi" } ] }); return ds_jskripsi; //return getMasterJsonStore(f2Fields, 'get_staktiv'); } //status aktivitas mahasiswa function store_staktiv(){ var ds_staktiv = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_staktiv', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kode", mapping: "kode" }, { name: "nama", mapping: "nama" } ] }); return ds_staktiv; //return getMasterJsonStore(f2Fields, 'get_staktiv'); } //dosen pembimbing function store_nmdosen(){ var ds_dosen = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_promotor', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "iddosen", mapping: "iddosen" }, { name: "nmdosen", mapping: "nmdosen" } ] }); return ds_dosen; //return getMasterJsonStore(f2Fields, 'get_promotor'); //ds_staktivdos } //status va function store_stva(){ var ds_stva = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_stva', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idstva", mapping: "idstva" }, { name: "nmstva", mapping: "nmstva" } ] }); return ds_stva; } /** STATUS Ada/Tidak*/ function store_status(){ var ds = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_status', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idstatus" }, { name: "idstatus" }, ,{ name: "nmstatus" }, { name: "nmstatus" } ] }); return ds; } //tipekelas function store_tipekelas(){ var ds_tipekelas = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_tipekelas', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idtipekelas", mapping: "idtipekelas" }, { name: "kdtipekelas", mapping: "kdtipekelas" }, { name: "nmtipekelas", mapping: "nmtipekelas" } ] }); return ds_tipekelas; } var ds_thnakademik2 = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'c_mastah/grid_thnakademik2', method: 'POST' }), totalProperty: 'results', root: 'data', autoLoad: true, fields: [{ name: 'kdstsemester', mapping: 'kdstsemester' },{ name: 'nmthnakademik', mapping: 'nmthnakademik' }] }); var ds_prodi = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'c_mastah/grid_prodi', method: 'POST' }), totalProperty: 'results', root: 'data', autoLoad: true, fields: [{ name: 'kdprodi', mapping: 'kdprodi' }, { name: 'nmprodi', mapping: 'nmprodi' }] }); var ds_pimpinan = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'c_mastah/grid_pimpinan', method: 'POST' }), totalProperty: 'results', root: 'data', autoLoad: true, fields: [{ name: 'idpimpinan', mapping: 'idpimpinan' }, { name: 'nmpimpinan', mapping: 'nmpimpinan' }] }); //kelompok setting function dm_kelompoksetting(){ var master = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url : BASE_URL + 'kelompoksetting_controller/get_klpsetting', method: 'POST' }), totalProperty: 'results', root: 'data', autoLoad: true, fields: [{ name: 'idklpset', mapping: 'idklpset' },{ name: 'kdklpset', mapping: 'kdklpset' },{ name: 'nmklpset', mapping: 'nmklpset' },{ name: 'deskripsi', mapping: 'deskripsi' }] }); return master; } //setting function dm_setting(){ var master = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url : BASE_URL + 'setting_controller/get_setting', method: 'POST' }), totalProperty: 'results', root: 'data', autoLoad: true, fields: [{ name: 'idset', mapping: 'idset' },{ name: 'idklpset', mapping: 'idklpset' },{ name: 'nmklpset', mapping: 'nmklpset' },{ name: 'kdset', mapping: 'kdset' },{ name: 'nmset', mapping: 'nmset' },{ name: 'ketset', mapping: 'ketset' },{ name: 'nilai', mapping: 'nilai' },{ name: 'nourut', mapping: 'nourut' }] }); return master; } //status konversi function store_stkonversi(){ var ds_stkonversi = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url : BASE_URL + 'data_controller/get_stkonversi', method: 'POST' }), totalProperty: 'results', root: 'data', autoLoad: true, fields: [{ name: 'idstkonversi', mapping: 'idstkonversi' },{ name: 'kdstkonversi', mapping: 'kdstkonversi' },{ name: 'nmstkonversi', mapping: 'nmstkonversi' }] }); return ds_stkonversi; } //jpengguna function store_jpengguna() { var ds_jpengguna = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'c_mastah/grid_jpengguna', method: 'POST' }), totalProperty: 'results', root: 'data', autoLoad: true, fields: [{ name: 'idjnspengguna', mapping: 'idjnspengguna' }, { name: 'nmjnspengguna', mapping: 'nmjnspengguna' }] }); return ds_jpengguna; } //fakultas function store_fakultas_jbiaya() { var ds_fakultas = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'c_mastah/grid_fakultas', method: 'POST' }), totalProperty: 'results', root: 'data', autoLoad: true, fields: [{ name: 'kdfakultas', mapping: 'kdfakultas' }, { name: 'nmfakultas', mapping: 'nmfakultas' }], listeners : { load : function() { var rec = new this.recordType({kdfakultas:99, nmfakultas:'SEMUA FAKULTAS'}); rec.commit(); this.add(rec); } } }); return ds_fakultas; } //prodi jbiaya function store_prodi_jbiaya() { var ds_prodi_jbiaya = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'c_mastah/grid_prodi_jbiaya', method: 'POST' }), totalProperty: 'results', root: 'data', autoLoad: true, fields: [{ name: 'kdprodi', mapping: 'kdprodi' }, { name: 'nmprodi', mapping: 'nmprodi' }], listeners : { load : function() { var rec = new this.recordType({kdprodi:9999, nmprodi:'SEMUA PRODI'}); rec.commit(); this.add(rec); } } }); return ds_prodi_jbiaya; } //STORE OPERATOR function store_operator() { var ds_operator = new Ext.data.JsonStore({ //static data autoDestroy: true, fields: [ 'kodeopt', 'namaopt' ], data: [ { "kodeopt":"=","namaopt":"Sama Dengan"}, { "kodeopt":"<>","namaopt":"Tidak Sama Dengan"}, { "kodeopt":">","namaopt":"Lebih Dari"}, { "kodeopt":">=","namaopt":"Lebih Dari Sama Dengan"}, { "kodeopt":"<","namaopt":"Kurang Dari"}, { "kodeopt":"<=","namaopt":"Kurang Dari Sama Dengan"} ] }); return ds_operator; } //======================================================= var data, x; var p; var tpl; function user_foto_thumbs(x){ // alert(x); tpl = new Ext.Template( "" ); tpl.overwrite(p.body, data); p.body.highlight('#c3daf9', {block:true}); // return tpl; } function user_foto_ori(x){ // alert(x); tpl = new Ext.Template( "" ); tpl.overwrite(p.body, data); p.body.highlight('#c3daf9', {block:true}); // return tpl; } function mhs_foto_thumbs(x){ // alert(x); tpl = new Ext.Template( "" ); tpl.overwrite(p.body, data); p.body.highlight('#c3daf9', {block:true}); // return tpl; } function mhs_foto_ori(x){ // alert(x); tpl = new Ext.Template( "" ); tpl.overwrite(p.body, data); p.body.highlight('#c3daf9', {block:true}); // return tpl; } function dosen_foto_thumbs(x){ // alert(x); tpl = new Ext.Template( "" ); tpl.overwrite(p.body, data); p.body.highlight('#c3daf9', {block:true}); // return tpl; } function dosen_foto_ori(x){ // alert(x); tpl = new Ext.Template( "" ); tpl.overwrite(p.body, data); p.body.highlight('#c3daf9', {block:true}); // return tpl; } function isi_foto_icons(x){ // alert(x); tpl = new Ext.Template( "" ); tpl.overwrite(p.body, data); p.body.highlight('#c3daf9', {block:true}); // return tpl; } function isi_foto_ori_public(x){ // alert(x); var addslash = ''; for (i=0;i" ); tpl.overwrite(p.body, data); p.body.highlight('#c3daf9', {block:true}); } } }); // return tpl; } function isi_foto_ori_public_dos(x){ // alert(x); var addslash = ''; for (i=0;i" ); tpl.overwrite(p.body, data); p.body.highlight('#c3daf9', {block:true}); } } }); // return tpl; } var KDSTSEMESTER,KDTHNAKADEMIK,IDJNSSEMESTER,NMJNSSEMESTER; Ext.Ajax.request({ url:BASE_URL + 'c_mastah/grid_vstsemester', method:'POST', success: function(response){ var r = Ext.decode(response.responseText); KDSTSEMESTER = r.kdstsemester; KDTHNAKADEMIK = r.kdthnakademik; IDJNSSEMESTER = r.idjnssemester; NMJNSSEMESTER = r.nmjnssemester; } //kdstsemester, kdthnakademik, idjnssemester, nmjnssemester });