$version) { if($key == "current") continue; $currentver = array_shift(explode('-', $currentvers[$key]['version'])); if($version == 1) { $img = "./themes/".$g['theme']."/images/icons/icon_pass.gif"; $pastlatest = true; } elseif( strcmp($currentver , $version[count($version) - 1]['version']) ){ $img = "./themes/".$g['theme']."/images/icons/icon_pass.gif"; $pastlatest = true; } else { $allinstall = true; $img = "./themes/".$g['theme']."/images/icons/icon_block.gif"; } ?>
Act Category Installed Current


Needed Updates


$value) { if(($key == "current") or ($value == 1)) continue; if(is_array($value)) { foreach($value as $version) { if(!$version['time']) $version['time'] = "Unknown"; if(!$version['size']) $version['size'] = "Unknown"; if(!$version['type']) $version['type'] = "Unknown"; $version['category'] = $key; $times[$version['time']][] = $version; } } } } asort($times); if(is_array($times)) { foreach($times as $time) { foreach($time as $version) { ?>
Released Category Version Size Type