[UberCMS] Housekeeping Hotel Alert Fix

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Banned c0mma is offline
    BannedRank
    Jan 2011 Join Date
    ^RaGEZONE^Location
    696Posts

    note [UberCMS] Housekeeping Hotel Alert Fix

    Sick and tired of your god damn Housekeeping Hotel Alert not working?

    Well look no further, as I am about to release a Rip and Paste from Zap Hotel's hotel alert page from there housekeeping!

    Replace C:\xampp\htdocs\manage\pages\ha.php with this:

    PHP Code:
    <?php

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

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

    if (isset(
    $_POST['hatext']))
    {
        
    fMessage('ok''Message sent:<br />"' clean($_POST['hatext']) . '"');
        
    $lol clean($_POST['hatext']);
        
    $hmsg "
    "
    .derpC($_POST['hatext'] . "
    - " 
    USER_NAME);
        
    $core->Mus('ha'$hmsg);
    dbquery("INSERT INTO `cms_alerts` (alert, author) VALUES ('"$lol ."', '"USER_NAME ."')");  
    }

    require_once 
    "top.php";

    ?>            

    <h1>Hotel Alert</h1>

    <br />

    <p>
        Please use this setting with care! <i>DO NOT SPAM!</i> <b>This system is logged.</b>
    </p>

    <br />

    <p>
    <?php if (isset($_POST['hatext'])) { ?>
    <h1 style="padding: 15px;">Message Sent <span style="border: 2px dotted gray; padding: 10px; margin: 5px; font-size: 70%; font-weight: normal;"><?php echo clean($_POST['hatext']); ?></span><input type="button" value="Send new message?" onclick="document.location = 'index.php?_cmd=ha';"></h1>
    <?php } else { ?>
    <form method="post">

    <textarea name="hatext" cols="70" rows="10"></textarea>
    <input type="submit" value="Send">

    </form>
    </p>
    <?php
    }

    require_once 
    "bottom.php";

    ?>
    98% Credits To Jontycat - For coding it!
    2% Credits To Me - For releasing it here!

    Please don't spam saying this is a 'Rip' because I know it is, and I only released it for the noobs...


  2. #2
    Account Upgraded | Title Enabled! MikeDavies is offline
    MemberRank
    Aug 2010 Join Date
    WalesLocation
    629Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    Hotel Alert works in Uber if you just swich MUS on...

  3. #3
    Banned c0mma is offline
    BannedRank
    Jan 2011 Join Date
    ^RaGEZONE^Location
    696Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    mhm, still people can use this ;p

  4. #4
    What about no. Davidaap is offline
    MemberRank
    Nov 2009 Join Date
    773Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    you cant use it because you dont know how to setup it -,-
    please stop with this bullshit releases -,-

  5. #5
    Banned c0mma is offline
    BannedRank
    Jan 2011 Join Date
    ^RaGEZONE^Location
    696Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    Wow, no need to be rude O.O

    Don't need to post mean comments like that ^.

  6. #6
    Account Upgraded | Title Enabled! Tony is offline
    MemberRank
    Feb 2011 Join Date
    349Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    we post means comments because people like you ^^

  7. #7
    Account Upgraded | Title Enabled! FlyCoder is offline
    MemberRank
    Jan 2011 Join Date
    United KingdomLocation
    469Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    3 Releases in a row, obviously copying Releases from somewhere.

  8. #8
    Banned c0mma is offline
    BannedRank
    Jan 2011 Join Date
    ^RaGEZONE^Location
    696Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    I'm not copying releases... I am posting stuff from rCMS if people don't want to download the CMS, they can just add stuff from it to there CMS...

  9. #9
    Account Upgraded | Title Enabled! GrandCoder is offline
    MemberRank
    Jul 2010 Join Date
    BramptonLocation
    413Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    Ha. Your Code IS Wrong.

  10. #10
    C# | C++ Emerica is offline
    MemberRank
    Oct 2010 Join Date
    GermanyLocation
    437Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    I think it's usefull

  11. #11
    Banned c0mma is offline
    BannedRank
    Jan 2011 Join Date
    ^RaGEZONE^Location
    696Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    People, if you don't like it, just leave the thread -.-

  12. #12
    swagggggg Livar is offline
    MemberRank
    Oct 2008 Join Date
    United KingdomLocation
    2,272Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    Quote Originally Posted by MikeDavies View Post
    Hotel Alert works in Uber if you just swich MUS on...
    Quoted for 'ze truth, mmk?

  13. #13
    Banned c0mma is offline
    BannedRank
    Jan 2011 Join Date
    ^RaGEZONE^Location
    696Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    Mhm, Well I don't know if this will help or not... -.-

  14. #14
    sexiess is a sin. Subway is offline
    MemberRank
    Jun 2010 Join Date
    2,491Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    End spam

    He got DisClaimer and Contact us page from Zap Hotel and code he got from somewhere.

  15. #15
    :joy: Jonteh is offline
    MemberRank
    Apr 2007 Join Date
    New York, USALocation
    3,375Posts

    Re: [UberCMS] Housekeeping Hotel Alert Fix

    The only thing I changed in this was to log hotel alerts sent out because I had :ha disabled in my emulator, and coded added protection onto the login of my hk (removed in rCMS Public).

    You'll need to create the table cms_alerts with the fields author and alert (I think thats it).

    You'll also want the halogs.php out of /pages/



Page 1 of 2 12 LastLast

Advertisement