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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /> | |
<title>PHP com Jquery e Json</title> | |
<style type="text/css"> | |
.product { | |
float:left; | |
background:#ccc; |
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> | |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/> | |
<title>Google Directions Mashup On LQDI Design & Interação :: @dannjesus </title> | |
<link href="http://code.google.com/apis/maps/documentation/javascript/examples/standard.css" rel="stylesheet" type="text/css" /> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script> | |
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> | |
<style type="text/css"> |
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
<!-- Marcação HTML--> | |
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://ogp.me/ns#" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="pt-br" lang="pt-br"> | |
<!--// marcação HTML --> | |
<!-- Tags acionais Open Graph e Facebook --> | |
<meta property="og:title" content="Titulo da página"/> | |
<meta property="og:type" content="article"/> |
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
<binding key="ctrl+e" command="zenExpand" uuid="59b1aa71-38c6-11df-af16-00037af1a101"> | |
<context name="selector" value="(text.html || text.xml) - source"/> | |
</binding> | |
<binding key="ctrl+e" command="zenExpand" uuid="59b1aa71-38c6-11df-af16-00037af1a101"> | |
<context name="selector" value="source.css" /> | |
</binding> |
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
document.getElementById("seletor").addEventListener('touchmove', function(e) { | |
//Add events here | |
}, false); |
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 | |
# ========================================================================# | |
# | |
# Author: Jarrod Oberto | |
# Version: 1.0 | |
# Date: 17-Jan-10 | |
# Purpose: Resizes and saves image | |
# Requires : Requires PHP5, GD library. | |
# Usage Example: |
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
public static function QuickConnect($server) { | |
return LDB::Connect($server['hostname'], $server['username'], $server['password'], $server['database'], $server['port'], $server['table_prefix'], $server['auto_switch'], $server['persistent'], $server['driver']); | |
} |
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
public function login() { | |
if ($_SESSION['csrfToken'] == $_POST['isValid']) { | |
$username = clear($_POST['username']); | |
$password = User::generateHash($_POST['password']); | |
$user = LDB::GetSingleByProperty("users", array('username' => $username)); | |
if (!$user) { | |
redirect("admin/dashboard/index/login_failed"); | |
} else if ($user['password'] !== $password) { |
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 | |
/** | |
* load XML file | |
* LIMIT 4 lines | |
*/ | |
$eventos = simplexml_load_file("agenda.xml"); | |
$count = 0; | |
?> |
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 | |
if($_POST){ | |
//header("Content-Type: text/html; charset=ISO-8859-1",true); | |
include_once('PHPMailer.php'); | |
include_once('class.smtp.php'); | |
include_once('_lightToolkit/libs.php'); // Change this line |
OlderNewer