Location: PHPKode > scripts > Hercules - image, banner rotator > hercules/scripts/custom.php
<?php
switch($hercules_data) { 
	
// data for first rotator
case "first": 
$data = "/hercules/scripts/display.txt"; // txt file with images definition
$width = "234";  // set here width
$height = "60";  // set here height
$second = "10";  // set here second
$order = "0";  // 0 - display images in order, r - display images randomly
break;
// end of data for first rotator

// data for second rotator
case "second": 
$data = "/hercules/scripts/display2.txt"; // txt file with images definition
$width = "134";  // set here width
$height = "60";  // set here height
$second = "10";  // set here second
$order = "0";  // 0 - display images in order, r - display images randomly
break;
// end of data for second rotator

default: ""; 
} 
?>
Return current item: Hercules - image, banner rotator