RyanMK
Still alive
This is just a quick release, I know the PHP isn't the best but it serves it purpose. Feel free to make modifications to the following code:
PHP:
<?php
//Loader maker by Ryan Davidson or Anon from DevBest.com
if ($_POST['Submit']) {
if (empty($_POST['texts'])){
echo "You left the Texts field blank!<br /><br />";
}
if (empty($_POST['vars'])){
echo "You left the Variables field blank!<br /><br />";
}
if (empty($_POST['dcr'])){
echo "You left the DCR field blank!<br /><br />";
}
if (empty($_POST['ip'])){
echo "You left the IP field blank!<br /><br />";
}
if (empty($_POST['port'])){
echo "You left the Port field blank!<br /><br />";
}
if (empty($_POST['name'])){
echo "You left the Hotel name field blank!<br /><br />";
}
if (empty($_POST['reload'])){
echo "You left the Reload URL field blank!<br /><br />";
}
else {
echo "Your loader has been created successfully, your code is below ready to be pasted to your site!<br /><br />";
echo "<textarea rows='25' cols='40'><center>Welcome to ".$_POST['name']."!<br /><br />
<object classid='clsid:166B1BCA-3F9C-11CF-8075-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0' id='habbo' width='720' height='540'>
<param name='src' value='".$_POST['dcr']."'>
<param name='swRemote' value='swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true' '>
<param name='swStretchStyle' value='none'>
<param name='swText' value=''>
<param name='bgColor' value='#000000'>
<param name='sw6' value='external.texts.txt=".$_POST['texts']."'>
<param name='sw2' value='connection.info.host=".$_POST['ip'].";connection.info.port=".$_POST['port']."'>
<param name='sw4' value='connection.mus.host=game.habbohotel.nl;connection.mus.port=30001'>
<param name='sw3' value='client.reload.url=".$_POST['reload']."'>
<param name='sw1' value='site.url=http://www.habbohotel.nl;url.prefix=http://www.habbohotel.nl'>
<param name='sw5' value='external.variables.txt=".$_POST['vars']."'>
<embed src='".$_POST['dcr']."' bgColor='#000000' width='720' height='540' swRemote='swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true'' swStretchStyle='none' swText='' type='application/x-director' pluginspage='http://www.macromedia.com/shockwave/download/' sw6='external.texts.txt=".$_POST['texts']."' sw2='connection.info.host=".$_POST['ip'].";connection.info.port=".$_POST['port']."' sw4='connection.mus.host=game.habbohotel.nl;connection.mus.port=30001' sw3='client.reload.url=".$_POST['reload']."' sw1='site.url=http://www.habbohotel.co.uk;url.prefix=http://www.habbohotel.co.uk' sw5='external.variables.txt=".$_POST['vars']."'>
</embed>
</object></center></textarea>";
}
}
else {
?>
<form method="post">
<strong>DCR's, texts and variables</strong><br /><br />
External texts URL: <input name="texts" type="text" /><br /><br />
External variables URL: <input name="vars" type="text" /><br /><br />
DCR URL: <input name="dcr" type="text" /><br /><br />
<strong>Server information</strong><br /><br />
IP address: <input name="ip" type="text" value="<?php echo $_SERVER['REMOTE_ADDR'] ?>" /><br /><br />
Hotel port: <input name="port" type="text" /><br /><br />
<strong>General information</strong><br /><br />
Hotel name: <input name="name" type="text" /><br /><br />
Reload URL: <input name="reload" type="text" /><br /><br />
<input name="Submit" type="submit" class="form" value="Create loader!" /></form>
<?php
}
?>