settings page.
Author: aiMatch
Version: 1.0
Author URI: http://www.aimatch.com
*/
/*
aiMatch Platform Connection
Copyright (C) 2011 aiMatch
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
// Options file include
include_once dirname(__FILE__) . '/aimatch_apcOptions.php';
// Widgets file include
include_once dirname(__FILE__) . '/aimatch_apcWidgets.php';
// Call options
add_action('admin_menu', 'aimatch_apcPluginMenu');
// Call Widgets
add_action( 'widgets_init', 'aimatch_apcLoadWidgets' );
// Ad call core function
function aimatch_apc($adServer, $shortName, $adCallType, $targeting, $adSize) {
// Get the width and height from $adSize
$iSize = explode("x", $adSize);
if ($adCallType == 'jserver') { ?>