Released under the terms of the GNU General Public License.
You should have received a copy of the GNU General Public License,
along with this software. In the main directory, see: /licensing/
If not, see: .
*/
/*
Version: 1.9.1
Framework: W-2.1
Stable tag: 1.9.1
WordPress Compatible: yes
WordPress MU Compatible: yes
MU Blog Farm Compatible: yes
Tested up to: 2.9
Requires at least: 2.8.4
Requires: WordPress® 2.8.4+, PHP 5.2+
Copyright: © 2009 WebSharks, Inc.
License: GNU General Public License
Contributors: WebSharks, PriMoThemes
Author URI: http://www.primothemes.com/
Author: PriMoThemes.com / WebSharks, Inc.
Donate link: http://www.primothemes.com/donate/
ZipId: ad-squares-widget
FolderId: ad-squares-widget
Plugin Name: Ad Squares Widget
Plugin URI: http://www.primothemes.com/post/ad-squares-widget/
Description: The Ad Squares Widget makes it possible for you to display 125x125 ad squares ( or some other configurable size ad, advertisement, banner ) into a widget-ready bar for WordPress®. It supports AdSense®, Javascript, XHTML and more.
Tags: widget, widgets, ad codes, ad squares, square, squares, ads, adsense, google, sponsors, advertise, advertisements, banners, ad networks, banner rotation, options panel included, websharks framework, w3c validated code, multi widget support, includes extensive documentation, highly extensible
*/
/*
Direct access denial.
*/
if (realpath (__FILE__) === realpath ($_SERVER["SCRIPT_FILENAME"]))
exit;
/*
Compatibility checks.
*/
if (version_compare (PHP_VERSION, "5.2", ">=") && version_compare (get_bloginfo ("version"), "2.8.4", ">=") && !isset ($GLOBALS["WS_WIDGET__"]["ad_squares"]))
{
/*
Record the location of this file.
*/
$GLOBALS["WS_WIDGET__"]["ad_squares"]["l"] = __FILE__;
/*
Function includes.
*/
include_once dirname (__FILE__) . "/includes/funcs.inc.php";
/*
Syscon includes.
*/
include_once dirname (__FILE__) . "/includes/syscon.inc.php";
/*
Hook includes.
*/
include_once dirname (__FILE__) . "/includes/hooks.inc.php";
}
/*
Else handle incompatibilities.
*/
else if (is_admin () || ($_GET["preview"] && $_GET["template"]))
{
if (!version_compare (PHP_VERSION, "5.2", ">="))
{
register_shutdown_function (create_function ('', 'echo \'\';'));
}
else if (!version_compare (get_bloginfo ("version"), "2.8.4", ">="))
{
register_shutdown_function (create_function ('', 'echo \'\';'));
}
}
?>