"; ShowBanner728x90(); echo "
"; if(isset($recent_top)) echo $recent_top; else echo $top; ?>

_LATEST_SUBMISSIONS

'; echo ''; if($m == 4) { $m=0; echo ""; } } ?>


SUBDATE(CURRENT_DATE(), INTERVAL 7 day) AND sections.fname=wallz.section ORDER BY wallz.datum desc, wallz.id DESC;") or die("ERROR ".__LINE__.": ".mysql_error()); $suma_kb = 0; $suma_ul = 0; while ($ar = mysql_fetch_array($resq)) { $suma_ul++; if($dan<=7) { if($z == 0) { if($suma_kb != 0) { if($suma_kb >= 1073741824) $suma_kb = round($suma_kb / 1073741824 * 100) / 100 . " Gb"; elseif ($suma_kb >= 1048576) $suma_kb = round($suma_kb / 1048576 * 100) / 100 . " Mb"; elseif ($suma_kb >= 1024) $suma_kb = round($suma_kb / 1024 * 100) / 100 . " Kb"; else $suma_kb = $suma_kb . "b"; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; $suma_kb = 0; } ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})", $ar[datum], $dated); $datumc = "$dated[3].$dated[2].$dated[1]"; echo ""; $z++; } if(empty($datum1)) $datum1=$datumc; $datum2=$datum1; ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})", $ar[datum], $dated); $datum1 = "$dated[3].$dated[2].$dated[1]"; if ($datum1 <> $datum2) { $dan++; $z=0; } $x++; $nid = (int)($ar[id]/100); $fn = "/opt/www/virtual/www.skinbase.si/files/archive/skins/$nid/$ar[fname]"; if(file_exists($fn)) { $fs = filesize($fn); $suma_kb += $fs; if($fs >= 1073741824) $fs = round($file_size / 1073741824 * 100) / 100 . " Gb"; elseif ($fs >= 1048576) $fs = round($fs / 1048576 * 100) / 100 . " Mb"; elseif ($fs >= 1024) $fs = round($fs / 1024 * 100) / 100 . " Kb"; else $fs = $fs . "b"; } else $fs = "0 b"; if(empty($ar[sname])) $ar[sname]=""; $y++; if($y == 2) { $y=0; $myCol = $color05; } else $myCol = $color06; echo ''; echo ' '; echo ' '; if(file_exists("/opt/www/virtual/www.skinbase.si/gfx/icons/".$ar[secpix]) && !empty($ar[secpix])) echo ' '; else echo ''; echo ' '; echo ' '; echo ' '; echo ' '; echo ''; } } if($suma_kb != 0) { if($suma_kb >= 1073741824) $suma_kb = round($suma_kb / 1073741824 * 100) / 100 . " Gb"; elseif ($suma_kb >= 1048576) $suma_kb = round($suma_kb / 1048576 * 100) / 100 . " Mb"; elseif ($suma_kb >= 1024) $suma_kb = round($suma_kb / 1024 * 100) / 100 . " Kb"; else $suma_kb = $suma_kb . "b"; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; echo ''; $suma_kb = 0; } echo '
# _NAME _SECTION _AUTHOR _DL _FILESIZE
'._DAILY.''.$suma_ul.''.$suma_kb.'

$datumc
'.$x.'.'.$ar[name].''.$ar[sname].''.$ar[sname].''.$ar[uname].''.$ar[dls].''.$fs.'
Daily'.$suma_ul.''.$suma_kb.'
'; if(isset($recent_bottom)) echo $recent_bottom; else echo $bottom; include("footer.php"); ?>