This file contains hidden or 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
color: black; |
This file contains hidden or 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 | |
/** Autocargador de librerias **/ | |
spl_autoload_register('autocargador'); | |
function autocargador($insNom) | |
{ | |
include $insNom . '.class.php'; | |
} |
This file contains hidden or 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 | |
/** | |
* Multiconstructs | |
*/ | |
class nomClass { | |
function __construct() { | |
$a = func_get_args(); | |
$i = func_num_args(); |
This file contains hidden or 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_EOL |
This file contains hidden or 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 randomFromInterval(from,to) { | |
return Math.floor(Math.random()*(to-from+1)+from); | |
} |
This file contains hidden or 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
<script src="lang/en.js" type="text/javascript"></script> | |
<script src="lang/es.js" type="text/javascript"></script> | |
<script type="text/javascript"> | |
var sIdioma = 'en'; | |
if(localStorage['idioma']) { | |
sIdioma = localStorage['idioma']; | |
} | |
$('#bandera').css('background-image', 'url("img/Flag-' + sIdioma + '.png")'); | |
$("#text0").html(eval('sText0' + sIdioma)); |
This file contains hidden or 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 | |
//For | |
for ($i = 0; $i < 5; $i++) { | |
echo $i; | |
} | |
//While | |
$iNum = 0; | |
while ($iNum <= 10) { |
This file contains hidden or 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
$_SERVER['REQUEST_METHOD'] == 'GET' |
This file contains hidden or 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 | |
if($_SERVER['REQUEST_METHOD'] == 'POST') { | |
} | |
?> |
OlderNewer