Vozila

Dio naših radova instalacije folija na vozilima :

[insert_php]
$path = “_radovi_”;
$group = “vozila”;

chdir($path);

$albumi = scandir( $group );
chdir ( $group );
for ( $i=2; $i < sizeof($albumi); $i++ ){ if ( is_file($albumi[$i]) ) {continue;} $slike = scandir( $albumi[$i] ); echo "

“;
echo “

$albumi[$i]

“;

$thumb = 0;

for ( $j=2; $j < sizeof($slike); $j++ ){ if( !( strstr($slike[$j],".jpg") || strstr($slike[$j],".JPG") ) || strstr($slike[$j],"_.") ) {continue;} // to remove errors caused by "thumbs.db" and similar and to skip thumbnail echo "“;

for ( $t=2; !$thumb && $t < sizeof($slike); $t++ ){ if( strstr($slike[$t],"_.") ){ echo "\t“;
$thumb++;
}
}

echo ““;
} echo “

“;
}
[/insert_php]

Comments

No comment yet.

Leave a Reply

Vaša adresa e-pošte neće biti objavljena. Nužna polja su označena s *