Skip to content

Instantly share code, notes, and snippets.

demonio demonio

Block or report user

Report or block demonio

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@demonio
demonio / link_anti_bot.html
Last active Dec 15, 2018
Una medida para restringir el acceso a los bots a enlaces sensibles
View link_anti_bot.html
@demonio
demonio / default.phtml
Created Jul 23, 2017
Sockets para KumbiaPHP
View default.phtml
<!DOCTYPE html>
<html id="important">
<head>
<link href="/css/material-icons.css" rel="stylesheet">
<link href="/css/materialize.min.css" rel="stylesheet">
<link href="/css/hacks.css" rel="stylesheet">
<link href="/css/helpers.css" rel="stylesheet">
<link href="/css/style.css" rel="stylesheet">
<?=Css::inc()?>
@demonio
demonio / index.phtml
Created Feb 26, 2017
METODO ANTI-SPAM DE CAMPO OCULTO
View index.phtml
<h1>Configure su página Web</h1>
<h2>Solicite un presupuesto sin compromiso</h2>
<p>Escoja el producto que más se adecue a sus necesidades y un experto se pondrá en contacto son usted para definir los detalles y empezar a trabajar. No espere un día más para lanzar su proyecto y hacerse visible.</p>
<form action="/index/contact" method="post">
<select class="span1" name="web">
<option value="1">1.0</option>
<option value="1_5">1.5</option>
<option value="2">2.0</option>
<option value="3">3.0</option>
@demonio
demonio / kuwy.css
Last active Jul 5, 2018
KuWy 2.0 from KumbiaPHP developers
View kuwy.css
.kuwy .kuwy-menu
{
background:#EEE;
padding:4px;
}
.kuwy .kuwy-menu .kuwy-btn
{
display:inline-block;
padding:0 4px;
@demonio
demonio / style.css
Created Nov 25, 2016
Marca de agua KumbiaPHP
View style.css
/* MARCA DE AGUA KUMBIAPHP */
.powered
{
background: url('/img/logo.png') no-repeat 0 18px;
bottom: 4px;
height: 69px;
opacity: 0.1;
position: fixed;
right: 4px;
width: 433px;
@demonio
demonio / kumbia_exception.php
Last active Oct 4, 2016
Excepción al correo
View kumbia_exception.php
<?php
[...]
/**
* Maneja las excepciones no capturadas
*
* @param Exception $e
* */
public static function handleException($e)
View app_controller.php
<?php
require_once CORE_PATH . 'kumbia/controller.php';
class AppController extends Controller
{
final protected function initialize()
{
$this->limit_params = false;
$this->url = empty($_SERVER['PATH_INFO']) ? '/' : $_SERVER['PATH_INFO'];
View::select('', 'default');
@demonio
demonio / myar.php
Last active Sep 8, 2016
Un mini AR para empezar a hacer cosas entre KumbiaPHP y MsSQL
View myar.php
<?php
/**
*/
class Myar
{
/**
* STEP 1
*/
public function connect()
{
@demonio
demonio / admin.phtml
Last active Sep 8, 2016
JS para editar cajas con prims
View admin.phtml
<!DOCTYPE html>
<html lang="es">
<head>
<title>Materialize</title>
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="/css/materialize.min.css" media="print,screen" rel="stylesheet">
<link href="/css/prism.css" media="print,screen" rel="stylesheet">
<link href="/css/admin.css" media="screen" rel="stylesheet">
<link href="/css/hacks.css" media="screen" rel="stylesheet">
<link href="/css/pantallita.css" media="screen" rel="stylesheet">
@demonio
demonio / dock.css
Last active Jul 21, 2016
DOCK FOR ME WEB, DOCK FOR YOU WEB
View dock.css
/* dock - top */
.dock { text-align: left; }
.dock-container { position: absolute; }
a.dock-item
{
position: absolute;
text-align: center;
}
You can’t perform that action at this time.