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
$(document).ready(function(){ | |
$('.noalmuadilla').click(function (event) | |
{ | |
event.preventDefault(); | |
//here you can also do all sort of things | |
}); | |
$('.boton_pagar').hide(); | |
$('#calcular').click(function(){ | |
if($('#Admin_ched').is(':checked')){ | |
var admin_tipo=$('.tipos_adminis:checked').val(); |
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 | |
$config['base_url'] = 'http://localhost/'; |
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 ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/* | |
|-------------------------------------------------------------------------- | |
| Base Site URL | |
|-------------------------------------------------------------------------- | |
| | |
| URL to your CodeIgniter root. Typically this will be your base URL, | |
| WITH a trailing slash: | |
| |
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
var http = require("http"); | |
var url = require("url"); | |
function iniciar(route) { | |
function onRequest(request, response) { | |
var pathname = url.parse(request.url).pathname; | |
console.log("Peticion para " + pathname + " recibida."); | |
route(pathname); |
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 | |
$coneccion=mysql_connect('localhost','root',''); | |
$base_datos=mysql_select_db('pruebas alpha'); | |
if(!$coneccion){ | |
echo('error coneccion'); | |
} |
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 | |
$coneccion=mysql_connect('localhost','root',''); | |
$base_datos=mysql_select_db('pruebas alpha'); | |
if(!$coneccion){ | |
echo('error coneccion'); | |
} |
NewerOlder