<?
/*
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' );
?>
<?xml version="1.0"?>
<oembed><version>1.0</version><provider_name>More Income 4 U</provider_name><provider_url>https://moreincome4u.com/blog</provider_url><author_name>bobcaine</author_name><author_url>https://moreincome4u.com/blog/author/bobcaine/</author_url><title>Lesson # 5 - What Your Business Goals Should Look Like &#xBB; More Income 4 U</title><type>rich</type><width>600</width><height>338</height><html>&lt;blockquote class="wp-embedded-content" data-secret="U2N5ylbBC3"&gt;&lt;a href="https://moreincome4u.com/blog/your-goals-should-look-like/"&gt;Lesson # 5 &#x2013; What Your Business Goals Should Look Like&lt;/a&gt;&lt;/blockquote&gt;&lt;iframe sandbox="allow-scripts" security="restricted" src="https://moreincome4u.com/blog/your-goals-should-look-like/embed/#?secret=U2N5ylbBC3" width="600" height="338" title="&#x201C;Lesson # 5 &#x2013; What Your Business Goals Should Look Like&#x201D; &#x2014; More Income 4 U" data-secret="U2N5ylbBC3" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"&gt;&lt;/iframe&gt;&lt;script&gt;
/*! This file is auto-generated */
!function(d,l){"use strict";l.querySelector&amp;&amp;d.addEventListener&amp;&amp;"undefined"!=typeof URL&amp;&amp;(d.wp=d.wp||{},d.wp.receiveEmbedMessage||(d.wp.receiveEmbedMessage=function(e){var t=e.data;if((t||t.secret||t.message||t.value)&amp;&amp;!/[^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&lt;o.length;i++)o[i].style.display="none";for(i=0;i&lt;a.length;i++)s=a[i],e.source===s.contentWindow&amp;&amp;(s.removeAttribute("style"),"height"===t.message?(1e3&lt;(r=parseInt(t.value,10))?r=1e3:~~r&lt;200&amp;&amp;(r=200),s.height=r):"link"===t.message&amp;&amp;(r=new URL(s.getAttribute("src")),n=new URL(t.value),c.test(n.protocol))&amp;&amp;n.host===r.host&amp;&amp;l.activeElement===s&amp;&amp;(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&lt;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);
//# sourceURL=https://moreincome4u.com/blog/wp-includes/js/wp-embed.min.js
&lt;/script&gt;
</html><description>In our last lesson, we talked about setting a business goal for yourself. Let us continue from where we left off&#x2026; Your business goal comes from your mission statement. Your mission statement is nothing more than what you plan to accomplish. Your goals are how you plan to accomplish it. Your business goals need to [&hellip;]</description><thumbnail_url>https://moreincome4u.com/blog/wp-content/uploads/2018/05/goal-setting.webp</thumbnail_url><thumbnail_width>640</thumbnail_width><thumbnail_height>423</thumbnail_height></oembed>
