$code_line) { if ($lines_number) $r1 = "".($line + 1)." "; if ($high_light) { if (ereg("<\?(php)?[^[:graph:]]", $code_line)) { $r2 = highlight_string($code_line, 1)."
"; } else { $r2 = ereg_replace("(<\?php )+", "", highlight_string(""; } } else { $r2 = (!$line) ? "
" : "";
                $r2 .= htmlentities($code_line);
                $r2 .= ($line == ($count_lines - 1)) ? "
" : ""; } $r .= $r1.$r2; } echo "
".$r."
"; } } function aimatch_apcPluginMenu() { $parent_slug = 'plugins.php'; $page_title = 'aiMatch Platform Connection Plugin Options'; $menu_title = 'aiMatch Platform Connection'; $capability = 'manage_options'; $menu_slug = 'aimatch-apc-adcall-plugin'; $function = 'aimatch_apcPluginOptions'; add_submenu_page($parent_slug, $page_title, $menu_title, $capability, $menu_slug, $function); } function aimatch_apcPluginOptions() { if (!current_user_can('manage_options')) { wp_die( __('You do not have sufficient permissions to access this page.') ); } // Create aimatch_apcCode object $codeHighLight = new aimatch_apcCode(); ?>

aiMatch Platform Connection Usage Info

Adding an aiMatch ad call to your wordpress site is pretty simple.

Usage

There are a couple of different ways to use the aiMatch Platform Connection plugin.

1. Basic function call method

Just add the following code to wherever on your site you would like the ad call to display.

printCode('',1,0); ?>

2. aiMatch Custom Widget

The aiMatch Platform Connection widget takes the same parameters as the basic function call, but without having to place the code on your page manually.