AdRotate Banner Manager - Version 3.12.1

Version Description

FREE = * [fix] Block width not applied correctly for some users * [fix] %title% variable not converted correctly

Download this release

Release Info

Developer adegans
Plugin Icon 128x128 AdRotate Banner Manager
Version 3.12.1
Comparing to
See all releases

Code changes from version 3.12 to 3.12.1

adrotate-export.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
adrotate-functions.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
adrotate-manage-publisher.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
adrotate-output.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
@@ -23,7 +23,7 @@ function adrotate_ad($banner_id, $individual = true, $group = null, $site = 0) {
23
  $output = '';
24
 
25
  if($banner_id) {
26
- $banner = $wpdb->get_row($wpdb->prepare("SELECT `id`, `bannercode`, `tracker`, `link`, `image`, `responsive` FROM `{$wpdb->prefix}adrotate` WHERE `id` = %d AND (`type` = 'active' OR `type` = '2days' OR `type` = '7days');", $banner_id));
27
 
28
  if($banner) {
29
  if($adrotate_debug['general'] == true) {
@@ -42,7 +42,7 @@ function adrotate_ad($banner_id, $individual = true, $group = null, $site = 0) {
42
  $image = str_replace('%folder%', $adrotate_config['banner_folder'], $banner->image);
43
 
44
  if($individual == true) $output .= '<div class="a-single a-'.$banner->id.'">';
45
- $output .= adrotate_ad_output($banner->id, 0, $banner->bannercode, $banner->tracker, $banner->link, $image, $banner->responsive);
46
  if($individual == true) $output .= '</div>';
47
 
48
  if($adrotate_config['stats'] == 1 AND $banner->tracker == "Y") {
@@ -93,6 +93,7 @@ function adrotate_group($group_ids, $fallback = 0, $weight = 0, $site = 0) {
93
  $ads = $wpdb->get_results(
94
  "SELECT
95
  `{$wpdb->prefix}adrotate`.`id`,
 
96
  `{$wpdb->prefix}adrotate`.`bannercode`,
97
  `{$wpdb->prefix}adrotate`.`link`,
98
  `{$wpdb->prefix}adrotate`.`image`,
@@ -152,7 +153,7 @@ function adrotate_group($group_ids, $fallback = 0, $weight = 0, $site = 0) {
152
  $image = str_replace('%folder%', $adrotate_config['banner_folder'], $banner->image);
153
 
154
  $output .= '<div class="g-dyn a-'.$banner->id.' c-'.$i.'">';
155
- $output .= $before.adrotate_ad_output($banner->id, $group->id, $banner->bannercode, $banner->tracker, $banner->link, $image, $banner->responsive).$after;
156
  $output .= '</div>';
157
  $i++;
158
  }
@@ -168,7 +169,7 @@ function adrotate_group($group_ids, $fallback = 0, $weight = 0, $site = 0) {
168
  $image = str_replace('%folder%', $adrotate_config['banner_folder'], $selected[$banner_id]->image);
169
 
170
  $output .= '<div class="g-col b-'.$group->id.' a-'.$selected[$banner_id]->id.'">';
171
- $output .= $before.adrotate_ad_output($selected[$banner_id]->id, $group->id, $selected[$banner_id]->bannercode, $selected[$banner_id]->tracker, $selected[$banner_id]->link, $image, $selected[$banner_id]->responsive).$after;
172
  $output .= '</div>';
173
 
174
  if($columns == $group->gridcolumns AND $i != $block_count) {
@@ -190,7 +191,7 @@ function adrotate_group($group_ids, $fallback = 0, $weight = 0, $site = 0) {
190
  $image = str_replace('%folder%', $adrotate_config['banner_folder'], $selected[$banner_id]->image);
191
 
192
  $output .= '<div class="g-single a-'.$selected[$banner_id]->id.'">';
193
- $output .= $before.adrotate_ad_output($selected[$banner_id]->id, $group->id, $selected[$banner_id]->bannercode, $selected[$banner_id]->tracker, $selected[$banner_id]->link, $image, $selected[$banner_id]->responsive).$after;
194
  $output .= '</div>';
195
 
196
  if($adrotate_config['stats'] == 1){
@@ -364,7 +365,7 @@ function adrotate_preview($banner_id) {
364
 
365
  if($banner) {
366
  $image = str_replace('%folder%', '/wp-content/banners/', $banner->image);
367
- $output = adrotate_ad_output($banner->id, 0, $banner->bannercode, $banner->tracker, $banner->link, $image, 'N');
368
  } else {
369
  $output = adrotate_error('ad_expired');
370
  }
@@ -383,7 +384,7 @@ function adrotate_preview($banner_id) {
383
  Return: $banner_output
384
  Since: 3.0
385
  -------------------------------------------------------------*/
386
- function adrotate_ad_output($id, $group = 0, $bannercode, $tracker, $link, $image, $responsive) {
387
  global $blog_id, $adrotate_debug, $adrotate_config;
388
 
389
  $banner_output = $bannercode;
@@ -588,7 +589,7 @@ function adrotate_custom_css() {
588
  if($group->modus == 2) { // Block group
589
  if($group->adwidth != 'auto') {
590
  $width_sum = $group->gridcolumns * ($group->admargin + $group->adwidth + $group->admargin);
591
- $grid_width = "width:".$group->admargin."px; max-width:".$width_sum."px;";
592
  } else {
593
  $grid_width = "width:auto;";
594
  }
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
23
  $output = '';
24
 
25
  if($banner_id) {
26
+ $banner = $wpdb->get_row($wpdb->prepare("SELECT `id`, `title`, `bannercode`, `tracker`, `link`, `image`, `responsive` FROM `{$wpdb->prefix}adrotate` WHERE `id` = %d AND (`type` = 'active' OR `type` = '2days' OR `type` = '7days');", $banner_id));
27
 
28
  if($banner) {
29
  if($adrotate_debug['general'] == true) {
42
  $image = str_replace('%folder%', $adrotate_config['banner_folder'], $banner->image);
43
 
44
  if($individual == true) $output .= '<div class="a-single a-'.$banner->id.'">';
45
+ $output .= adrotate_ad_output($banner->id, 0, $banner->title, $banner->bannercode, $banner->tracker, $banner->link, $image, $banner->responsive);
46
  if($individual == true) $output .= '</div>';
47
 
48
  if($adrotate_config['stats'] == 1 AND $banner->tracker == "Y") {
93
  $ads = $wpdb->get_results(
94
  "SELECT
95
  `{$wpdb->prefix}adrotate`.`id`,
96
+ `{$wpdb->prefix}adrotate`.`title`,
97
  `{$wpdb->prefix}adrotate`.`bannercode`,
98
  `{$wpdb->prefix}adrotate`.`link`,
99
  `{$wpdb->prefix}adrotate`.`image`,
153
  $image = str_replace('%folder%', $adrotate_config['banner_folder'], $banner->image);
154
 
155
  $output .= '<div class="g-dyn a-'.$banner->id.' c-'.$i.'">';
156
+ $output .= $before.adrotate_ad_output($banner->id, $group->id, $banner->title, $banner->bannercode, $banner->tracker, $banner->link, $image, $banner->responsive).$after;
157
  $output .= '</div>';
158
  $i++;
159
  }
169
  $image = str_replace('%folder%', $adrotate_config['banner_folder'], $selected[$banner_id]->image);
170
 
171
  $output .= '<div class="g-col b-'.$group->id.' a-'.$selected[$banner_id]->id.'">';
172
+ $output .= $before.adrotate_ad_output($selected[$banner_id]->id, $group->id, $selected[$banner_id]->title, $selected[$banner_id]->bannercode, $selected[$banner_id]->tracker, $selected[$banner_id]->link, $image, $selected[$banner_id]->responsive).$after;
173
  $output .= '</div>';
174
 
175
  if($columns == $group->gridcolumns AND $i != $block_count) {
191
  $image = str_replace('%folder%', $adrotate_config['banner_folder'], $selected[$banner_id]->image);
192
 
193
  $output .= '<div class="g-single a-'.$selected[$banner_id]->id.'">';
194
+ $output .= $before.adrotate_ad_output($selected[$banner_id]->id, $group->id, $selected[$banner_id]->title, $selected[$banner_id]->bannercode, $selected[$banner_id]->tracker, $selected[$banner_id]->link, $image, $selected[$banner_id]->responsive).$after;
195
  $output .= '</div>';
196
 
197
  if($adrotate_config['stats'] == 1){
365
 
366
  if($banner) {
367
  $image = str_replace('%folder%', '/wp-content/banners/', $banner->image);
368
+ $output = adrotate_ad_output($banner->id, 0, $banner->title, $banner->bannercode, $banner->tracker, $banner->link, $image, 'N');
369
  } else {
370
  $output = adrotate_error('ad_expired');
371
  }
384
  Return: $banner_output
385
  Since: 3.0
386
  -------------------------------------------------------------*/
387
+ function adrotate_ad_output($id, $group = 0, $name, $bannercode, $tracker, $link, $image, $responsive) {
388
  global $blog_id, $adrotate_debug, $adrotate_config;
389
 
390
  $banner_output = $bannercode;
589
  if($group->modus == 2) { // Block group
590
  if($group->adwidth != 'auto') {
591
  $width_sum = $group->gridcolumns * ($group->admargin + $group->adwidth + $group->admargin);
592
+ $grid_width = "min-width:".$group->admargin."px; max-width:".$width_sum."px;";
593
  } else {
594
  $grid_width = "width:auto;";
595
  }
adrotate-setup.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
adrotate-statistics.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
adrotate-widget.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
adrotate.php CHANGED
@@ -5,13 +5,13 @@ Plugin URI: https://ajdg.solutions/products/adrotate-for-wordpress/?pk_campaign=
5
  Author: Arnan de Gans of AJdG Solutions
6
  Author URI: http://ajdg.solutions/?pk_campaign=adrotatefree-pluginpage
7
  Description: Used on over a hundred thousand websites and by even more people! AdRotate is the popular choice for monetizing your website with adverts while keeping things simple.
8
- Version: 3.12
9
  License: GPLv3
10
  */
11
 
12
  /* ------------------------------------------------------------------------------------
13
  * COPYRIGHT AND TRADEMARK NOTICE
14
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
15
  * ADROTATE is a trademark of Arnan de Gans.
16
 
17
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
@@ -20,7 +20,7 @@ License: GPLv3
20
  ------------------------------------------------------------------------------------ */
21
 
22
  /*--- AdRotate values ---------------------------------------*/
23
- define("ADROTATE_DISPLAY", '3.12');
24
  define("ADROTATE_VERSION", 380);
25
  define("ADROTATE_DB_VERSION", 51);
26
  /*-----------------------------------------------------------*/
5
  Author: Arnan de Gans of AJdG Solutions
6
  Author URI: http://ajdg.solutions/?pk_campaign=adrotatefree-pluginpage
7
  Description: Used on over a hundred thousand websites and by even more people! AdRotate is the popular choice for monetizing your website with adverts while keeping things simple.
8
+ Version: 3.12.1
9
  License: GPLv3
10
  */
11
 
12
  /* ------------------------------------------------------------------------------------
13
  * COPYRIGHT AND TRADEMARK NOTICE
14
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
15
  * ADROTATE is a trademark of Arnan de Gans.
16
 
17
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
20
  ------------------------------------------------------------------------------------ */
21
 
22
  /*--- AdRotate values ---------------------------------------*/
23
+ define("ADROTATE_DISPLAY", '3.12.1');
24
  define("ADROTATE_VERSION", 380);
25
  define("ADROTATE_DB_VERSION", 51);
26
  /*-----------------------------------------------------------*/
dashboard/adrotatepro.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
dashboard/info.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
dashboard/publisher/adverts-disabled.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
dashboard/publisher/adverts-edit.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
dashboard/publisher/adverts-error.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
dashboard/publisher/adverts-main.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
dashboard/publisher/adverts-report.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
dashboard/publisher/groups-edit.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
dashboard/publisher/groups-main.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
dashboard/publisher/groups-report.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
1
  <?php
2
  /* ------------------------------------------------------------------------------------
3
  * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
  * ADROTATE is a trademark of Arnan de Gans.
6
 
7
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
dashboard/settings/advertisers.php CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  <h3><?php _e('Advertisers - Available in AdRotate Pro', 'adrotate'); ?></h3>
2
  <span class="description"><?php _e('Enable advertisers so they can review and manage their own ads.', 'adrotate'); ?></span>
3
  <table class="form-table">
1
+ <?php
2
+ /* ------------------------------------------------------------------------------------
3
+ * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
+ * ADROTATE is a trademark of Arnan de Gans.
6
+
7
+ * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
8
+ * By using this code you agree to indemnify Arnan de Gans from any
9
+ * liability that might arise from it's use.
10
+ ------------------------------------------------------------------------------------ */
11
+ ?>
12
  <h3><?php _e('Advertisers - Available in AdRotate Pro', 'adrotate'); ?></h3>
13
  <span class="description"><?php _e('Enable advertisers so they can review and manage their own ads.', 'adrotate'); ?></span>
14
  <table class="form-table">
dashboard/settings/general.php CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  <h3><?php _e('General Settings', 'adrotate'); ?></h3>
2
  <span class="description"><?php _e('General settings for AdRotate.', 'adrotate'); ?></span>
3
  <table class="form-table">
1
+ <?php
2
+ /* ------------------------------------------------------------------------------------
3
+ * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
+ * ADROTATE is a trademark of Arnan de Gans.
6
+
7
+ * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
8
+ * By using this code you agree to indemnify Arnan de Gans from any
9
+ * liability that might arise from it's use.
10
+ ------------------------------------------------------------------------------------ */
11
+ ?>
12
  <h3><?php _e('General Settings', 'adrotate'); ?></h3>
13
  <span class="description"><?php _e('General settings for AdRotate.', 'adrotate'); ?></span>
14
  <table class="form-table">
dashboard/settings/geotargeting.php CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  <h3><?php _e('Geo Targeting - Available in AdRotate Pro', 'adrotate'); ?></h3>
2
  <span class="description"><?php _e('Target certain areas in the world for better advertising oppurtunities.', 'adrotate'); ?></span>
3
  <table class="form-table">
1
+ <?php
2
+ /* ------------------------------------------------------------------------------------
3
+ * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
+ * ADROTATE is a trademark of Arnan de Gans.
6
+
7
+ * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
8
+ * By using this code you agree to indemnify Arnan de Gans from any
9
+ * liability that might arise from it's use.
10
+ ------------------------------------------------------------------------------------ */
11
+ ?>
12
  <h3><?php _e('Geo Targeting - Available in AdRotate Pro', 'adrotate'); ?></h3>
13
  <span class="description"><?php _e('Target certain areas in the world for better advertising oppurtunities.', 'adrotate'); ?></span>
14
  <table class="form-table">
dashboard/settings/maintenance.php CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  <h3><?php _e('Maintenance', 'adrotate'); ?></h3>
2
  <span class="description"><?php _e('Use these functions when you notice your database is slow, unresponsive and sluggish.', 'adrotate'); ?></span>
3
  <table class="form-table">
1
+ <?php
2
+ /* ------------------------------------------------------------------------------------
3
+ * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
+ * ADROTATE is a trademark of Arnan de Gans.
6
+
7
+ * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
8
+ * By using this code you agree to indemnify Arnan de Gans from any
9
+ * liability that might arise from it's use.
10
+ ------------------------------------------------------------------------------------ */
11
+ ?>
12
  <h3><?php _e('Maintenance', 'adrotate'); ?></h3>
13
  <span class="description"><?php _e('Use these functions when you notice your database is slow, unresponsive and sluggish.', 'adrotate'); ?></span>
14
  <table class="form-table">
dashboard/settings/misc.php CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  <h3><?php _e('Miscellaneous', 'adrotate'); ?></h3>
2
  <table class="form-table">
3
  <tr>
1
+ <?php
2
+ /* ------------------------------------------------------------------------------------
3
+ * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
+ * ADROTATE is a trademark of Arnan de Gans.
6
+
7
+ * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
8
+ * By using this code you agree to indemnify Arnan de Gans from any
9
+ * liability that might arise from it's use.
10
+ ------------------------------------------------------------------------------------ */
11
+ ?>
12
  <h3><?php _e('Miscellaneous', 'adrotate'); ?></h3>
13
  <table class="form-table">
14
  <tr>
dashboard/settings/notifications.php CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  <h3><?php _e('Notifications - Available in AdRotate Pro', 'adrotate'); ?></h3>
2
  <span class="description"><?php _e('Set up who gets notifications if ads need your attention.', 'adrotate'); ?></span>
3
  <table class="form-table">
1
+ <?php
2
+ /* ------------------------------------------------------------------------------------
3
+ * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
+ * ADROTATE is a trademark of Arnan de Gans.
6
+
7
+ * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
8
+ * By using this code you agree to indemnify Arnan de Gans from any
9
+ * liability that might arise from it's use.
10
+ ------------------------------------------------------------------------------------ */
11
+ ?>
12
  <h3><?php _e('Notifications - Available in AdRotate Pro', 'adrotate'); ?></h3>
13
  <span class="description"><?php _e('Set up who gets notifications if ads need your attention.', 'adrotate'); ?></span>
14
  <table class="form-table">
dashboard/settings/roles.php CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  <h3><?php _e('Roles', 'adrotate'); ?></h3>
2
  <span class="description"><?php _e('Who has access to what?', 'adrotate'); ?></span>
3
  <table class="form-table">
1
+ <?php
2
+ /* ------------------------------------------------------------------------------------
3
+ * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
+ * ADROTATE is a trademark of Arnan de Gans.
6
+
7
+ * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
8
+ * By using this code you agree to indemnify Arnan de Gans from any
9
+ * liability that might arise from it's use.
10
+ ------------------------------------------------------------------------------------ */
11
+ ?>
12
  <h3><?php _e('Roles', 'adrotate'); ?></h3>
13
  <span class="description"><?php _e('Who has access to what?', 'adrotate'); ?></span>
14
  <table class="form-table">
dashboard/settings/statistics.php CHANGED
@@ -1,3 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
1
  <h3><?php _e('Statistics', 'adrotate'); ?></h3></td>
2
  <span class="description"><?php _e('Track statistics for your adverts.', 'adrotate'); ?></span>
3
  <table class="form-table">
1
+ <?php
2
+ /* ------------------------------------------------------------------------------------
3
+ * COPYRIGHT AND TRADEMARK NOTICE
4
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
5
+ * ADROTATE is a trademark of Arnan de Gans.
6
+
7
+ * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
8
+ * By using this code you agree to indemnify Arnan de Gans from any
9
+ * liability that might arise from it's use.
10
+ ------------------------------------------------------------------------------------ */
11
+ ?>
12
  <h3><?php _e('Statistics', 'adrotate'); ?></h3></td>
13
  <span class="description"><?php _e('Track statistics for your adverts.', 'adrotate'); ?></span>
14
  <table class="form-table">
library/dashboard.css CHANGED
@@ -27,14 +27,4 @@
27
  .postbox-adrotate h3 { margin:0; padding:7px 10px 7px 10px; box-shadow:#ddd 0px 1px 0px 0px; -moz-box-shadow:inset 0 1px 0 #ddd; -webkit-box-shadow:#ddd 0px 1px 0px 0px; line-height:15px; }
28
  .postbox-adrotate .inside { margin:10px 0px 0px 10px; padding:0px 10px 10px 0px; min-height:100px; position:relative; }
29
  .inside { padding:6px 10px 12px; clear:both; }
30
- .pro-image { padding: 0px 3px 0px 0px; }
31
- /* Pushover */
32
- .pushover-button {
33
- box-sizing: border-box; background-color: #eee;
34
- background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QAJQCeAPHNVUx7AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3wEPAh02ee0QVwAAACZpVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVAgb24gYSBNYWOV5F9bAAABqElEQVQ4y62TvUtbURjGf+fek2vQpMF2ED9QkfpR6VLaDoIEF0UKWQRBQ+yQP6GDU0Xw4y/obOgg6dDSJVS61MlBcXFQB6M1BsF+IES9NnrzcRy8xpvrBwH7bOflfc553+d5jsCF9tiRDwgBEaDXLi8B80AiGQ2Yzn7hIo8Cce5HOBkNfLo6aA7ydAVkgLjdez3BrS8rRbBJEmyU+AyBVVDE1i1SJ6psEmHvfOLktj0SjL/2snKQx8wpNg+LBJt0RjoN+j6bqOvN/ZotWAldtYK5gWpmV84YbPUw2ePlb7bI73+Kep+OLFONkGarXcK7l16+7+V57BW8qJMs7Ob5k4VQm4fVXzlyquyGiHRYBcC+WWQxnSP63AAgtn7O0FNJ9xOd0W+nbkF7pbsytXxOQw30N0t2MgX6Wzy8qtMJL5zy81jdsETaIXnjLL7trkLqGl+2svxI5/mwZt1l6ZJmJ6yEGqkYbveQOioQ2yiz7TbMa0DCWRnuMPBXaXzcsJx23YWEZmc7fJkqxdgzg8xZka/bFhVE2hSuKL+nMswko4GJ//KZxEO/8wVmfpjJTWeCTQAAAABJRU5ErkJggg==) 2px 2px no-repeat, linear-gradient(#FFF, #DEDEDE);
35
- border: 1px solid #CCC; border-radius: 3px; color: #333; display: inline-block;
36
- font: 11px/18px "Helvetica Neue",Arial,sans-serif; font-weight: bold;
37
- cursor: pointer; height: 22px; padding-left: 20px; padding-right: 5px;
38
- overflow: hidden; text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
39
- text-decoration: none; vertical-align: middle;
40
- }
27
  .postbox-adrotate h3 { margin:0; padding:7px 10px 7px 10px; box-shadow:#ddd 0px 1px 0px 0px; -moz-box-shadow:inset 0 1px 0 #ddd; -webkit-box-shadow:#ddd 0px 1px 0px 0px; line-height:15px; }
28
  .postbox-adrotate .inside { margin:10px 0px 0px 10px; padding:0px 10px 10px 0px; min-height:100px; position:relative; }
29
  .inside { padding:6px 10px 12px; clear:both; }
30
+ .pro-image { padding: 0px 3px 0px 0px; }
 
 
 
 
 
 
 
 
 
 
library/jquery.adrotate.clicktracker.js CHANGED
@@ -8,7 +8,7 @@ Original code: Arnan de Gans
8
 
9
  /* ------------------------------------------------------------------------------------
10
  * COPYRIGHT AND TRADEMARK NOTICE
11
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
12
  * ADROTATE is a trademark of Arnan de Gans.
13
 
14
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
8
 
9
  /* ------------------------------------------------------------------------------------
10
  * COPYRIGHT AND TRADEMARK NOTICE
11
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
12
  * ADROTATE is a trademark of Arnan de Gans.
13
 
14
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
library/jquery.adrotate.dyngroup.js CHANGED
@@ -8,7 +8,7 @@
8
 
9
  /* ------------------------------------------------------------------------------------
10
  * COPYRIGHT AND TRADEMARK NOTICE
11
- * Copyright 2008-2014 AJdG Solutions (Arnan de Gans). All Rights Reserved.
12
  * ADROTATE is a trademark of Arnan de Gans.
13
 
14
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
8
 
9
  /* ------------------------------------------------------------------------------------
10
  * COPYRIGHT AND TRADEMARK NOTICE
11
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
12
  * ADROTATE is a trademark of Arnan de Gans.
13
 
14
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
library/jquery.adrotate.responsive.js CHANGED
@@ -8,7 +8,7 @@
8
 
9
  /* ------------------------------------------------------------------------------------
10
  * COPYRIGHT AND TRADEMARK NOTICE
11
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
12
  * ADROTATE is a trademark of Arnan de Gans.
13
 
14
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
8
 
9
  /* ------------------------------------------------------------------------------------
10
  * COPYRIGHT AND TRADEMARK NOTICE
11
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
12
  * ADROTATE is a trademark of Arnan de Gans.
13
 
14
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
library/textatcursor.js CHANGED
@@ -5,7 +5,7 @@
5
 
6
  /* ------------------------------------------------------------------------------------
7
  * COPYRIGHT AND TRADEMARK NOTICE
8
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
9
  * ADROTATE is a trademark of Arnan de Gans.
10
 
11
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
5
 
6
  /* ------------------------------------------------------------------------------------
7
  * COPYRIGHT AND TRADEMARK NOTICE
8
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
9
  * ADROTATE is a trademark of Arnan de Gans.
10
 
11
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
library/uploader-hook.js CHANGED
@@ -5,7 +5,7 @@
5
 
6
  /* ------------------------------------------------------------------------------------
7
  * COPYRIGHT AND TRADEMARK NOTICE
8
- * Copyright 2008-2015 AJdG Solutions (Arnan de Gans). All Rights Reserved.
9
  * ADROTATE is a trademark of Arnan de Gans.
10
 
11
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
5
 
6
  /* ------------------------------------------------------------------------------------
7
  * COPYRIGHT AND TRADEMARK NOTICE
8
+ * Copyright 2008-2015 Arnan de Gans. All Rights Reserved.
9
  * ADROTATE is a trademark of Arnan de Gans.
10
 
11
  * COPYRIGHT NOTICES AND ALL THE COMMENTS SHOULD REMAIN INTACT.
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://meandmymac.net/donate/?pk_campaign=adrotatefree-readme
4
  Tags: ads, banner, commercial, admin, advertise, adrotator, plugin, random, rotator, ad, advertising, advertisement, block, blocks, advertiser, publisher, adsense, geo, geolocation, geotarget, chitika, clickbank, broadstreet, banner manager,advert manager, campaign manager, export, import, telize, maxmind, referrer, email, menu, statistics, stats, report, advert, adverts, popular, best, great, 2014, geoselect, geobytes, schedules, schedule, monetize, header, widget, javascript, jquery, tracking, clicks, impressions, rotate, zone, zones, sidebar, footer, content, posts, pages, 2015
5
  Requires at least: 3.8, PHP5.3
6
  Tested up to: 4.3
7
- Stable tag: 3.12
8
 
9
  Used on over a hundred thousand websites and by even more people! With over a million downloads AdRotate is the popular choice for monetizing your website with adverts while keeping things simple. Make money with advertising while you do other things. Make making money easy!
10
 
@@ -90,6 +90,10 @@ If that's not enough you can post on the [forum](https://ajdg.solutions/forums/?
90
 
91
  == Changelog ==
92
 
 
 
 
 
93
  = 3.12 FREE =
94
  * [change] Improved WordPress 4.3 compatibility
95
  * [new] Now uses the same status system as AdRotate Pro
@@ -115,6 +119,10 @@ NOTE: Unsolicited offers, parnterships, job offers, promotional emails or produc
115
 
116
  == Upgrade Notice ==
117
 
 
 
 
 
118
  = 3.12 FREE =
119
  * [change] Improved WordPress 4.3 compatibility
120
  * [new] Now uses the same status system as AdRotate Pro
4
  Tags: ads, banner, commercial, admin, advertise, adrotator, plugin, random, rotator, ad, advertising, advertisement, block, blocks, advertiser, publisher, adsense, geo, geolocation, geotarget, chitika, clickbank, broadstreet, banner manager,advert manager, campaign manager, export, import, telize, maxmind, referrer, email, menu, statistics, stats, report, advert, adverts, popular, best, great, 2014, geoselect, geobytes, schedules, schedule, monetize, header, widget, javascript, jquery, tracking, clicks, impressions, rotate, zone, zones, sidebar, footer, content, posts, pages, 2015
5
  Requires at least: 3.8, PHP5.3
6
  Tested up to: 4.3
7
+ Stable tag: 3.12.1
8
 
9
  Used on over a hundred thousand websites and by even more people! With over a million downloads AdRotate is the popular choice for monetizing your website with adverts while keeping things simple. Make money with advertising while you do other things. Make making money easy!
10
 
90
 
91
  == Changelog ==
92
 
93
+ = 3.12.1 FREE =
94
+ * [fix] Block width not applied correctly for some users
95
+ * [fix] %title% variable not converted correctly
96
+
97
  = 3.12 FREE =
98
  * [change] Improved WordPress 4.3 compatibility
99
  * [new] Now uses the same status system as AdRotate Pro
119
 
120
  == Upgrade Notice ==
121
 
122
+ = 3.12.1 FREE =
123
+ * [fix] Block width not applied correctly for some users
124
+ * [fix] %title% variable not converted correctly
125
+
126
  = 3.12 FREE =
127
  * [change] Improved WordPress 4.3 compatibility
128
  * [new] Now uses the same status system as AdRotate Pro