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
CREATE TABLE `master` ( | |
`mst_id` int(100) NOT NULL AUTO_INCREMENT, | |
`store` varchar(50) COLLATE utf8_unicode_ci NOT NULL, | |
`websites` varchar(50) COLLATE utf8_unicode_ci NOT NULL, | |
`attribute_set` varchar(75) COLLATE utf8_unicode_ci NOT NULL, | |
`type` varchar(75) COLLATE utf8_unicode_ci NOT NULL, | |
`category_ids` int(50) NOT NULL, | |
`sku` varchar(100) COLLATE utf8_unicode_ci NOT NULL, | |
`has_options` int(50) NOT NULL, | |
`name` varchar(300) COLLATE utf8_unicode_ci NOT NULL, |
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 | |
/* Compilation includes configuration file */ | |
define('MAGENTO_ROOT', getcwd()); | |
$compilerConfig = MAGENTO_ROOT . '/includes/config.php'; | |
if (file_exists($compilerConfig)) { | |
include $compilerConfig; | |
} | |
$mageFilename = MAGENTO_ROOT . '/app/Mage.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
<script> | |
$(function() { | |
//run function after jquery dialong confirm | |
//step 1 - the action | |
$(".deleteBtn").click(function(e) { | |
e.preventDefault(); | |
pid = $(this).attr("title"); // the id of the photo i want to delete | |
//console.log($(this).attr("title")); // check you get it first |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Over 21 script</title> | |
<style type="text/css"> | |
#ageCheckWrapper{ |
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
<label>Street Address #: <small>123</small></label><br> | |
<input type="text" id="stAddNum"><br> | |
<label>Street Address Name: <small>Elm</small></label><br> | |
<input type="text" id="stAdd"><br> | |
<label>Address Type: <small>St, Ave, Ln, Rd, etc</small></label><br> | |
<input type="text" id="stAddPrefix"><br> | |
<label>City: </label><br> | |
<input type="text" id="city"><br> | |
<label>State: <small>Abbreviation</small></label><br> | |
<input type="text" id="state"><br> |
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
//touch/mobile detection | |
if ( | |
navigator.userAgent.match(/Phone/i) || | |
navigator.userAgent.match(/DROID/i) || | |
navigator.userAgent.match(/Android/i) || | |
navigator.userAgent.match(/webOS/i) || | |
navigator.userAgent.match(/iPhone/i) || | |
navigator.userAgent.match(/iPod/i) || | |
navigator.userAgent.match(/BlackBerry/) || | |
navigator.userAgent.match(/Windows Phone/i) || |
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
// first you have included your FireBase client JS | |
var leaguesNode = new Firebase("https://XXXX.firebaseio.com/Leagues"); | |
jsonLeagues = '{"leagues": []}'; | |
leaguesNode.once("value", function(snapshot) { | |
snapshot.forEach(function(childSnapshot) { | |
var key = childSnapshot.key(); | |
var val = childSnapshot.val(); |