PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
| Dir : /home/jairosvt/public_html/publicidadaf/lib/max/Delivery/ |
| Server: Linux server2.noticiasdecolima.com 4.18.0-553.30.1.el8_10.x86_64 #1 SMP Tue Nov 26 02:30:26 EST 2024 x86_64 IP: 107.161.180.42 |
| Dir : /home/jairosvt/public_html/publicidadaf/lib/max/Delivery/image.php |
<?php
/*
+---------------------------------------------------------------------------+
| Revive Adserver |
| http://www.revive-adserver.com |
| |
| Copyright: See the COPYRIGHT.txt file. |
| License: GPLv2 or later, see the LICENSE.txt file. |
+---------------------------------------------------------------------------+
*/
$file = '/lib/OA/Delivery/image.php';
###START_STRIP_DELIVERY
if(isset($GLOBALS['_MAX']['FILES'][$file])) {
return;
}
###END_STRIP_DELIVERY
$GLOBALS['_MAX']['FILES'][$file] = true;
/**
* @package MaxDelivery
* @subpackage image
*
* This library defines functions that need to be available to
* the ai delivery script
*
*/
function MAX_imageServe($aCreative, $filename, $contenttype)
{
// Check if the browser sent a If-Modified-Since header and if the image was
// modified since that date
if (!isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) ||
$aCreative['t_stamp'] > strtotime($_SERVER['HTTP_IF_MODIFIED_SINCE'])) {
MAX_header("Last-Modified: ".gmdate('D, d M Y H:i:s', $aCreative['t_stamp']).' GMT');
if (isset($contenttype) && $contenttype != '') {
switch ($contenttype) {
case 'swf': MAX_header('Content-type: application/x-shockwave-flash; name='.$filename); break;
case 'dcr': MAX_header('Content-type: application/x-director; name='.$filename); break;
case 'rpm': MAX_header('Content-type: audio/x-pn-realaudio-plugin; name='.$filename); break;
case 'mov': MAX_header('Content-type: video/quicktime; name='.$filename); break;
default: MAX_header('Content-type: image/'.$contenttype.'; name='.$filename); break;
}
}
echo $aCreative['contents'];
} else {
// Send "Not Modified" status header
MAX_sendStatusCode(304);
}
}
?>