UberCMS Appeals

Results 1 to 14 of 14
  1. #1
    Account Upgraded | Title Enabled! Fishing Rod is offline
    MemberRank
    Dec 2013 Join Date
    214Posts

    smile UberCMS Appeals

    Can anyone fix my Appeals :

    PHP Code:
    <?php
    require_once "../includes/class.rooms.php";
    if (!
    defined('IN_HK') || !IN_HK){    exit;}
    if (!
    HK_LOGGED_IN || !$users->hasFuse(USER_ID'fuse_housekeeping_moderation')){    exit;}
    if (isset(
    $_GET['doDenyAppeal']) && is_numeric($_GET['doDenyAppeal'])){    dbquery("UPDATE bans SET appeal_state = '2' WHERE id = '" intval($_GET['doDenyAppeal']) . "'" . (($users->HasFuse(USER_ID'fuse_admin')) ? "" " AND added_by = '" HK_USER_NAME "'") . " LIMIT 1");        if (mysql_affected_rows() >= 1)    {        dbquery("DELETE FROM bans_appeals WHERE ban_id = '" intval($_GET['doDenyAppeal']) . "' LIMIT 1");        fMessage('ok''Ban appeal denied.');                header("Location: index.php?_cmd=appeals");        exit;            }}
    if (isset(
    $_GET['unban']) && is_numeric($_GET['unban'])){    dbquery("DELETE FROM bans WHERE id = '" intval($_GET['unban']) . "'" . (($users->HasFuse(USER_ID'fuse_admin')) ? "" " AND added_by = '" HK_USER_NAME "'") . " LIMIT 1");        if (mysql_affected_rows() >= 1)    {        dbquery("DELETE FROM bans_appeals WHERE ban_id = '" intval($_GET['unban']) . "' LIMIT 1");        fMessage('ok''Ban removed.');                $core->Mus('reloadbans');                header("Location: index.php?_cmd=appeals");        exit;    }}
    if (isset(
    $_POST['bantype'])){    $bantype filter($_POST['bantype']);    $value filter($_POST['value']);    $reason filter($_POST['reason']);    $length filter($_POST['length']);    $noAppeal '';        if (isset($_POST['no-appeal']))    {        $noAppeal filter($_POST['no-appeal']);    }        if ($bantype != "ip" && $bantype != "user")    {        $bantype "user";    }        if (strlen($value) <= || strlen($reason) <= || !is_numeric($length) || intval($length) < 600)    {        fMessage('error''Please fill in all fields correctly! (Also take note a ban must be at least 10 minutes in length!)');        header("Location: index.php?_cmd=bans");        exit;    }        // $type, $value, $reason, $expireTime, $addedBy    uberCore::AddBan($bantype, $value, $reason, time() + $length, HK_USER_NAME, (($noAppeal == "checked") ? true : false));    $core->Mus('reloadbans');}require_once "top.php";
    ?>            

    <form method="post">
    <br />
    <h2>List of Bans</h2>
    <br />
    <table class="widefat post fixed"><thead><tr>    <td>Details</td>    <td>IP Address</td>    <td>Data</td>    <td>Email</td>    <td>Plea</td>    <td>Review</td></tr></thead><tbody><?php
    $getMyBans 
    dbquery("SELECT id,bantype,value,expire,added_date,appeal_state FROM bans WHERE appeal_state = '1'" . (($users->HasFuse(USER_ID'fuse_admin')) ? "" " AND added_by = '" HK_USER_NAME "'"));
    while (
    $ban mysql_fetch_assoc($getMyBans)){    $findAppeal dbquery("SELECT * FROM bans_appeals WHERE ban_id = '" $ban['id'] . "' LIMIT 1");        if (mysql_num_rows($findAppeal) == 1)    {        $data mysql_fetch_assoc($findAppeal);                if ($data['plea'] == '')        {            continue;        }            echo '<tr>        <td>' strtoupper($ban['bantype']) . ' Ban: <b>' clean($ban['value']) . '</b><br />        Placed on <u>' $ban['added_date'] . '</u>,<br />set to expire on <u>' date('d F, Y'$ban['expire']) . '</u>.</td>        <td>' $data['send_ip'] . '</td>        <td>' $data['send_date'] . '</td>        <td>' clean($data['email']) . '</td>        <td style="background-color: #CEE3F6; text-align: center; font-size: 90%;">' nl2br(clean($data['plea'])) . '</td>        <td><input type="button" style="color: darkgreen;" onclick="document.location = \'index.php?_cmd=bans&unban=' $data['ban_id'] . '\';" value="Accept and unban">&nbsp;<input style="color: darkred;" type="button" onclick="document.location = \'index.php?_cmd=bans&doDenyAppeal=' $ban['id'] . '\';" value="Deny"></td>        </tr>';    }}
    ?></tbody></table>


    <?php
    require_once "bottom.php";
    ?>

    Because its not showing screenies :



    IDK What's Wrong With it its not showing =(


  2. #2
    PHP & C# Developer Stevehabbz is offline
    MemberRank
    Nov 2011 Join Date
    244Posts

    Re: UberCMS Appeals

    Wrong Sections !
    Post this at here :
    Habbo Help - Ragezone

  3. #3
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: UberCMS Appeals

    Are the database structures correct? Try adding or die(mysql_error()) behind any query to spot any MySQL Errors.

  4. #4
    Account Upgraded | Title Enabled! Fishing Rod is offline
    MemberRank
    Dec 2013 Join Date
    214Posts

    Re: UberCMS Appeals

    Quote Originally Posted by HillBilly View Post
    Are the database structures correct? Try adding or die(mysql_error()) behind any query to spot any MySQL Errors.
    Can you please add it =))

    IDK LoL

  5. #5
    Account Upgraded | Title Enabled! Fishing Rod is offline
    MemberRank
    Dec 2013 Join Date
    214Posts

    Re: UberCMS Appeals

    Quote Originally Posted by HillBilly View Post
    Are the database structures correct? Try adding or die(mysql_error()) behind any query to spot any MySQL Errors.
    all the Database Structures are correct idk why they are not showing up =(
    Last edited by Fishing Rod; 22-01-14 at 07:57 AM.

  6. #6
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: UberCMS Appeals

    I'm positive this was never finished.. Although, I'd go searching through some of the Spanish CMS's released based on Uber as they have just over hauled it and one would have it fixed.

  7. #7
    Account Upgraded | Title Enabled! Fishing Rod is offline
    MemberRank
    Dec 2013 Join Date
    214Posts

    Re: UberCMS Appeals

    Quote Originally Posted by FatalLulz View Post
    I'm positive this was never finished.. Although, I'd go searching through some of the Spanish CMS's released based on Uber as they have just over hauled it and one would have it fixed.


    Its working on my other Housekeeping ^^

  8. #8
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: UberCMS Appeals

    Then why not swap the code over..? Or just use that housekeeping?

  9. #9
    Account Upgraded | Title Enabled! Fishing Rod is offline
    MemberRank
    Dec 2013 Join Date
    214Posts

    Re: UberCMS Appeals

    I want the new one from UberCMS 2.0 =D

    Can you help me ??
    Skype : joshua.medina8 or just connect to my TV : 700 548 225 pass kgi116 ill be waiting for you to connect =D

  10. #10
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: UberCMS Appeals

    Can I get that background meds? I think it is lovely and will use it for a public project soon

  11. #11
    Account Upgraded | Title Enabled! Fishing Rod is offline
    MemberRank
    Dec 2013 Join Date
    214Posts

    Re: UberCMS Appeals

    Quote Originally Posted by HillBilly View Post
    Can I get that background meds? I think it is lovely and will use it for a public project soon
    Whaha sure but help me with this shit please ? =(

  12. #12
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: UberCMS Appeals

    UberCMS 1's Housekeeping had more features... UberCMS 2's, had less features. They're basically the same just one has a little different style to it.

  13. #13
    Apprentice Joyce Mejia is offline
    MemberRank
    Aug 2013 Join Date
    21Posts

    Re: UberCMS Appeals

    Oh okay thanks ! =D

  14. #14
    Account Upgraded | Title Enabled! Fishing Rod is offline
    MemberRank
    Dec 2013 Join Date
    214Posts

    Re: UberCMS Appeals

    Closed This thread please thanks to HillBilly ! =D



Advertisement