';
foreach ($marketing_structure as $marketing => $folders){
echo '
'.$marketing.'';
}
echo'
';
foreach ($marketing_structure as $marketing => $folders){
foreach($folders as $folder){
echo '
'.$folder.'';
}
}
echo '
';
if (isset($product_group) && $product_group !='' && isset($product_content) && $product_content !=''){
echo '
';
$dir_name = $main_marketing_dir.$product_group.'/'.$product_content;
$files = array_diff(scandir($dir_name), array('.', '..'));
echo'';
foreach ($files as $file) {
$filetype = strtolower(pathinfo($file,PATHINFO_EXTENSION));
if ( $filetype != '' && $filetype != 'ds_store'){
echo '
';
}
}
echo '
';
}
template_footer();
?>