0 Members and 1 Guest are viewing this topic.
@Vikram: did you forget to post it in the announcement thread or is it a trick to check who's reading the forum daily?
<?phpfunction getLatestBTS() { $latest = @json_decode(@file_get_contents("https://api.github.com/repos/BitShares/bitshares/git/refs/tags/bts", false, stream_context_create(['http' => ['header' => "User-Agent: Vestibulum\r\n"]]) )); return sprintf("Latest BTS Version: %s", $latest ? end($latest)->ref : $default);}function getLatestDVS() { $latest = @json_decode(@file_get_contents("https://api.github.com/repos/BitShares/bitshares/git/refs/tags/dvs", false, stream_context_create(['http' => ['header' => "User-Agent: Vestibulum\r\n"]]) )); return sprintf("Latest DVS Version: %s", $latest ? end($latest)->ref : $default);}echo getLatestBTS();echo "<br />";echo getLatestDVS();?>