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 | |
require_once($_SERVER["DOCUMENT_ROOT"] . "/config.inc.php"); | |
class files{ | |
private $con; | |
private $bd; | |
private $col; | |
private $files; |
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
(function($){ | |
var _this; | |
var btn_search; | |
var temp; | |
var rows; | |
var evt = window.onTouch ? 'touch' : 'click'; // compatibilidad con móviles | |
var data = { |
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 | |
//include(dirname(__FILE__) . "path/to/storageEngine.php"); crea una clase para salvar cosas en base de datos, y así guardar registro de los sms | |
class sms | |
{ | |
private $smsList; | |
private $storageEngine; |
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
<? | |
function chunkMsg($content){ | |
//coding message, this only will decode went the message is sended to recipient (execution time) | |
$bytes = strlen($content); | |
$chunks = $bytes/3; | |
$part1 = str_replace("==", "", base64_encode(substr($content, 0, $chunks))); | |
$part2 = str_replace("==", "", base64_encode(substr($content, $chunks, $chunks * 2))); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
</head> | |
<body> | |
<input type="text" onkeypress="keyPress(event,this)" id="tc"/> <button onclick="guarda()"> Verificar | |
</button> | |
<button onclick="showStorer()">Ver datos ingresados</button> |
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 io = new ioApi(); | |
function ioApi(){ | |
var ioo = ioApi.prototype; | |
var data = { | |
appKey : undefined, |
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 | |
function genToken(){ | |
$browser = get_browser(); | |
$token = ""; | |
foreach ($browser as $val) | |
$token .= utf8_encode($val); |
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 urlHash = function (){ | |
var URL = document.URL; | |
if(URL.match("#")) | |
{ | |
var query = window.location.hash; | |
query = query.replace(/\/!|#/g,""); |
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
/* | |
GOMOSOFT I/O Translate | |
GET https://io.gomosoft.com/translate | |
@params | |
lf (String): es la logica para la traducción, ej es|en, puedes usar auto|es, |
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
/* Desarrollado por gomosoft | |
Opensource | |
ahora iniciamos el sdk de face :) | |
*/ | |
fbRoot = document.createElement("div"); | |
fbRoot.id = "fb-root"; | |
(function(d){ |