Changeset 160220
- Timestamp:
- 10/03/2009 03:54:58 PM (17 years ago)
- Location:
- admangler/trunk
- Files:
-
- 3 edited
-
adMangler.class.php (modified) (3 diffs)
-
adMangler.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
admangler/trunk/adMangler.class.php
r158797 r160220 106 106 $sql = "SELECT * FROM $this->adsTable WHERE id=".intval($id); 107 107 $row = $wpdb->get_row($sql); 108 $str = "<div class=\"adManglerUnknown\">"; 109 $str .= $this->FormatAd($row->type, $row->code); 110 $str .= "</div>"; 108 $str = $this->FormatAd($row->type, $row->code); 111 109 112 110 if ($return) return $str; else echo $str; … … 119 117 if (!isset($this->banners[$width."x".$height])) 120 118 { 121 $str = "<div class=\"adMangler".$width."x".$height."\">";122 119 $sql = "SELECT type,code FROM $this->adsTable WHERE width=$width and height=$height and active and approved and NOT base ORDER BY RAND()"; 123 120 $results = $wpdb->get_results($sql); … … 137 134 $banner = array_shift($this->banners[$width."x".$height]); 138 135 array_push($this->banners[$width."x".$height], $banner); 139 $str .= $this->FormatAd($banner->type, $banner->code); 140 $str .= "</div>"; 136 $str = $this->FormatAd($banner->type, $banner->code); 141 137 } 142 138 -
admangler/trunk/adMangler.php
r158797 r160220 4 4 Plugin URI: http://www.codeternals.com/AdMangler 5 5 Description: Display, sell, and manage ad space on your Wordpress powered site with AdMangler. 6 Version: 0.0.6 Alpha6 Version: 0.0.6.1 Alpha 7 7 Author: Webternals, LLC - Allen Sanford 8 8 Author URI: http://www.webternals.com/ -
admangler/trunk/readme.txt
r158797 r160220 5 5 Requires at least: 2.8.2 6 6 Tested up to: 2.8.4 7 Stable Tag: 0.0.6. Alpha7 Stable Tag: 0.0.6.1.Alpha 8 8 9 9 Display, sell, and manage ad space on your Wordpress powered site with AdMangler. … … 64 64 == Changelog == 65 65 66 = 0.0.6.1 Alpha = 67 * Fixed a formatting bug 68 66 69 = 0.0.6 Alpha = 67 70 * Bug fixes dealing with multiple banner ads
Note: See TracChangeset
for help on using the changeset viewer.