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
<html> | |
<head> | |
<style> | |
video{ | |
width: 250px; | |
height: 250px; | |
background: black; | |
} | |
</style> |
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
<form name="form1" method="post" action="usuarios.php" id="cdr" > | |
<input name="buscar" type="text" id="busqueda"> | |
<input type="submit" name="Submit" value="buscar" /> | |
</form> | |
<?php | |
if isset($_POST['buscar']){ | |
$busca = $_POST['buscar']; | |
}else{ |
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 | |
$numerotel = $_POST['telefono']; | |
$conectar = mysql_connect("localhost","root","" ); | |
mysql_select_db("usuario",$conectar); | |
//Me parece que el error debe andar aquí | |
$seleccionar = "SELECT numero FROM telefonico"; |
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 | |
$ptaz = $_REQUEST['p']; //A QUE PTAZ O COM PERTENECE. | |
$lugar = $_REQUEST['l']; //A QUE LUGAR PERTENECE. | |
$flag = $_REQUEST['flag']; //BANDERA PARA SABER SI ESTAN VENCIDAS O NO. | |
$trim = $_REQUEST['t']; // PARA SABER EL TRIMESTRE QUE SE ESTA VISUALIZANDO. | |
//PARA HACER FUNCIONAR EL PAGINATOR | |
$subquery = " | |
FROM control | |
WHERE control.FECHA > '2013-01-01' AND |
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 type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
<script src="js/jquery.flexslider-min.js" type="text/javascript"></script> | |
<script src="js/jquery.easing.1.3.js" type="text/javascript"></script> | |
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/> | |
<script type="text/javascript"> | |
$(window).load(function() { | |
$('.flexslider').flexslider(); | |
}); | |
</script> |
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 | |
$usuario = $_GET['usuario']; | |
$tab = $_GET['tab']; | |
function tab1($selected = False){ | |
?> <div id="tab1" class="contenido_tab <?php echo $sec = ($selected) ? "clase_que_marca como seleccionado" : "" ?>" > | |
otro contenido que va aca y que no me importa | |
</div><?php | |
} | |
function tab2($selected = False){ | |
?> <div id="tab2" class="contenido_tab <?php echo $sec = ($selected) ? "clase_que_marca como seleccionado" : "" ?>" > |
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
SELECT a.id_alumno, c.* FROM alumno a | |
LEFT JOIN curso c ON c.id_curso NOT IN (SELECT id_curso FROM alumno_curso WHERE id_alumno = a.id_alumno); |
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
<html> | |
<head> | |
<script> | |
img = new Image(); | |
img.src = "imagen_bg_pesada.jpg"; | |
</script> | |
<style> | |
body{ background-image: url("imagen_bg_pesada,jpg");} | |
</style> | |
</head> |
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
import re | |
pattern = re.compile(r"(hola|adios|nuevo) [a-zA-Z0-9]") | |
def consola(): | |
global pattern | |
while True: | |
mensaje = raw_input("enviar un mensaje: ") | |
match = pattern.match(mensaje) | |
if match: | |
print match.group(0) | |
else: |
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
<html> | |
<head> | |
<title>.......</title> | |
</head> | |
<body> | |
<form method="post"> | |
<fieldset> | |
<legend>Ingrese los siguientes datos</legend> | |
<label>Nombre:<input type="text" name="nombre"</label> | |
<label>Apellido paterno:<input type="text" name="ap_pat"</label> |