bit of help much appreceiated

Sep 13, 2011
60
2
hey guys does someone know how to add custom or new furni to my hotel its on ubercms phoenix emu ive tried looking on google and the web but cant find a solution so any help would be much appreceiated thank you very much.
 

Unacceptable

umadbr0?
Aug 3, 2012
106
17
Once you have Downloaded your SWF's, Extract them to your Htdocs folder, Once you have done that go into Your Variables file using Notepad or Notepad++ and change the IP addresses to your Hamachi IP/VPS IP/Localhost. Hope I helped.
 
Sep 13, 2011
60
2
Once you have Downloaded your SWF's, Extract them to your Htdocs folder, Once you have done that go into Your Variables file using Notepad or Notepad++ and change the IP addresses to your Hamachi IP/VPS IP/Localhost. Hope I helped.
on this cms there isnt one :s there to files called vars.php but no where to put ip

<?php

if (!defined('IN_HK') || !IN_HK)
{
exit;
}

if (!HK_LOGGED_IN || !$users->hasFuse(USER_ID, 'fuse_admin'))
{
exit;
}

if (isset($_POST['edit-no']))
{
dbquery("UPDATE external_variables SET skey = '" . filter($_POST['key']) . "', sval = '" . filter($_POST['value']). "' WHERE skey = '" . filter($_POST['edit-no']) . "' LIMIT 1");
}

if (isset($_POST['newkey']))
{
dbquery("INSERT INTO external_variables (skey,sval) VALUES ('" . filter($_POST['newkey']) . "','" . filter($_POST['newval']) . "')");
}

if (isset($_GET['doDel']))
{
dbquery("DELETE FROM external_variables WHERE skey = '" . filter($_GET['doDel']) . "' LIMIT 1");
fMessage('ok', 'Key removed.');
header("Location: index.php?_cmd=vars");
exit;
}

require_once "top.php";

echo '<h1>External variables (overrides)</h1>';
echo '<p>This tool can be used to override external variables keys.</p><br />';

echo '<a href=" " id="">Show Habbo\'s external variables</a>';

echo '<table border="1" width="100%">';
echo '<thead>';
echo '<tr>';
echo '<td>Key</td>';
echo '<td>Value</td>';
echo '<td>Controls</td>';
echo '</tr>';

$get = dbquery("SELECT * FROM external_variables");

while ($text = mysql_fetch_assoc($get))
{
echo '<tr><form method="post">';
echo '<input type="hidden" name="edit-no" value="' . clean($text['skey']) . '">';
echo '<td><input type="text" style="width: 100%; padding: 10px; font-size: 115%;" name="key" value="' . clean($text['skey']) . '"></td>';
echo '<td><textarea style="width: 100%; height: 100%;" name="value">' . clean($text['sval']) . '</textarea></td>';
echo '<td><center><input type="submit" value="Update">&nbsp;<input type="button" value="Delete" onclick="window.location = \'index.php?_cmd=vars&doDel=' . $text['skey'] . '\';"></center></td>';
echo '</form></tr>';
}

echo '<tr><form method="post">';
echo '<td><input type="text" style="width: 100%; padding: 10px; font-size: 115%;" name="newkey"></td>';
echo '<td><textarea name="newval" style="width: 100%; height: 100%;"></textarea>';
echo '<td><center><input type="submit" value="Add">';
echo '</form></tr>';

echo '</thead>';
echo '</table>';

require_once "bottom.php";

?>
 

Unacceptable

umadbr0?
Aug 3, 2012
106
17
on this cms there isnt one :s there to files called vars.php but no where to put ip

<?php

if (!defined('IN_HK') || !IN_HK)
{
exit;
}

if (!HK_LOGGED_IN || !$users->hasFuse(USER_ID, 'fuse_admin'))
{
exit;
}

if (isset($_POST['edit-no']))
{
dbquery("UPDATE external_variables SET skey = '" . filter($_POST['key']) . "', sval = '" . filter($_POST['value']). "' WHERE skey = '" . filter($_POST['edit-no']) . "' LIMIT 1");
}

if (isset($_POST['newkey']))
{
dbquery("INSERT INTO external_variables (skey,sval) VALUES ('" . filter($_POST['newkey']) . "','" . filter($_POST['newval']) . "')");
}

if (isset($_GET['doDel']))
{
dbquery("DELETE FROM external_variables WHERE skey = '" . filter($_GET['doDel']) . "' LIMIT 1");
fMessage('ok', 'Key removed.');
header("Location: index.php?_cmd=vars");
exit;
}

require_once "top.php";

echo '<h1>External variables (overrides)</h1>';
echo '<p>This tool can be used to override external variables keys.</p><br />';

echo '<a href=" " id="">Show Habbo\'s external variables</a>';

echo '<table border="1" width="100%">';
echo '<thead>';
echo '<tr>';
echo '<td>Key</td>';
echo '<td>Value</td>';
echo '<td>Controls</td>';
echo '</tr>';

$get = dbquery("SELECT * FROM external_variables");

while ($text = mysql_fetch_assoc($get))
{
echo '<tr><form method="post">';
echo '<input type="hidden" name="edit-no" value="' . clean($text['skey']) . '">';
echo '<td><input type="text" style="width: 100%; padding: 10px; font-size: 115%;" name="key" value="' . clean($text['skey']) . '"></td>';
echo '<td><textarea style="width: 100%; height: 100%;" name="value">' . clean($text['sval']) . '</textarea></td>';
echo '<td><center><input type="submit" value="Update">&nbsp;<input type="button" value="Delete" onclick="window.location = \'index.php?_cmd=vars&doDel=' . $text['skey'] . '\';"></center></td>';
echo '</form></tr>';
}

echo '<tr><form method="post">';
echo '<td><input type="text" style="width: 100%; padding: 10px; font-size: 115%;" name="newkey"></td>';
echo '<td><textarea name="newval" style="width: 100%; height: 100%;"></textarea>';
echo '<td><center><input type="submit" value="Add">';
echo '</form></tr>';

echo '</thead>';
echo '</table>';

require_once "bottom.php";

?>
What do you mean this cms? Look, just PM me and I'll help you set it up.
 

Khalil

IDK
Dec 6, 2011
1,642
786
on this cms there isnt one :s there to files called vars.php but no where to put ip

<?php

if (!defined('IN_HK') || !IN_HK)
{
exit;
}

if (!HK_LOGGED_IN || !$users->hasFuse(USER_ID, 'fuse_admin'))
{
exit;
}

if (isset($_POST['edit-no']))
{
dbquery("UPDATE external_variables SET skey = '" . filter($_POST['key']) . "', sval = '" . filter($_POST['value']). "' WHERE skey = '" . filter($_POST['edit-no']) . "' LIMIT 1");
}

if (isset($_POST['newkey']))
{
dbquery("INSERT INTO external_variables (skey,sval) VALUES ('" . filter($_POST['newkey']) . "','" . filter($_POST['newval']) . "')");
}

if (isset($_GET['doDel']))
{
dbquery("DELETE FROM external_variables WHERE skey = '" . filter($_GET['doDel']) . "' LIMIT 1");
fMessage('ok', 'Key removed.');
header("Location: index.php?_cmd=vars");
exit;
}

require_once "top.php";

echo '<h1>External variables (overrides)</h1>';
echo '<p>This tool can be used to override external variables keys.</p><br />';

echo '<a href=" " id="">Show Habbo\'s external variables</a>';

echo '<table border="1" width="100%">';
echo '<thead>';
echo '<tr>';
echo '<td>Key</td>';
echo '<td>Value</td>';
echo '<td>Controls</td>';
echo '</tr>';

$get = dbquery("SELECT * FROM external_variables");

while ($text = mysql_fetch_assoc($get))
{
echo '<tr><form method="post">';
echo '<input type="hidden" name="edit-no" value="' . clean($text['skey']) . '">';
echo '<td><input type="text" style="width: 100%; padding: 10px; font-size: 115%;" name="key" value="' . clean($text['skey']) . '"></td>';
echo '<td><textarea style="width: 100%; height: 100%;" name="value">' . clean($text['sval']) . '</textarea></td>';
echo '<td><center><input type="submit" value="Update">&nbsp;<input type="button" value="Delete" onclick="window.location = \'index.php?_cmd=vars&doDel=' . $text['skey'] . '\';"></center></td>';
echo '</form></tr>';
}

echo '<tr><form method="post">';
echo '<td><input type="text" style="width: 100%; padding: 10px; font-size: 115%;" name="newkey"></td>';
echo '<td><textarea name="newval" style="width: 100%; height: 100%;"></textarea>';
echo '<td><center><input type="submit" value="Add">';
echo '</form></tr>';

echo '</thead>';
echo '</table>';

require_once "bottom.php";

?>

what does the housekeeping has to do with anything you talked about ?!
 

Users who are viewing this thread

Top