error_reporting ( 0 );
// Global Variables
$image_dir = "$_SERVER[DOCUMENT_ROOT]/imgrotation"; // directory on server
$image_relative_path = '/imgrotation'; // path to images relative to script
$file_types = array (
'jpg',
'jpeg',
'gif',
'png'
);
$image_time = '4000'; // seconds each image will display (4000 = 4 seconds)
$image_rotation = "";
if ($handle = opendir ( $image_dir )) {
while ( false !== ($file = readdir ( $handle )) ) {
if ($file != "." && $file != "..") {
$ext_bits = explode ( ".", $file ); // finds file extensions
foreach ( $ext_bits as $key => $value ) {
if (in_array ( $value, $file_types )) {
$image_rotation .= '
';
}
}
}
}
closedir ( $handle );
}
$image_dirs = "$_SERVER[DOCUMENT_ROOT]/logopartner"; // directory on server
$image_relative_paths = '/logopartner'; // path to images relative to script
$file_types = array (
'jpg',
'jpeg',
'gif',
'png'
);
$image_time = '4000'; // seconds each image will display (4000 = 4 seconds)
$logo_rotation = "";
if ($handle = opendir ( $image_dirs )) {
while ( false !== ($file = readdir ( $handle )) ) {
if ($file != "." && $file != "..") {
$ext_bits = explode ( ".", $file ); // finds file extensions
foreach ( $ext_bits as $key => $value ) {
if (in_array ( $value, $file_types )) {
$logo_rotation .= '
';
}
}
}
}
closedir ( $handle );
}
?>
ATM Interactive - Interactive Marketing Services for Advertisers
and Publishers
Friday, 12th September 2008
- Lead Generation
- Result-Driven Programs
- Industry Leading Technology
- Top Performing Affiliates
- Consolidated Reporting
- Maximize Revenue
- High Quality & Exclusive Offers
- Highest Payouts
- Incentive Programs
- Reliable tracking
- Prompt payment
- Maximize Revenue
- Flexible pricing models (CPA and CPC)
- Comprehensive creative support
- Exceptional customer service
- Assistance in best practices for your clients
- Custom solutions
- Complete reporting
Featured Clients
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: logo_rotation
Filename: views/index.php
Line Number: 207
Copyright © 2023 ATM Interactive LLC