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($){ | |
$(document).ready(function() | |
{ | |
// avia_header_size function initialization | |
avia_header_size(); | |
}); |
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 | |
/* | |
Template Name: Iframe | |
*/ | |
?> | |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> |
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
/* | |
* COMPILED WITH LESS | |
*/ | |
/* Table of Contents | |
================================================== | |
#Base 960 Grid | |
#Tablet (Portrait) | |
#Mobile (Portrait) | |
#Mobile (Landscape) | |
#Clearing */ |
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 the_content_ad($content){ | |
if(is_single()){ | |
$switch = 1;$cont_ad = 0;$parrafo = 0; | |
for($i=0;$i<strlen($content);$i++) | |
{ | |
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 | |
session_start(); | |
header('Content-type: text/css'); | |
include '../..//../wp-config.php'; | |
$con=mysql_connect(DB_HOST,DB_USER,DB_PASSWORD); | |
mysql_select_db(DB_NAME,$con) or die("No se puede conectar a la basedatos"); | |
$options = get_option('tursos_options'); |
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
require 'rubygems' | |
require 'nokogiri' | |
require 'open-uri' | |
url = "http://web.tursos.com" | |
doc = Nokogiri::HTML(open(url)) | |
doc.css("h1 a").each do |item| | |
puts item.text | |
end |
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 ga_func( $atts ) { | |
extract( shortcode_atts( | |
array("id" => "123" | |
), $atts ) | |
); | |
return "<script type='text/javascript'> | |
var _gaq = _gaq || []; |
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
/* | |
* jQuery Nivo Slider v2.5.2 | |
* http://nivo.dev7studios.com | |
* | |
* Copyright 2011, Gilbert Pellegrom | |
* Free to use and abuse under the MIT license. | |
* http://www.opensource.org/licenses/mit-license.php | |
* | |
* March 2010 | |
*/ |
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('conexion.php'); | |
$id = $_GET['id']; | |
mysql_query("DELETE FROM `users` WHERE `id` = '$id' ") ; | |
?> |