Skip to content

Instantly share code, notes, and snippets.

@NightScript370
Last active June 25, 2017 15:44
Show Gist options
  • Save NightScript370/f6f86b9b09fbef7eab0d1c879da38cbf to your computer and use it in GitHub Desktop.
Save NightScript370/f6f86b9b09fbef7eab0d1c879da38cbf to your computer and use it in GitHub Desktop.
Downloads page for MMM
<?php $title = __("Downloads");
$packroot = '/downloads/packs/';
$dlc = '<table class="downloadtable outline margin" id="downloads">
<tr class="header0">
<th style="width: 80px;" class="center">Game style</th>
<th class="center">Name</th>
<th style="width: 140px;" class="center">Downloads</th>
<th class="center" style="width: 350px;">Credits</th>
</tr>
<tr class="cell1">
<td class="center">SMB1</td>
<td>[threads=57]</td>
<td class="center"><a href="'.$packroot.'WiiU-SMB1-Beta.zip">WiiU (v1.4)</a> & <a href="'.$packroot.'3DS-SMB1-Beta.zip">3DS</a></td>
<td>~[user=12]: Graphics
~[user=4]: Import WiiU
~[user=1]: Import 3DS</td>
</tr>
<tr class="cell2">
<td class="center">SMB1</td>
<td>[threads=58]</td>
<td class="center"><a href="'.$packroot.'WiiU-SMB1-Ice.zip">WiiU</a> & <a href="'.$packroot.'3DS-SMB1-Ice.zip">3DS</a></td>
<td class="center">[user=4]</td>
</tr>
<tr class="cell1">
<td class="center">SMB1</td>
<td>[threads=62]</td>
<td class="center"><a href="'.$packroot.'WiiU-SMB1-SMAS.zip">WiiU (1.3)</a></td>
<td>~<a href="https://www.spriters-resource.com/submitter/Jouw/">Jouw</a>: Ripped the SMAS assets
~[user=2]: Graphics
~[user=4]: Import WiiU</td>
</tr>
<tr class="cell2">
<td class="center">SMB1</td>
<td>[threads=59]</td>
<td class="center"><a href="'.$packroot.'WiiU-SMB1-Castle-Bleck.zip">WiiU</a></td>
<td>~[user=2] & <a href="https://www.mfgg.net/?act=user&param=01&uid=11485">SuperArthurBros</a>: Graphics
~[user=4]: Import WiiU
~[user=1]: Import 3DS</td>
</tr>
<tr class="cell1">
<td class="center">SMB1</td>
<td>[threads=61]</td>
<td class="center"><a href="'.$packroot.'WiiU-SMB1-Snow.zip">WiiU</a> <a href="'.$packroot.'WiiU-SMB1-Snow-1.4.zip">(v1.4)</a> & <a href="'.$packroot.'3DS-SMB1-Snow.zip">3DS</a></td>
<td>~<a href="https://www.mfgg.net/index.php?act=user&param=01&uid=11778">Mario3785</a> & <a href="https://www.mfgg.net/index.php?act=user&param=01&uid=13907">kirbypoyo567</a>: Graphics
~[user=4] & [user=2] (1.4): Import WiiU
~[user=1]: Import 3DS</td>
</tr>
<tr class="cell2">
<td class="center">SMB1</td>
<td>[threads=60]</td>
<td class="center"><a href="'.$packroot.'WiiU-SMB1-Beach.zip">WiiU</a> & <a href="'.$packroot.'3DS-SMB1-Beach.zip">3DS</a></td>
<td>~<a href="https://www.mfgg.net/index.php?act=user&param=01&uid=13907">kirbypoyo567</a>: Graphics
~[user=4]: Import WiiU
~[user=1]: Import 3DS</td>
</tr>
<tr class="cell1">
<td class="center">SMB3</td>
<td>[threads=56]</td>
<td class="center"><a href="'.$packroot.'WiiU-SMB3-Grassland">WiiU</a> & <a href="'.$packroot.'3DS-SMB3-Grassland">3DS</a></td>
<td>~[user=2]: Creating the tileset
~[user=4]: Import WiiU
~[user=1]: Import 3DS</td>
</tr>
<tr class="cell2">
<td class="center">SMB3</td>
<td><a href="https://www.youtube.com/watch?v=ZDVQf4k5T5M">SMB2 Theme</a></td>
<td class="center"><a href="'.$packroot.'WiiU-SMB3-SMB2.zip">WiiU</a> & <a href="'.$packroot.'3DS-SMB3-SMB2.zip">3DS</a></td>
<td class="center">[user=4] & Collin</td>
</tr>
<tr class="cell1">
<td class="center">SMB3</td>
<td>Green Hill Zone & Marble Zone</td>
<td class="center"><a href="'.$packroot.'3DS-SMB3-Sonic.zip">3DS</a></td>
<td>~[user=38]: Creating the Tileset
~[user=1]: Import 3DS</td>
</tr>
<tr class="cell2">
<td class="center">SMW</td>
<td>Green Hill Zone</td>
<td class="center"><a href="'.$packroot.'3DS-SMW-GreenHill.zip">3DS</a></td>
<td>~[url=https://gbatemp.net/members/bluefox-gui.382472/]Bluefox GUI[/url]: Creating the Tileset
~[user=1]: Import 3DS</td>
</tr>
<tr class="cell1">
<td class="center">SMW</td>
<td><a href="https://www.youtube.com/watch?v=GBAasXelQhI">Minecraft Theme</a></td>
<td class="center"><a href="'.$packroot.'WiiU-SMW-Minecraft.zip">WiiU</a> & <a href="'.$packroot.'3DS-SMW-Minecraft.zip">3DS</a></td>
<td>~[user=9]: Creating the tileset
~[user=4]:Import WiiU
~[user=1]:Import 3DS</td>
</tr>
<tr class="cell2">
<td class="center">SMW</td>
<td><a href="https://www.youtube.com/watch?v=_cW06CWRAl4">Casino Night Theme</a></td>
<td class="center"><a href="'.$packroot.'WiiU-SMW-Casino.zip">WiiU</a> & <a href="'.$packroot.'3DS-SMW-Casino.zip">3DS</a></td>
<td>~AirShip - Created the tileset for SMBX.
~[user=2]: Revamped it for SMM, made edit music
~Yuzoboy: Made "play" music
~[user=4]: Import WiiU
~[user=1]: Import 3DS</td>
</tr>
<tr class="cell1">
<td class="center">SMW</td>
<td>Snow Tileset</td>
<td class="center"><a href="'.$packroot.'3DS-SMW-Snow.zip">3DS</a></td>
<td>[url=https://www.supermariobrosx.org/forums/memberlist.php?mode=viewprofile&u=2009&sid=696515b89b88d7a86dd7cee3727e3843]BMatSantos[/url]: SMBX tileset
~[user=1]: Audjusted it for SMM 3DS
~Explos: Added snow to the mushroom platforms
~[user=20]: Did the rest</td>
</tr>
<tr class="cell2">
<td class="center">SMW</td>
<td>Ice Tileset</td>
<td class="center"><a href="'.$packroot.'3DS-SMW-Ice.zip">3DS</a></td>
<td>[url=https://www.supermariobrosx.org/forums/memberlist.php?mode=viewprofile&u=2009&sid=696515b89b88d7a86dd7cee3727e3843]BMatSantos[/url]: SMBX tileset
~[user=1]: Audjusted it for SMM 3DS
~Explos: Added snow to the mushroom platforms
~[user=20]: Did the rest</td>
</tr>
<tr class="cell1">
<td class="center">NSMBU</td>
<td><a href="https://www.youtube.com/watch?v=UOzPuPJWPpE">Autumn Theme</a></td>
<td class="center"><a href="'.$packroot.'WiiU-NSMBU-Autumn.zip">WiiU</a> & <a href="'.$packroot.'3DS-NSMBU-Autumn.zip">3DS</a></td>
<td>~[user=5]: Creating the original
~[user=1]: 3DS Import</td>
</tr>
<tr class="cell2">
<td class="center">NSMBU</td>
<td><a href="https://www.youtube.com/watch?v=DZHILHRYAaY">Jungle</a></td>
<td class="center"><a href="'.$packroot.'WiiU-NSMBU-Jungle.zip">WiiU</a> & <a href="'.$packroot.'3DS-NSMBU-Jungle.zip">3DS</a></td>
<td>~[user=5] & [user=4]: Creating it
~[user=1]: 3DS Import</td>
</tr>
<tr class="cell1">
<td class="center">NSMBU</td>
<td><a href="https://www.youtube.com/watch?v=nbRisMFkQjY">Desert theme</a></td>
<td class="center"><a href="'.$packroot.'WiiU-NSMBU-desert.zip">WiiU</a> & <a href="'.$packroot.'3DS-NSMBU-desert.zip">3DS</a></td>
<td>[user=2] & [user=4]: Creating it
[user=1]: 3DS Import</td>
</tr>
<tr class="cell2">
<td class="center">NSMBU</td>
<td><a href="https://www.youtube.com/watch?v=S3YdcGrOTe0">NSMBDS Ground theme</a></td>
<td class="center"><a href="'.$packroot.'WiiU-NSMBU-NSMBDS.zip">WiiU</a> & <a href="'.$packroot.'3DS-NSMBU-NSMBDS.zip">3DS</a></td>
<td class="center">[user=5]</td>
</tr>
<tr class="cell1">
<td class="center">NSMBU</td>
<td><a href="https://www.youtube.com/watch?v=03-iCQrmCvs">NSMBW Ground theme</a></td>
<td class="center"><a href="'.$packroot.'WiiU-NSMBU-NSMBW.zip">WiiU</a> & <a href="'.$packroot.'3DS-NSMBU-NSMBW.zip">3DS</a></td>
<td class="center">[user=5]</td>
</tr>
<tr class="cell2">
<td class="center">NSMBU</td>
<td><a href="https://www.youtube.com/watch?v=5W8hZeqnMFo">Lava UnderGround theme</a></td>
<td class="center"><a href="'.$packroot.'WiiU-NSMBU-LavaUnderground.zip">WiiU</a></td>
<td>~[user=5]: Creating it
~[user=1]: 3DS Import</td>
</tr>
<tr class="cell1">
<td class="center">NSMBU</td>
<td>Blue Ground themes</td>
<td class="center"><a href="'.$packroot.'3DS-NSMBU-NSMBW-blue.zip">3DS NSMBW</a>
<a href="'.$packroot.'3DS-NSMBU-NSMBDS-blue.zip">3DS NSMBDS</a>
<a href="'.$packroot.'3DS-NSMBU-NSMBU-blue.zip">3DS NSMBU</a></td>
<td>~[user=5]: Making the original tileset
~[user=1]: Making it blue</td>
</tr>
<tr class="cell1">
<td colspan=4><small>There may be some more in the forums: [forum=3]. If you want someone to make you a SMM custom theme, check here: [forum=5]</small></td>
</tr>
</table>'; ?>
<style>
#myInput {
background-image: url('/css/searchicon.png'); /* Add a search icon to input */
background-color: white;
color: black;
background-position: 10px 12px; /* Position the search icon */
background-repeat: no-repeat; /* Do not repeat the icon image */
width: 80%; /* Full-width */
font-size: 16px; /* Increase font-size */
padding: 12px 20px 12px 40px; /* Add some padding */
border: 1px solid #ddd; /* Add a grey border */
border-radius: 25px;
margin-bottom: 2px; /* Add some space below the input */
}
</style>
<script>
function myFunction() {
// Declare variables
var input, filter, table, tr, td, i;
input = document.getElementById("myInput");
filter = input.value.toUpperCase();
table = document.getElementById("downloads");
tr = table.getElementsByTagName("tr");
// Loop through all table rows, and hide those who don't match the search query
for (i = 0; i < tr.length; i++) {
td = tr[i].getElementsByTagName("td")[1];
if (td) {
if (td.innerHTML.toUpperCase().indexOf(filter) > -1) {
tr[i].style.display = "";
} else {
tr[i].style.display = "none";
}
}
}
}
</script>
<table class="outline"><tbody>
<tr class="header0"><th>
Downloads
</th></tr>
<tr class="cell0"><td>
Welcome to the MMM downloads page! Here you will find a lot of tools that will be useful on your journey of hacking Super Mario Maker. You will also find a bunch of themes made by other people here. Good luck!
</td></tr>
</tbody></table><br>
<center><input type="text" id="myInput" onkeyup="myFunction()" placeholder="Search for names.."></center><br>
<?php echo parseBBCode($dlc); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment