"; FB.init({ appId: '316568105042097', //channelURL: 'http://emol.sergipeconectado.com/include/channel.html', status: true, xfbml: true, cookie: false, oauth: true, version: 'v2.9' }); } else { //div.innerHTML = "Ingresa con tu correo electrónico y contraseña "; } div.classList.add("content_pram_"); break; default: aNew.className += " activo"; aLog.classList.remove("activo"); divNew.style.display = "block"; divLog.style.display = "none"; break; } //} } $('#Content_txtname').on('keyup',function(e) { if (e.keyCode == 13) { console.log('press 13'); $('#Content_txt').focus(); } }); $('#Content_txt').on('keyup',function(e) { if (e.keyCode == 13) { EmolPram(); } }); $('#Content_txtname_recover').on('keyup',function(e) { if (e.keyCode == 13){ RecoverEmolPram(); } }); function EmolPram(){ $('.pram_error_small').html(''); var email = $("#Content_txtname").val(); var = $("#Content_txt").val(); var isANumber = isNaN(email) === false; if(isANumber && email != ''){ var b = "-"; var position = email.length -1; email = [email.slice(0, position), b, email.slice(position)].(''); $("#Content_txtname").val(email); } if($("#Content_txtname").val() == '' || $("#Content_txt").val() == '' ){ $('.pram_error_small').show(); $('.pram_error_small').html(' Debe completar todos los datos'); }else{ $("#button__pram").addClass('disabled','disabled'); $("#button__pram").removeAttr('onclick'); var dt = {action:"myId", :email, :} $.ajax({ url: urlComments, dataType: "json", data: dt, method: "GET", cache: false }).done(function (response){ try { if(response["disabled"]){ $(".close").click(); setCookie('c__l', response["originalAuth"], 360); if($("#emol_disable_").length == 0) { $('body').append('
'); } $('#emol_disable_').modal('show'); Emol(); }else{ if (response["token"] != undefined && response["token"] != ''){ cmtData.accessToken = response["token"]; cmtData.authType = 'emol'; cmtData.id = response["id"]; setCookie('SSTES', response["token"], 720); setCookie('c__i', response["id"], 360); setCookie('c__l', response["originalAuth"], 360); CommentsApi.imgPerfil(); $('#div').html('
iconexito

Estás logueado t33k

ya puedes comentar 246p4s

'); }else{ $('.pram_error_small').show(); $('.pram_error_small').html(response); } } }catch(error){ $('.pram_error_small').show(); $('.pram_error_small').html('Información incorrecta'); } }).fail(function(jqXHR, textStatus, error) { $('.pram_error_small').show(); $('.pram_error_small').html('Información incorrecta'); }); setTimeout(function(){ $("#button__pram").removeClass('disabled'); $("#button__pram").attr( "onclick", 'EmolPram();' ) }, 10000); } } function FormRecoverPram(){ $('.textbox_recover').html(''); $("#Content_txtname_recover").val(''); document.getElementById("recover_contenedor").style.display = "block"; document.getElementById("_contenedor").style.display = "none"; document.getElementById("_contenedor_fb").style.display = "none"; } function FormPram(){ $('.pram_error_small').html(''); var isDetalle = "False"; $("#Content_txtname").val(''); $("#Content_txt").val(''); document.getElementById("recover_contenedor").style.display = "none"; document.getElementById("_contenedor").style.display = "block"; if (isDetalle == "True") { document.getElementById("_contenedor_fb").style.display = "block"; }else{ document.getElementById("_contenedor_fb").style.display = "none"; } } function RecoverEmolPram(){ $('.textbox_recover').html(''); $("#button_recover_pram").addClass('disabled','disabled'); $("#button_recover_pram").removeAttr('onclick'); var email = $("#Content_txtname_recover").val(); var dt = {action:"recover", :email} $.ajax({ url: urlComments, data: dt, method: "GET", async:false, cache: false }).done(function (response){ try { if (String(response) == "ERROR\n" || String(response) == "") { $('.textbox_recover').html('Verifique que su correo este escrito correctamente'); } else { $('.textbox_recover').html('Se ha enviado un correo a ' + response + ' para que recupere su contraseña.'); } }catch(error){ console.log('Error - '+ error); } }).fail(function(jqXHR, textStatus, error) { $('.textbox_recover').html('Verifique que su correo este bien escrito'); }); setTimeout(function(){ $("#button_recover_pram").removeClass('disabled'); $("#button_recover_pram").attr( "onclick", 'RecoverEmolPram();' ) }, 10000); }
El punto de encuentro de las Pymes chilenas
' + hora + '

' + titulo + ' 6jm71

'; $('#htmlNews').html(html); Pages(); } catch (e) { } } catch (e) { } } } catch (e) { } } }).fail(function (err) { }); } catch (e) { } } } } }) }; function Pages() { var pages = ''; var numPages = Math.ceil(MAX_PAGE / SIZE); var classPage = ''; var pageInit; var pageEnd; if (CURRENT_PAGE == 0) { $("#prev").hide(); } else { $("#prev").show(); } if (CURRENT_PAGE == (Math.ceil(MAX_PAGE / SIZE) - 1)) { $("#next").hide(); } else { $("#next").show(); } if (numPages > NUM_PAGES) { if (CURRENT_PAGE >= 3) { if (CURRENT_PAGE >= numPages - 2) { pageInit = numPages - NUM_PAGES; pageEnd = numPages; } else { pageInit = (CURRENT_PAGE - 2); pageEnd = (CURRENT_PAGE + 1); } } else { pageInit = 0; pageEnd = NUM_PAGES; } } else { pageInit = 0; pageEnd = numPages; } for (var i = pageInit; i < pageEnd; i++) { if (i == CURRENT_PAGE) { classPage = 'page current'; } else { classPage = 'page'; } pages += '' + (i + 1) + ''; } $('#listPages').html(pages); } function Next() { if (FROM != ((Math.ceil(MAX_PAGE / SIZE) - 1) * SIZE)) { FROM += SIZE; CURRENT_PAGE++; Noticias(IDTEMA); } } function Prev() { if (FROM > 0) { FROM -= SIZE; CURRENT_PAGE--; Noticias(idTema); } } function SelectPage(page) { FROM = SIZE * (page); CURRENT_PAGE = page; Noticias(IDTEMA); }

Éxitos 171v2u

Los Más vistos 5f1y1g

pix