'.@file_get_contents("data/".$_GET["id"].'/info.txt').'';
$count = 0;
if ($handle = opendir("data/".$_GET["id"])) {
while (false !== ($entry = readdir($handle))) {
if ($entry != "." && $entry != ".." && $entry != "info.txt") {
$count += 1;
}
}
closedir($handle);
}
$col_class = "col-sm-6";
if ($count == 1) {
$col_class = "col-sm-12";
}
$count = 0;
if ($handle = opendir("data/".$_GET["id"])) {
while (false !== ($img = readdir($handle))) {
if ($count % 2 == 0) {
echo '
';
}
if ($img != "." && $img != ".." && $img != 'info.txt') {
$img = 'data'.constant('DS').$_GET["id"].constant('DS').$img;
echo '
';
echo '
';
echo '
';
$count += 1;
}
if ($count % 2 == 0) {
echo "
";
}
}
closedir($handle);
}
echo '