Changeset 1819069
- Timestamp:
- 02/09/2018 02:24:50 PM (8 years ago)
- Location:
- prime-ads/trunk
- Files:
-
- 3 edited
-
inc/services/AdsHelper.php (modified) (1 diff)
-
prime-ads.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
prime-ads/trunk/inc/services/AdsHelper.php
r1818979 r1819069 157 157 $widthCond = ' AND (`resolutions`="" OR `resolutions` LIKE "%[' . $this->screenWidth . ']%") '; 158 158 159 $sql .= ') AS t WHERE `is_active`=1 AND ((`by_timetable`=0 AND `position`=' . $position . ' ' . $widthCond . ') OR (`by_timetable`=1 ' . $widthCond . ' AND ((`days_of_week` LIKE "%[' . date('w') . ']%" AND ((`not_show`=0 AND time_exp) OR (`not_show`=1 AND !time_exp)) AND `position`=' . $position. ') OR (!(`days_of_week` LIKE "%[' . date('w') . ']%" AND ((`not_show`=0 AND time_exp) OR (`not_show`=1 AND !time_exp))) AND `position_not_in_timetable`=' . $position . '))))';159 $sql .= ') AS t WHERE `is_active`=1 AND ((`by_timetable`=0 AND `position`=' . $position . ' ' . $widthCond . ') OR (`by_timetable`=1 AND ((`days_of_week` LIKE "%[' . date('w') . ']%" AND ((`not_show`=0 AND time_exp) OR (`not_show`=1 AND !time_exp)) AND `position`=' . $position . ' ' . $widthCond . ') OR (!(`days_of_week` LIKE "%[' . date('w') . ']%" AND ((`not_show`=0 AND time_exp) OR (`not_show`=1 AND !time_exp))) AND `position_not_in_timetable`=' . $position . '))))'; 160 160 161 161 if($this->catId){ -
prime-ads/trunk/prime-ads.php
r1818979 r1819069 3 3 Plugin Name: Prime Ads 4 4 Description: Вывод рекламы с сервиса Prime Ads 5 Version: 2.0. 65 Version: 2.0.7 6 6 Author: Proffit 7 7 Author URI: http://proffit.guru/ … … 19 19 use AdsNS\SxGeo\SxGeo; 20 20 21 define('ADS_VERSION', '2.0. 6');21 define('ADS_VERSION', '2.0.7'); 22 22 define('ADS_DB_VERSION', '2.0.4'); 23 23 define('ADS_PATH', realpath(__DIR__)); -
prime-ads/trunk/readme.txt
r1818979 r1819069 7 7 Requires at least: 4.0 8 8 Tested up to: 4.7 9 Stable tag: 2.0. 69 Stable tag: 2.0.7 10 10 11 11 Ответная часть сервиса монитизации Prime Ads (http://primeads.ru)
Note: See TracChangeset
for help on using the changeset viewer.