Skip to content

Instantly share code, notes, and snippets.

@Carlosvva
Carlosvva / category-ml_acabados.php
Last active May 27, 2020 02:33
Archivos a modificar para agregar las descripciones de los item Familia de Concretos y Mezclas Listas
<?php
/**
* A Simple Category Template
*/
get_header(); ?>
<?php echo do_shortcode('[bannersc]'); ?>
<?php
<?php
/**
* Loop Add to Cart
*
* This template can be overridden by copying it to yourtheme/woocommerce/loop/add-to-cart.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
@Carlosvva
Carlosvva / fetch.php
Created April 15, 2019 18:29
Codigo fuente
<?php
//fetch.php
$connect = mysqli_connect("localhost", "root", "", "4am_traficon");
$columns = array('codordint', 'codcli', 'trabajo', 'f_ingresa', 'f_solicita', 'f_entrega', 'codstat');
$query = "SELECT * FROM ordint WHERE ";
if($_POST["is_date_search"] == "yes")
{
$query .= 'f_aprueba BETWEEN "'.$_POST["start_date"].'" AND "'.$_POST["end_date"].'" AND ';
@Carlosvva
Carlosvva / header.php
Created April 10, 2019 18:32
Modificaciones de Header
Ruta de archivo /var/www/html/wp-content/themes/twentyseventeen/header.php
Para ocultar sección de idioma en header del sitio web, debemos comentar "<!-- -->" el siguiente código
<div class="aling-hor cont-pais">
<div class="bg-circle">
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/NoPath.png" alt="">
</div>
<b class="color-blanco-10pt flecha">ENG</b>
</div>
@Carlosvva
Carlosvva / Malware
Created April 8, 2019 17:30
Links infectados por Software Malicioso:
http://play4437.bigbughere1.life/7070020124/?t=main9_01d0063c57752d3c1a536e8b03&u=d29pte4&o=vxzkpbg&f=1
<<
http://play4437.bigbughere1.life/?utm_campaign=bKMuT7EMVXU5Z6UvvSHONGlfu-yV43iC8T8uYixAFxs1&t=main9_01d0063c57752d3c1a536e8b03
<<
http://play4437.bigbughere1.life/media/mainstream/bbms.js
<<
http://play4437.bigbughere1.life/media/mainstream/exit_ms.js
<<
http://play4437.bigbughere1.life/media/mainstream/jquery.js
@Carlosvva
Carlosvva / Guatemala.json
Last active April 25, 2024 04:13
Objeto Json Departamentos y Municipios de Guatemala
[
{
"title" : "Alta Verapaz",
"mun" : [
"Chahal",
"Chisec",
"Cobán",
"Fray Bartolomé de las Casas",
"Lanquín",
"Panzós",