uawdijnntqw1x1x1
IP : 216.73.216.237
Hostname : webd009.cluster130.gra.hosting.ovh.net
Kernel : Linux webd009.cluster130.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
pressec
/
www
/
ads--temp-pour-eviter-les-spams
/
adserver_new
/
..
/
bak
/
www
/
.
/
admin
/
campaign-zone.php
/
/
<?php /* +---------------------------------------------------------------------------+ | Revive Adserver | | http://www.revive-adserver.com | | | | Copyright: See the COPYRIGHT.txt file. | | License: GPLv2 or later, see the LICENSE.txt file. | +---------------------------------------------------------------------------+ */ // Require the initialisation file require_once '../../init.php'; // Required files require_once MAX_PATH . '/www/admin/config.php'; require_once MAX_PATH . '/lib/max/other/html.php'; require_once MAX_PATH . '/lib/OA/Dal.php'; require_once MAX_PATH . '/lib/OX/Admin/UI/ViewHooks.php'; /*-------------------------------------------------------*/ /* HTML framework */ /*-------------------------------------------------------*/ $advertiserId = MAX_getValue('clientid'); $campaignId = MAX_getValue('campaignid'); // Security check OA_Permission::enforceAccount ( OA_ACCOUNT_MANAGER ); OA_Permission::enforceAccessToObject('clients', $clientid, false, OA_Permission::OPERATION_VIEW); OA_Permission::enforceAccessToObject('campaigns', $campaignid, true, OA_Permission::OPERATION_EDIT); /*-------------------------------------------------------*/ /* Store preferences */ /*-------------------------------------------------------*/ $session['prefs']['inventory_entities'][OA_Permission::getEntityId()]['clientid'] = $clientid; $session['prefs']['inventory_entities'][OA_Permission::getEntityId()]['campaignid'][$clientid] = $campaignid; phpAds_SessionDataStore(); $agencyId = OA_Permission::getAgencyId(); $aOtherAdvertisers = Admin_DA::getAdvertisers(array('agency_id' => $agencyId)); $aOtherCampaigns = Admin_DA::getPlacements(array('advertiser_id' => $advertiserId)); $pageName = basename($_SERVER['SCRIPT_NAME']); $aEntities = array('clientid' => $advertiserId, 'campaignid' => $campaignId); MAX_displayNavigationCampaign($campaignId, $aOtherAdvertisers, $aOtherCampaigns, $aEntities); /*-------------------------------------------------------*/ /* Main code */ /*-------------------------------------------------------*/ require_once MAX_PATH . '/lib/OA/Admin/Template.php'; $oTpl = new OA_Admin_Template('campaign-zone.html'); $oDalZones = OA_Dal::factoryDAL('zones'); $linkedWebsites = $oDalZones->getWebsitesAndZonesList($agencyId, $campaignId, true); $availableWebsites = $oDalZones->getWebsitesAndZonesList($agencyId, $campaignId, false); /** add view hooks **/ OX_Admin_UI_ViewHooks::registerPageView($oTpl, 'campaign-zone', array('advertiserId' => $advertiserId, 'campaignId' => $campaignId)); $oTpl->assign('advertiserId', $advertiserId); $oTpl->assign('campaignId', $campaignId); $oTpl->assign('runMPE', $GLOBALS['_MAX']['CONF']['priority']['instantUpdate']); $oTpl->display(); /*-------------------------------------------------------*/ /* HTML framework */ /*-------------------------------------------------------*/ phpAds_PageFooter(); ?>
/home/pressec/www/ads--temp-pour-eviter-les-spams/adserver_new/../bak/www/./admin/campaign-zone.php