$data) { $data = array_reverse($data, true); $changelog[$time] = array(); foreach($data as $id => $change) { if(isset($_GET['branch']) && $change['branch'] != $_GET['branch']) continue; if(isset($_GET['user']) && $change['userid'] != $_GET['user']) continue; if(!(int)$change['public']) continue; $changelog[$time][$id] = $change; } if(empty($changelog[$time][0])) unset($changelog[$time]); } if(isset($_GET['xml'])) { print ''; print ''; print ''; print 'Flashii Changelog'; print 'https://retro.flash.moe/'; print 'Changelog of Flashii.'; print 'en-gb'; print 'devs@flashii.net (Flashii Developers)'; print ''. date('D, d M Y G:i:s O') .''; print ''. date('D, d M Y G:i:s O') .''; foreach($changelog as $timestamp => $data) { foreach($data as $id => $change) { print ''; print ''; switch($change['type']) { case 'ADD': print 'Added to'; break; case 'REM': print 'Removed from'; break; case 'FIX': print 'Fixed in'; break; case 'UPD': print 'Updated in'; break; default: print 'Did something to'; } print ' '; switch($change['branch']) { case 'STB': print 'Stable'; break; case 'DEV': print 'Development'; break; case 'CHAT': print 'Chat'; break; default: print 'an unknown'; } print ' branch'; print ''; print 'https://retro.flash.moe/changelog.php#c' . $timestamp . 's' . $id . ''; print 'https://retro.flash.moe/changelog.php#c' . $timestamp . 's' . $id . ''; print ''. date('D, d M Y G:i:s O', $timestamp) .''; print ''. $change['user'] .''; print ''; print ''; } } print ''; print ''; exit; } ?> Flashii Changelog

Flashii Changelog

XML Feed / Flashii.net / Flash.moe / Copyright © Flashii Media


  » Legend

ActionBranchUserDescription
$data) { print '
'; print '

  » Changes on '; print date('l Y-m-d', $timestamp); print '

'; foreach($data as $id => $change) { print '
'; switch($change['type']) { case 'ADD': print 'Added'; break; case 'REM': print 'Removed'; break; case 'FIX': print 'Fixed'; break; case 'UPD': print 'Updated'; break; default: print 'Unknown'; } switch($change['branch']) { case 'STB': print 'Stable'; break; case 'DEV': print 'Development'; break; case 'CHAT': print 'Chat'; break; default: print 'Other'; } print ''; print $change['user']; print ''; print ''; print $change['change']; print ''; print '
'; } print '
'; } ?>