آموزشگاه رانندگی صومعه سرا
نویسنده : رضا حیدری | زمان انتشار : 29 اسفند 1401 ساعت 20:17
جستجو
'; }, onSuccess: function(responseText){ if(responseText){ document.id('se211_after_reg_'+parent).innerHTML = responseText; document.id('se211_reg_'+parent).value=a_parent; }else{ document.id('se211_after_reg_'+parent).innerHTML = ''; document.id('se211_reg_'+parent).value=a_parent; } //support for IE document.id('se211_reg_'+parent).blur(); if(r_path != 'null'){ if(r_path.length>0){ var first_path = r_path[0].split(','); r_path.shift(); se211_new_reg(first_path[0],first_path[1],r_path); } } }, onFailure: function(){} }); myRequest.send();
/*if(se211_regs[a_parent]){ //alert(cats[v]); if(parent==a_parent){ document.id('se211_after_reg_'+parent).innerHTML = ''; }else{ document.id('se211_after_reg_'+parent).innerHTML = se211_regs[a_parent]; } document.id('se211_reg_'+parent).value=a_parent; }else{ document.id('se211_after_reg_'+parent).innerHTML = ''; document.id('se211_reg_'+parent).value=a_parent; }*/ }
function se211_country_iso(reg_id){
var myRequest = new Request({ url: 'https://gil118.com/index.php', method: 'post', data: { 'option': 'com_djclassifieds', 'view': 'item', 'task': 'getCountryISO', 'reg_id': reg_id }, onRequest: function(){}, onSuccess: function(responseText){ if(responseText){ djcfmodSearchPlaces211(responseText); } }, onFailure: function(){} }); myRequest.send(); }
'; }, onSuccess: function(responseText){ if(responseText){ document.id('se211_after_cat_'+parent).innerHTML = responseText; document.id('se211_cat_'+parent).value=a_parent; }else{ document.id('se211_after_cat_'+parent).innerHTML = ''; document.id('se211_cat_'+parent).value=a_parent; } var mod_classes = document.id('mod_djcf_search211').className.split(" "); mod_classes.each(function(mod_class,index){ if(mod_class.lastIndexOf('cat_lvl')>-1){ document.id('mod_djcf_search211').removeClass(mod_class); } }); var cat_level = document.getElements("#mod_djcf_search211 .search_cats select").length; if(cat_level>0){ document.id('mod_djcf_search211').addClass('cat_lvl'+cat_level); } if(c_path != 'null'){ if(c_path.length>0){ var first_path = c_path[0].split(','); c_path.shift(); se211_new_cat(first_path[0],first_path[1],c_path); } } }, onFailure: function(){} }); myRequest.send(); /*if(se211_cats[a_parent]){ //alert(se_cats[v]); document.id('se211_after_cat_'+parent).innerHTML = se211_cats[a_parent]; document.id('se211_cat_'+parent).value=a_parent; }else{ document.id('se211_after_cat_'+parent).innerHTML = ''; document.id('se211_cat_'+parent).value=a_parent; }*/ } function se211_getFields(cat_id){ var el = document.getElementById("search211_ex_fields"); var before = document.getElementById("search211_ex_fields").innerHTML.trim(); //if(cat_id!=0){ el.innerHTML = '
'; var url = 'https://gil118.com/index.php?option=com_djclassifieds&view=item&task=getSearchFields&cat_id=' + cat_id; var myRequest = new Request({ url: 'https://gil118.com/index.php', method: 'post', data: { 'option': 'com_djclassifieds', 'view': 'item', 'task': 'getSearchFields', 'mod_id': '211', 'cat_id': cat_id }, onRequest: function(){ //myElement.set('html', '
loading...
'); }, onSuccess: function(responseText){ el.innerHTML = responseText; if(responseText){ el.removeClass('no_fields'); }else{ el.addClass('no_fields'); } var calendars = jQuery('#search211_ex_fields').find('.field-calendar'); if (calendars.length > 0) { calendars.each(function(){ JoomlaCalendar.init(jQuery(this)[0]); }); } var djfields_accordion_o = document.getElements('#search211_ex_fields .djfields_accordion_o'); if(djfields_accordion_o){ djfields_accordion_o.each(function(djfields_acc_o,index){ new Fx.Accordion(djfields_acc_o.getElements('.label'), djfields_acc_o.getElements('.se_checkbox'), { alwaysHide : true, display : 0, duration : 100, onActive : function(toggler, element) { toggler.addClass('active'); element.addClass('in'); }, onBackground : function(toggler, element) { toggler.removeClass('active'); element.removeClass('in'); } }); }) } var djfields_accordion_c = document.getElements('#search211_ex_fields .djfields_accordion_c'); if(djfields_accordion_c){ djfields_accordion_c.each(function(djfields_acc_c,index){ new Fx.Accordion(djfields_acc_c.getElements('.label'), djfields_acc_c.getElements('.se_checkbox'), { alwaysHide : true, display : -1, duration : 100, onActive : function(toggler, element) { toggler.addClass('active'); element.addClass('in'); }, onBackground : function(toggler, element) { toggler.removeClass('active'); element.removeClass('in'); } }); }) } }, onFailure: function(){ // myElement.set('html', 'Sorry, your request failed, please contact to '); } }); myRequest.send(); /*}else{ el.innerHTML = ''; //el.innerHTML='مجموعه'; }*/ return null; }
منبع: gil118.com