<?
/*
Plugin Name: Sticky Note Ads
Plugin URI: http://resell-rights-weekly.com
Description: Grab their attention with clever, colorful, and completely customizable ads that instantly draw the eye!
Version: 9.1.0.3
Author: RRW
Author URI: http://resell-rights-weekly.com
Stable tag: 9.1.0.3
*/
// Define constants
if(!defined('__DIR__')) {
    define( 'PM_SNADS_DIR', plugin_dir_url( __FILE__) );
    define( 'PM_SNADS_PATH', dirname( __FILE__) );
} else {
	define( 'PM_SNADS_DIR', WP_PLUGIN_URL.'/'.basename(__DIR__) );
	define( 'PM_SNADS_PATH', WP_PLUGIN_DIR.'/'.basename(__DIR__) );
}
define( 'PM_SNADS_WP_DIR', get_bloginfo('wpurl') );
define( 'PM_SNADS_PLUGIN_NAME', 'Sticky Note Ads' );
define( 'PM_SNADS_VERSION', '9.1.0.3' );
$pm_snads_opts = get_option( 'pm_snads_options' );

//register_activation_hook( __FILE__, 'pm_snads_activate' );
function pm_snads_activate() {

 $pm_snads_options = array(
 	'ads' => '',
 	'homepagead' => 'disabled',
 	'postadselect' => 'disabled',
 	'pageadselect' => 'disabled',
 	'categoryad' => 'disabled',
 	'cookie' => '30',
 	'disable_cookie' => 0,
 	'del_opt_settings' =>  0,  
  );
  if( !get_option('pm_snads_options') ){
	update_option('pm_snads_options', $pm_snads_options );
  }

}

include('modules/settings-api-tabbed.php');
include('modules/class.popup-options.php');
include('modules/functions.php');
include('modules/utility.php');
include('modules/meta_box.php');
?><?
/*
Plugin Name: LeadsLeap PopupXpert ID 7185
Plugin URI: http://www.leadsleap.com/popupxpert/
Description: This plugin automatically adds the JS code generated at www.leadsleap.com/popupxpert into your wordpress blog.
Version: 2.0
Author: LeadsLeap
*/

if( !function_exists("add_widget7185_to_endofpost")){
function add_widget7185_to_endofpost($content) {
if (is_single() || is_page()) {
$ih = ( is_home() == true ? 1 : 0 );
$if = ( is_front_page() == true ? 1 : 0 );
$is = ( is_single() == true ? 1 : 0 );
$ip = ( is_page() == true ? 1 : 0 );
$postid = get_the_ID();
$cats = get_the_category( $postid );
if($cats){
foreach($cats as $cat) 
{
$catArr[] = $cat->cat_name;
}
$catList = implode(',',$catArr);
}
$code = "<script id='llscript7185' src='//www.leadsleap.com/widgetxgen/js.js?c=7185&u=rcaine&iw=1&ih=$ih&if=$if&is=$is&ip=$ip&pi=$postid&cl=$catList'></script>";
$code = str_replace("\'","'",$code);
$content .= $code;
}
return $content;
}
}
if( !function_exists("add_widget7185_to_footer")){
function add_widget7185_to_footer() {
if (!is_single() && !is_page()) {
$ih = ( is_home() == true ? 1 : 0 );
$if = ( is_front_page() == true ? 1 : 0 );
$ic = ( is_category() == true ? 1 : 0 );
$it = ( is_tag() == true ? 1 : 0 );
$ix = ( is_tax() == true ? 1 : 0 );
$ia = ( is_author() == true ? 1 : 0 );
$id = ( is_date() == true ? 1 : 0 );
$i4 = ( is_404() == true ? 1 : 0 );
?>
<script id='llscript7185' src='//www.leadsleap.com/widgetxgen/js.js?c=7185&u=rcaine&iw=1&ih=<?echo $ih;?>&if=<?echo $if;?>&ic=<?echo $ic;?>&it=<?echo $it;?>&ix=<?echo $ix;?>&ia=<?echo $ia;?>&id=<?echo $id;?>&i4=<?echo $i4;?>'></script>;
<?
}
}
}
add_filter( 'the_content', 'add_widget7185_to_endofpost' );
add_action( 'wp_footer', 'add_widget7185_to_footer' );
?>
{"version":"1.0","provider_name":"More Income 4 U","provider_url":"https:\/\/moreincome4u.com\/blog","author_name":"bobcaine","author_url":"https:\/\/moreincome4u.com\/blog\/author\/bobcaine\/","title":"Home &#187; More Income 4 U","type":"rich","width":600,"height":338,"html":"<blockquote class=\"wp-embedded-content\" data-secret=\"rplJaL7r2i\"><a href=\"https:\/\/moreincome4u.com\/blog\/\">Home<\/a><\/blockquote><iframe sandbox=\"allow-scripts\" security=\"restricted\" src=\"https:\/\/moreincome4u.com\/blog\/embed\/#?secret=rplJaL7r2i\" width=\"600\" height=\"338\" title=\"&#8220;Home&#8221; &#8212; More Income 4 U\" data-secret=\"rplJaL7r2i\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" class=\"wp-embedded-content\"><\/iframe><script>\n\/*! This file is auto-generated *\/\n!function(d,l){\"use strict\";l.querySelector&&d.addEventListener&&\"undefined\"!=typeof URL&&(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&&!\/[^a-zA-Z0-9]\/.test(t.secret)){for(var s,r,n,a=l.querySelectorAll('iframe[data-secret=\"'+t.secret+'\"]'),o=l.querySelectorAll('blockquote[data-secret=\"'+t.secret+'\"]'),c=new RegExp(\"^https?:$\",\"i\"),i=0;i<o.length;i++)o[i].style.display=\"none\";for(i=0;i<a.length;i++)s=a[i],e.source===s.contentWindow&&(s.removeAttribute(\"style\"),\"height\"===t.message?(1e3<(r=parseInt(t.value,10))?r=1e3:~~r<200&&(r=200),s.height=r):\"link\"===t.message&&(r=new URL(s.getAttribute(\"src\")),n=new URL(t.value),c.test(n.protocol))&&n.host===r.host&&l.activeElement===s&&(d.top.location.href=t.value))}},d.addEventListener(\"message\",d.wp.receiveEmbedMessage,!1),l.addEventListener(\"DOMContentLoaded\",function(){for(var e,t,s=l.querySelectorAll(\"iframe.wp-embedded-content\"),r=0;r<s.length;r++)(t=(e=s[r]).getAttribute(\"data-secret\"))||(t=Math.random().toString(36).substring(2,12),e.src+=\"#?secret=\"+t,e.setAttribute(\"data-secret\",t)),e.contentWindow.postMessage({message:\"ready\",secret:t},\"*\")},!1)))}(window,document);\n\/\/# sourceURL=https:\/\/moreincome4u.com\/blog\/wp-includes\/js\/wp-embed.min.js\n<\/script>\n","description":"For a while now, I wasn&#8217;t sure what to put on this page.\u00a0 Finally, it dawned on me that what would be most helpful to all my visitors would be my actual results from programs and products I am promoting.\u00a0 As I add other programs and products, I will publish my results here. 30 Minute [&hellip;]","thumbnail_url":"http:\/\/30minutelist.com\/images\/125x125.jpg"}