This file contains 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
public function table($array,$headers,$title){ | |
$table = ''; | |
$table .= "<table id=table class=table >\n"; | |
if($title != ''){ | |
$table .= "<caption >$title</caption>\n"; | |
} | |
$table .=" <thead><tr>\n"; | |
$r = 1; | |
if(!is_array($headers)){ | |
$headers = array_keys($array[0]); |
This file contains 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 total = 0; | |
var suma = 0; | |
$.each($("input"), function (index, value) { | |
total = total + 1 ; | |
if( $(value).val() != '' ){ | |
suma = suma + 1 ; | |
} | |
}); | |
This file contains 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 | |
$handler = opendir($directory); | |
foreach($files as $f){ | |
if(!in_array($f,array('.','..') ) ) | |
echo $f, '<br/>'; | |
} | |
closedir($handler); | |
/*cambia foldername por ../ vuelvelo a subir y mira la magia y luego por ../../ y asi :P o por ../nombredeotrodir | |
/* hasta encontrar lo que buscas |
This file contains 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
public function Hours2Mins($time, $format = '%s:%s:%s') | |
{ | |
settype($time, 'integer'); | |
if ($time < 0 || $time >= 1440) { | |
return; | |
} | |
$hours = sprintf('%02d', floor($time/60) ); | |
$minutes = sprintf('%02d', $time%60); | |
$seconds = '00'; | |
return sprintf($format, $hours, $minutes , $seconds ); |
This file contains 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
Uncaught ReferenceError: FB is not defined loginUser.js:295 | |
GET http://us.img.e-planning.net/layers/epl-41.js eplanningv4.js:33 | |
GET http://ads.us.e-planning.net/egc/4/115d eplanningv4.js:37 | |
duplicate in.js loaded, any parameters will be ignored in.js:5 | |
FB.init has already been called - this could indicate a problem all.js:52 | |
GET http://ads.us.e-planning.net/eb/3/11f3/73cc9abac23ff22f?o=j&rnd=677740114001&crs=UTF-8 344547-3:476 | |
Port error: Could not establish connection. Receiving end does not exist. miscellaneous_bindings:235 | |
Unknown RPC service: widget-interactive-I0_1369989299823 cb=gapi.loaded_0:121 | |
Unknown RPC service: widget-interactive-I1_1369989300057 cb=gapi.loaded_0:121 | |
GET http://adserver.cxad.cxense.com/adserver/search?media=javascript&asId=00000…791904247277&prnd=9txmm0pjksw4&tzo=300&rnd=1099849022&callback=cX.cX8k0g7t cx.js:537 |
This file contains 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
well, i'm bootstrapping, working and freelancing, afortunadamente no dependo del todo de la plata del freelancing porque making a living out of that es bien didicil, el article is an understatement, uno tiene que ir a eventos, conocer genre, etc….. ah, aparte, te pagan cuando se les da la gana, si acaso te pagan. dos veces que he trabajado a traves de freelancer.com no me pagaron si no solo el adelante… obvio ps no les di el codigo, pero te hace perder tiempo. También acá en colombia, te dicen hey necesito esto de afan, y te pagan cuando quieren. | |
si uno lo hace bien puede ganarse una buena liga, pero no es lo mío, por lo menos no para depender 100% de eso, es bueno tener trabajito en un sitio que no se atrasan en los pagos, que uno puede trabajar y comer tranquilizo y etc, y hacer plata extra como freelance para poder comprar magicmouse o cosas adicionales |
This file contains 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
<form method="post" action="https://gateway.pagosonline.net/apps/gateway/index.html" id="pagosonline_form" name="pagosonline_form"> | |
<input type="hidden" name="descripcion" value="{$p.gtitle|stripslashes}" /> | |
<input type="hidden" name="valor" value="{$value[1]}" id='povalue'/> | |
<input type="hidden" name="usuarioId" value="{$login}" /> | |
<input type="hidden" name="moneda" value="COP" /> | |
<input name="lng" type="hidden" value="es"> | |
<input name="iva" type="hidden" value="0.00"> | |
<input name="baseDevolucionIva" type="hidden" value="0.00"> | |
<input type="hidden" name="emailComprador" value="{$emailcomprador}" /> | |
<input type="hidden" name="url_respuesta" value="{$baseurl}/thank_you?g={$eid}" /> <!--Url where user is returned--> |
This file contains 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
'130509073102086', | |
'130509074330010', | |
'1305090744295612', | |
'130509080848022', | |
'1305090810421758', | |
'1305090811531833', | |
'1305090812530248', | |
'130509081534082', | |
'130509081614057', | |
'130509081703015', |
This file contains 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 makeCounter = function(){ | |
var n=0; | |
return function(){ | |
return n = n + 1; | |
} | |
} | |
var counter1 = makeCounter(); | |
var counter2 = makeCounter(); |
This file contains 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
//Colocar clase date-input | |
$(function(){ | |
$('.date-input').attr('placeholder','AAAA-MM-DD').on('change', function(e){ | |
var dt=$(this).val(); | |
if(dt!='') | |
{ | |
var da= dt.split('-'); | |
var l = da.length; | |
if(l <= 3) | |
{ |