Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<title>Site 1</title>
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="crossorigin="anonymous"></script>
<script>
// var bsLeadgenConfirmCampaign = 'Lead Gen – LW Dividend ETFs';
</script>
<!--BING-->
<script>(function(w,d,t,r,u){var f,n,i;w[u]=w[u]||[],f=function(){var o={ti:"XXXXXX"};o.q=w[u],w[u]=new UET(o),w[u].push("pageLoad")},n=d.createElement(t),n.src=r,n.async=1,n.onload=n.onreadystatechange=function(){var s=this.readyState;s&&s!=="loaded"&&s!=="complete"||(f(),n.onload=n.onreadystatechange=null)},i=d.getElementsByTagName(t)[0],i.parentNode.insertBefore(n,i)})(window,document,"script","//bat.bing.com/bat.js","uetq");</script>
<!-- CRITEO -->
<script type="text/javascript" src="//static.criteo.net/js/ld/ld.js" async="true"></script>
<script type="text/javascript">
window.criteo_q = window.criteo_q || [];
var deviceType = /iPad/.test(navigator.userAgent) ? "t" : /Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent) ? "m" : "d";
window.criteo_q.push({
jQuery( document ).ready(function($) {
//target whatever submits the form.
$('button.lp-pom-button').on('click', function (e) {
//prevent the form from submitting
e.preventDefault();
//get the email address
var emailaddress = $('.form_elem_email').val();
/*
REMOVE EMAIL PII FROM URL
For best use: run this after scripts that need to leverage the email in the query string
and before you start loading marketing pixels.
*/
var afga_page_props = {
is_logged_in : 'true',
tags : 'tags:autoimmune disorder,tags:gains,tags:Phase 3,tags:placebo,tags:platelets,tags:Rigel Pharmaceuticals (RIGL),tags:trial data,sent:exclusivity,sent:long term,sent:bio tech,',
authors : 'Ray Blanco',
categories : 'Flash Alert,',
post_type : 'post'
}
Using this Table definition...
CREATE TABLE test (
id INT NOT NULL,
last_name CHAR(30) NOT NULL,
first_name CHAR(30) NOT NULL,
PRIMARY KEY (id),
INDEX name (first_name, last_name)
);
<a href="linktopromo" target="_blank"><img class="new-image" src="imageurlhere"></a>
@tjtate
tjtate / gist:0e446c059f0beed59511
Last active August 29, 2015 14:17
CSS3 columns
<ul class="list-column-2">
<li><a href="">How do I unsubscribe?</a></li>
<li><a href="">How do I remove my subscription from automatic renewal?</a></li>
<li><a href="">How can I the find the expiration date of my subscription?</a></li>
<li><a href="">What is my refund policy?</a></li>
<li><a href="">What is my username and password?</a></li>
<li><a href="">What is Jim Rickards' Strategic Intelligence?</a></li>
<li><a href="">Does my subscription come with an automatic renewal option?</a></li>
<li><a href="">When will I be charged for automatic renewal?</a></li>
<li><a href="">How and when will my money be returned to me?</a></li>
<?php
private function getGoogleData($customerIDDim, $customerNumber, $value) {
$params = array(
'metrics' => $value[1],
'dimensions' => $value[0],
'filters' => $customerIDDim.'=='.$customerNumber,
);
$results = $this->googleAuth->_query($params);
<form action="post.php" type="post">
<input type="text" name="firstname" value="first name" />
<input type="submit" value="submit">
</form>
<!---on the post.php page -->
<?php echo $_GET['firstname']; ?>
<!--OR if you need some logic-->