Skip to content

Instantly share code, notes, and snippets.

array(2) {
[23]=>
array(4) {
["name"]=>
string(10) "Product 13"
["type"]=>
string(9) "line_item"
["item_meta"]=>
NULL
function pageTracking() {
var url = $_data.URL;
if (!url.startsWith("/")) {
url = "/" + url;
}
//console.log(url);
if (isGaLoaded()) {
<script type="text/javascript">
jQuery("body").addClass("who-are-you");
jQuery(".stagePic").insertAfter(jQuery(jQuery(".head")[0]));
jQuery("body").addClass("godo");
</script>
<?php
//portal-A.php
function format($portal, $field, $input){
$output = str_replace($input);
return $output;
}
?>
<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
<style type="text/css">
@media only screen and (max-device-width : 500px) {
.dialog{
position: absolute;
}
.dialog--open .dialog__overlay {
height: 10000px;
}
}
var article = {
issueId:"May 2015",
articleeId:"2",
url:"/article-2.html",
title:"The Moral of Caesar",
author:"by Roger Kimball",
desc:"Caesar's death was more than the end of an extraordinary life; it was the end of an era.",
fullIssue:"Vol 33, No. 9 / May 2015",
prvArticle:"/article-1.html",
nextArticle:"/article-3.html",
var article = {
issueId:"May 2015",
articleeId:"2",
url:"/article-2.html",
title:"The Moral of Caesar",
author:"by Roger Kimball",
desc:"Caesar's death was more than the end of an extraordinary life; it was the end of an era.",
fullIssue:"Vol 33, No. 9 / May 2015",
prvArticle:"/article-1.html",
nextArticle:"/article-3.html",
var articlee = {
issueId:"May 2015",
articleeId:"2",
url:"/article-2.html",
title:"The Moral of Caesar",
author:"by Roger Kimball",
desc:"Caesar's death was more than the end of an extraordinary life; it was the end of an era.",
fullIssue:"Vol 33, No. 9 / May 2015",
prvArticle:"/article-1.html",
nextArticle:"/article-3.html",
String.prototype.hashCode = function() {
var hash = 0, i, chr, len;
if (this.length === 0) return hash;
for (i = 0, len = this.length; i < len; i++) {
chr = this.charCodeAt(i);
hash = ((hash << 5) - hash) + chr;
hash |= 0; // Convert to 32bit integer
}
return hash;
};
{
"object":"page",
"entry":[
{
"id":"51044240199134611",
"time":1447342027,
"changes":[
{
"field":"leadgen",
"value":{