Skip to content

Instantly share code, notes, and snippets.

View FranciscoHV's full-sized avatar

Francisco FranciscoHV

  • Stgo. Chile
View GitHub Profile
<h1 style="text-align: center;">CyberMonday del 7 al 9 de Noviembre. Descuentos de hasta un 50%.</h1>
<div class="col-md-12">
<div class="no content">
<div id="rpt_pricr" class="rpt_plans rpt_3_plans rpt_style_basic">
<div class="">
<div class="rpt_plan rpt_plan_0 ">
<div class="rpt_title rpt_title_0">Suscripci&oacute;n Mensual<br /> <strong>[wpgeo_campaign id='1'] </strong><span style="font-size: 12px;">mensual</span><br /> <span style="font-size: 14px;"><strong>(MES A MES)</strong></span></div>
<div class="rpt_features rpt_features_0">
<div class="rpt_feature rpt_feature_0-0" style="color: black;"><strong>Acceso ilimitado a todos nuestros Cursos Premium </strong><a class="tooltipsc" href="#"><br /> Miner&iacute;a a Cielo Abierto<br />Planificaci&oacute;n Estrat&eacute;gica del Negocio Minero<br />Gesti&oacute;n de Proyectos Mineros<br />Miner&iacute;a Subterr&aacute;nea<br />Emprende en Miner&iacute;a<br />Business Intelligence<br />Administraci&oacute;n de Contratos<br />Excel Nivel I<br />Excel Avanzado<b
@FranciscoHV
FranciscoHV / htaccess
Created November 2, 2016 14:49
Htaccess jaimiko
SetEnv PHPRC /home/mineclas/public_html/php.ini
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
@FranciscoHV
FranciscoHV / style.css
Created October 26, 2016 18:16
Extra del style.css
.btregister{border-radius: 3px;background-color: #2279c4;margin: 0;color: #fff;border: 0 none;padding: 4px 9px;font-weight: bold;}
@media only screen and (max-width:767px) {
.image-resized img {width:100%;height:auto;}
}
/* 240px screens */
@media only screen and (max-width: 319px) {
.image-resized img {width:240px;height:auto;}
}
/* 320px screens */
@FranciscoHV
FranciscoHV / header.php
Created October 24, 2016 18:09
Header template Woocommerce
<?php
/**
* Email Header
*
* @author WooThemes
* @package WooCommerce/Templates/Emails
* @version 2.4.0
*/
if ( ! defined( 'ABSPATH' ) ) {
@FranciscoHV
FranciscoHV / admin_new_order.php
Created October 21, 2016 14:11
template new inscr
<?php
/**
* Admin new order email
*
* This template can be overridden by copying it to yourtheme/woocommerce/emails/admin-new-order.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
@FranciscoHV
FranciscoHV / header.php
Last active October 19, 2016 12:46
Header MC Wordpress
<?php
//Header File
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<title>
<?php echo wp_title('|',true,'right'); ?>
</title>
This simple code work fine using libcurl versions before 7.18.x.
<?php
$ch = curl_init("www.example.com/curl.php?option=test");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$output = curl_exec($ch);
curl_close($ch);
echo $output;
@FranciscoHV
FranciscoHV / getresponse.php
Created June 6, 2016 20:41
APIGetResponse
<?php
# Demonstrates how to add new contact to campaign.
# JSON::RPC module is required
# available at http://github.com/GetResponse/DevZone/blob/master/API/lib/jsonRPCClient.php
require_once 'jsonRPCClient.php';
# your API key is available at
# https://app.getresponse.com/my_api_key.html
$api_key = 'Your_API';
# API 2.x URL
$api_url = 'http://api2.getresponse.com';
@FranciscoHV
FranciscoHV / php-example.php
Created May 4, 2016 12:51 — forked from freyr/php-example.php
GetResponse APIv2 example
<?php
# Demonstrates how to add new contact to campaign.
# JSON::RPC module is required
# available at http://github.com/GetResponse/DevZone/blob/master/API/lib/jsonRPCClient.php
require_once 'jsonRPCClient.php';
# your API key is available at
# https://app.getresponse.com/my_api_key.html
@FranciscoHV
FranciscoHV / bp-course-functions.php
Last active April 15, 2016 15:15
Contador Curso Producto
<?php
/**
* The -functions.php file is a good place to store miscellaneous functions needed by your plugin.
*
* @package BuddyPress_Course_Component
* @since 1.6
*/
/**