indi_vendor('krumo/class.krumo'); ?>
| ";
print "\n$v "; print "\n
| ";
}
// CANCELLARE QUESTOOOOOOOOOOOOOOOOOOOOOOOO ///////////////
unset($_SESSION["cfg_buttonizer"]["files"]);
unset($_SESSION["cfg_buttonizer"]["menu"]);
unset($_SESSION["cfg_buttonizer"]["jsx"]);
// FINE CANCELLARE QUESTOOOOOOOOOOOOOOOOOOOOOOOO //////////
print "\n
| ";
print " template: $kk "; print "";
$dir = $path_sito . "/_pics/struttura/" . $kk . "/" . $kkk . "/";
$conta=1;
foreach($_SESSION[$sito_attuale]["cfg_buttonizer"][$kk] as $o => $p) {
if($conta==1) {
$file_check = $o;
$conta++;
}
}
if (is_dir($dir)) {
if ($dh = opendir($dir)) {
while (($file = readdir($dh)) !== false) {
if($file != "." and $file != "..") {
$test[] = $file;
}
}
}
}
foreach($test as $k=>$t) if(!preg_match('/^' . $file_check . '(_[^_]+)?.(gif|png)$/', $t)) unset($test[$k]);
foreach($test as $img_menu) {
print " ";
print "\n
";
foreach($_SESSION[$sito_attuale]["cfg_buttonizer"] as $kkkk => $vvvv) {
if($kkkk != $kk) {
print "\n ";
print ""; print ""; print "copia array da $kkkk"; print ""; print " "; } } print "
"; print "\n"; print " | ";
}
print "\n
| ";
print "" . $k . " "; print "
| ";
}
print "\n