2 && substr($file, -4) == '.jar') { $dls_num = get_dls($file); $total_dls += intval($dls_num); $dls = number_format($dls_num); $file_version = substr($file, strlen('Botania ')); $version_name = substr($file_version, 0, strlen($file_version) - 4); $mc_version = $versions[$version_name]; $version_name = str_replace('.', '-', $version_name); $dls_txt = 'Downloads'; if($dls_num == 0) $dls_txt = 'Downloads :('; elseif($dls_num == 1) $dls_txt = 'Download'; $deobf_dl = ' '; $deobf_name = str_replace('.jar', '-deobf.jar', $file); $extra_class = 'btn-succeed'; if(file_exists("files/deobf/$deobf_name")) { $deobf_dl = "(dev)"; $extra_class = 'btn-succeed-deobf'; } $div_id = 'version-' . str_replace('.', '-', $mc_version); if($last_version != $mc_version && !$first) $downloads_str .= "
Minecraft $mc_version (hide)
"; $group_class = ''; if($first) $group_class = ' btn-group-first'; $downloads_str .= "
$file$deobf_dlChangelog$mc_version$dls $dls_txt
"; if($first) { $downloads_str .= '
Old Versions
'; $first = false; } else { $downloads_str .= '
'; $last_version = $mc_version; } } $downloads_str .= '
'; $total_dl_str = number_format($total_dls); $mod_launch = strtotime('2014-02-28 17:32:22'); $current_time = time(); $days_passed = ($current_time - $mod_launch) / 86400; $days_int = round($days_passed); $daily_dls = round($total_dls / $days_passed, 2); print("
Botania has been downloaded a total of $total_dl_str times over $days_int days. (About $daily_dls dls/day)
Botania requires Baubles to work properly, make sure you have it!
Colored Lights is also supported, get it if you want colors!

Enjoy the mod? Why not support my endeavours on Patreon?


Latest Download
"); print($downloads_str); $nekos = '


'; foreach(str_split($total_dls) as $num) $nekos .= ""; $nekos .= '
.jars served, whatcha waiting for? (back to top)
'; print($nekos); ?>