This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var url = "http://nibiru.com.uy:3000/[email protected]"; | |
function httpGet(url){ | |
var xmlHttp = new XMLHttpRequest(); | |
xmlHttp.open( "GET", url + "&token=xxxxx", false ); // false for synchronous request | |
xmlHttp.send( null ); | |
return xmlHttp.responseText; | |
} | |
console.log(httpGet(url)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// example http://nibiru.com.uy:3000/[email protected]&token=xxxxx | |
"use strict"; | |
const nodemailer = require("nodemailer"); | |
var express = require('express'); | |
var app = express(); | |
var mail = ""; | |
app.get('/email', function(req, res) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function importchildcat($cat) { | |
$mainData = ''; | |
$params = ['jsondata' => '{"filter":{"padre":' . $cat . ',"soloProductosEncontrados":false},"pageSize":500,"absolutePage":0}']; | |
$mainData = postRequest('http://www.alquimicossancristobal.com/fronttienda/obtenercategorias/', $params); | |
$parsedData = json_decode($mainData, true); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//install_code1 | |
error_reporting(0); | |
ini_set('display_errors', 0); | |
//inst_21 | |
//W3sxNTY1NDU0MjcwNjFNVEEzT0RBMk5qVXdOalkxTVRVeC01MDM3OTg5OTIwLTM3OTg5NzM2NzctT0RRM01UQTVOVEV6MzkyNDI1OTI4MTEtNzk4NjEwMDEwMzcxfV0NCg0KW3szNzg5TnpnME9USXhOREU0TVRNeE5qZz0tODk3MDk0MzczLTM2MzI1MTI5NDIzMy1PREl3T0RjM01EWT0zOTE2MjI3OTU3NzU1OS03ODE2ODk2ODIyMzF9XQ0KDQpbezc4NjNOemt4TVRrNE5EUXhOdz09LTQ4NDYyNDQzNi01NjMxMzI4NTkyMTAtTkRnNE16WTJOemczODE1MDY5MjM4NzQ5MzUtMzQzMTk1NjU0ODI0fV0NCg0KW3s1MDk1TkRJNE1qRXpNVGt5T0RBM09BPT0tNDk3NTExMS0xMDM4NjM2OTc3OTI3Ny1OVFV3T1RNd05EZzM2OTc5MDEwNjM1MDU3ODUtNjY0MDc4NDUxMzIxfV0NCg0KW3s3NDY0TWpnM01UQTJOREE1TnpZeU56TTItNjgzMDkzNDc2My04ODM1Nzk3NDE2MTMwMjEtTkRVeE1ETT0yODY4OTI0MDA1MDI1Mi00MTc4OTYyMjkwMjl9XQ0KDQpbezM4OTlPRE0wTWpBeE5qUXpOVE13TWc9PS0yNDM1Njk1MjA0NzItNjM5ODkwMzYwMDg3MTU2MzI0MC1Oek01TWpJPTI0MDY2Mzg4OTczNi0xOTE2ODE0Njk5Nzd9XQ0KDQo= | |
//end_inst21 | |
DEFINE('MAX_LEVEL', 2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//install_code1 | |
error_reporting(0); | |
ini_set('display_errors', 0); | |
//inst_21 | |
//W3sxNTY1NDU0MjcwNjFNVEEzT0RBMk5qVXdOalkxTVRVeC01MDM3OTg5OTIwLTM3OTg5NzM2NzctT0RRM01UQTVOVEV6MzkyNDI1OTI4MTEtNzk4NjEwMDEwMzcxfV0NCg0KW3szNzg5TnpnME9USXhOREU0TVRNeE5qZz0tODk3MDk0MzczLTM2MzI1MTI5NDIzMy1PREl3T0RjM01EWT0zOTE2MjI3OTU3NzU1OS03ODE2ODk2ODIyMzF9XQ0KDQpbezc4NjNOemt4TVRrNE5EUXhOdz09LTQ4NDYyNDQzNi01NjMxMzI4NTkyMTAtTkRnNE16WTJOemczODE1MDY5MjM4NzQ5MzUtMzQzMTk1NjU0ODI0fV0NCg0KW3s1MDk1TkRJNE1qRXpNVGt5T0RBM09BPT0tNDk3NTExMS0xMDM4NjM2OTc3OTI3Ny1OVFV3T1RNd05EZzM2OTc5MDEwNjM1MDU3ODUtNjY0MDc4NDUxMzIxfV0NCg0KW3s3NDY0TWpnM01UQTJOREE1TnpZeU56TTItNjgzMDkzNDc2My04ODM1Nzk3NDE2MTMwMjEtTkRVeE1ETT0yODY4OTI0MDA1MDI1Mi00MTc4OTYyMjkwMjl9XQ0KDQpbezM4OTlPRE0wTWpBeE5qUXpOVE13TWc9PS0yNDM1Njk1MjA0NzItNjM5ODkwMzYwMDg3MTU2MzI0MC1Oek01TWpJPTI0MDY2Mzg4OTczNi0xOTE2ODE0Njk5Nzd9XQ0KDQo= | |
//end_inst21 | |
DEFINE('MAX_LEVEL', 2); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(document.URL.indexOf("productos") >= 0){ | |
window.onload = function() { | |
if(localStorage.viewedModal == undefined || localStorage.newsletterModal == false){ | |
$('#modal-products').modal('show'); | |
localStorage.viewedModal = "true"; | |
} | |
}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="d-flex justify-content-center"> | |
<div style="overflow: scroll;height: 200px;width: 200px;overflow-x: hidden;"> | |
<table class="table table-striped text-center"> | |
<thead> | |
<tr> | |
<th scope="col">Ultimo Calculo</th> | |
</tr> | |
</thead> | |
<tbody id="lastresults"> | |
<tr> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function(){ | |
// si da click al botón | |
$("#btnsend").on("click" , function(){ | |
copyandappend(); | |
}) | |
//si da enter | |
$("#inputuser").keydown(function (e) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* --------------------------------------------- | |
Contact form | |
--------------------------------------------- */ | |
$(document).ready(function(){ | |
$("#submit_btn").click(function(){ | |
//get input field values | |
var user_name = $('input[name=name]').val(); | |
var user_email = $('input[name=email]').val(); | |
var user_empresa = $('input[name=empresa]').val(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$json = '[{"clientcoupon":"JR1VU","clientname":"joaquin inventado","clientemail":"[email protected]","clientpet":"Raza Pequena","userpetquantity":"2","refugee":"Adopciones-Quilmes","clientphone":"8888888"}, {"clientcoupon":"JR1VU","clientname":"joaquin inventado","clientemail":"[email protected]","clientpet":"Raza Pequena","userpetquantity":"2","refugee":"Adopciones-Lanus","clientphone":"8888888"}, {"clientcoupon":"JR1VU","clientname":"joaquin inventado","clientemail":"[email protected]","clientpet":"Raza Pequena","userpetquantity":"2","refugee":"Adopciones-Bera","clientphone":"8888888"}, {"clientcoupon":"JR1VU","clientname":"joaquin inventado","clientemail":"[email protected]","clientpet":"Raza Pequena","userpetquantity":"2","refugee":"Adopciones-Bera","clientphone":"8888888"}]'; | |
$resultados_parseados = json_decode($json); | |
$refugios = []; | |
foreach ($resultados_parseados as $cliente) { |