<?

$type="flash";

$url_array=explode("/",dirname($PHP_SELF));

array_shift($url_array);

$fhg = $url_array[0];

empty($a) ? $a=100 : $a;//id adv

empty($p) ? $p=2 : $p;//site

empty($m) ? $m=2 : $m;//tour

$outlink = "http://verybigcash.com/index.com?a=$a&amp;p=$p&amp;m=$m";

include("../inc/template_handler.php");

include("../inc/vars.php");

$template = new template_handler($template);

$template->setBaseDir('../inc/');

$template->setTemplate('flash_template.php');

$template->setObject('title',$title[$fhg]);

$template->setObject('d1', $d1[$fhg] );

$template->setObject('d2', $d2[$fhg] );

$template->setObject('outlink', $outlink);

$template->setObject('join', $join[$fhg] );

print $template->Retrieve();

?>