Plugin Directory

Changeset 1819069


Ignore:
Timestamp:
02/09/2018 02:24:50 PM (8 years ago)
Author:
devdmkr
Message:

update

Location:
prime-ads/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • prime-ads/trunk/inc/services/AdsHelper.php

    r1818979 r1819069  
    157157            $widthCond = ' AND (`resolutions`="" OR `resolutions` LIKE "%[' . $this->screenWidth . ']%") ';
    158158           
    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 . '))))';
    160160
    161161        if($this->catId){
  • prime-ads/trunk/prime-ads.php

    r1818979 r1819069  
    33    Plugin Name: Prime Ads
    44    Description: Вывод рекламы с сервиса Prime Ads
    5     Version: 2.0.6
     5    Version: 2.0.7
    66    Author: Proffit
    77    Author URI: http://proffit.guru/
     
    1919use AdsNS\SxGeo\SxGeo;
    2020
    21 define('ADS_VERSION', '2.0.6');
     21define('ADS_VERSION', '2.0.7');
    2222define('ADS_DB_VERSION', '2.0.4');
    2323define('ADS_PATH', realpath(__DIR__));
  • prime-ads/trunk/readme.txt

    r1818979 r1819069  
    77Requires at least: 4.0
    88Tested up to: 4.7
    9 Stable tag: 2.0.6
     9Stable tag: 2.0.7
    1010
    1111Ответная часть сервиса монитизации Prime Ads (http://primeads.ru)
Note: See TracChangeset for help on using the changeset viewer.