Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
Housekeeping Issue.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Detox" data-source="post: 458872" data-attributes="member: 596"><p>Hello!</p><p></p><p>I'm trying to re-design BrainCMS to the Original HoloCMS (with modern tweak). At this time Im trying to complete the housekeeping.</p><p></p><p>So when I use my re-signed Housekeeping (Original HoloCMS) when I try to edit a user it shows "No users found"</p><p></p><p>I mimic the code from the Original BrainCMS Housekeeping.</p><p> </p><p>My Code:</p><p></p><p>[SPOILER="Code"]</p><p>[CODE=php]<?php</p><p> include_once "includes/head.php";</p><p> include_once "includes/header.php";</p><p> admin::CheckRank(5);</p><p>?></p><p><table cellpadding='0' cellspacing='8' width='100%' id='tablewrap'></p><p><tr> <td width='22%' valign='top' id='leftblock'></p><p> <div></p><p> <!-- LEFT CONTEXT SENSITIVE MENU --></p><p><?php [MENTION=2000167780]Include[/MENTION]('./includes/usermenu.php'); ?></p><p> <!-- / LEFT CONTEXT SENSITIVE MENU --></p><p> </div></p><p> </td></p><p> <td width='78%' valign='top' id='rightblock'></p><p> <div><!-- RIGHT CONTENT BLOCK --></p><p><!---</p><p><form action="" method='POST'></p><p><input type='hidden' name='hiddenHook' value='valid'></p><p><div class='tableborder'></p><p><div class='tableheaderalt'>Edit User</div></p><p></p><p><table width='100%' cellspacing='0' cellpadding='5' align='center' border='0'></p><p><tr></p><p><td class='tablerow1' width='40%' valign='middle'><b></b><div class='graytext'></div></td></p><p><td class='tablerow2' width='60%' valign='middle'><input type='text' name='".$key."' size='100%' value='<?php echo admin::EditUser("zoek"); ?>'>";</p><p></p><p> </td></p><p></tr></p><p></p><p><tr></p><p><tr><td align='center' class='tablesubheader' colspan='2' ><input type='submit' value='Save User' class='realbutton' accesskey='s'></td></tr></p><p></form></table></div><br /></p><p>--></p><p><?php</p><p> if (User::userData('rank') > '5')</p><p> {</p><p> ?></p><p><form action="" method="POST" name='user'></p><p><?php admin::searchUser(); ?></p><p><div class='tableborder'></p><p><div class='tableheaderalt'>Edit User</div></p><p><table width='100%' cellspacing='0' cellpadding='5' align='center' border='0'></p><p><tr></p><p><td class='tablerow1' width='40%' valign='middle'><b>Username</b><div class='graytext'>The name of the user you want to edit.</div></td></p><p><td class='tablerow2' width='60%' valign='middle'><input type='text' name='zoek' value="<?php echo admin::EditUser("zoek"); ?>" size='30' class='textinput'></td></p><p></tr></p><p></p><p><tr></p><p><tr><td align='center' class='tablesubheader' colspan='2' ><input type='submit' name="zoek" value='Edit User' class='realbutton' accesskey='s'></td></tr></p><p></form></table></div><br /></p><p><?php</p><p> }</p><p> else{</p><p> ?></p><p></p><p> <?php</p><p> }</p><p> ?></p><p></div><!-- / RIGHT CONTENT BLOCK --></p><p> </td></tr></p><p></table></p><p></div><!-- / OUTERDIV --></p><p><div align='center'><br /></p><p><?php</p><p>$mtime = explode(' ', microtime());</p><p>$totaltime = $mtime[0] + $mtime[1] - $starttime;</p><p>printf('Time: %.3f', $totaltime);</p><p>?></p><p></div>[/CODE]</p><p>[/SPOILER]</p><p></p><p>Original Brain Housekeeping Code: </p><p></p><p>[SPOILER="Brain Code"]</p><p>[CODE=php]<?php</p><p> include_once "includes/head.php";</p><p> include_once "includes/header.php";</p><p> include_once "includes/navi.php";</p><p> admin::CheckRank(5);</p><p>?></p><p><aside class="right-side"></p><p> <section class="content"></p><p> <div class="row"></p><p> <?php</p><p> if (User::userData('rank') > '5')</p><p> {</p><p> ?></p><p> <div class="col-md-12"></p><p> <section class="panel"></p><p> <header class="panel-heading"></p><p> Search For A User</p><p> <form action="" method="POST"></p><p> </header></p><p> <div class="panel-body"></p><p> <?php admin::searchUser(); ?></p><p> <div class="form-group"></p><p> <label class="col-sm-2 col-sm-2 control-label">Username</label></p><p> <div class="col-sm-10"></p><p> <input type="text" value="" name="user" class="form-control"></p><p> </div></p><p> </div></p><p> <br><br></p><p> <button style="width: 140px;</p><p> float: right;</p><p> margin-right: 14px;" name="zoek" type="submit" class="btn btn-success">Find User</button></p><p> </div></p><p> </section></p><p> </div></p><p> </form></p><p> <?php</p><p> }</p><p> else{</p><p> ?></p><p> <input type="hidden" value="<?php echo admin::EditUser("zoek"); ?>" name="zoek" class="form-control" disabled></p><p> <?php</p><p> }</p><p> ?></p><p> </div></p><p> <?php</p><p> include_once "includes/footer.php";</p><p> include_once "includes/script.php";</p><p> ?>[/CODE]</p><p>[/SPOILER]</p><p></p><p>*Image attached*</p><p></p><p>If you'd you like to view some images of my project please click <a href="https://imgur.com/gallery/gpZKIes" target="_blank">https://imgur.com/gallery/gpZKIes</a></p></blockquote><p></p>
[QUOTE="Detox, post: 458872, member: 596"] Hello! I'm trying to re-design BrainCMS to the Original HoloCMS (with modern tweak). At this time Im trying to complete the housekeeping. So when I use my re-signed Housekeeping (Original HoloCMS) when I try to edit a user it shows "No users found" I mimic the code from the Original BrainCMS Housekeeping. My Code: [SPOILER="Code"] [CODE=php]<?php include_once "includes/head.php"; include_once "includes/header.php"; admin::CheckRank(5); ?> <table cellpadding='0' cellspacing='8' width='100%' id='tablewrap'> <tr> <td width='22%' valign='top' id='leftblock'> <div> <!-- LEFT CONTEXT SENSITIVE MENU --> <?php [MENTION=2000167780]Include[/MENTION]('./includes/usermenu.php'); ?> <!-- / LEFT CONTEXT SENSITIVE MENU --> </div> </td> <td width='78%' valign='top' id='rightblock'> <div><!-- RIGHT CONTENT BLOCK --> <!--- <form action="" method='POST'> <input type='hidden' name='hiddenHook' value='valid'> <div class='tableborder'> <div class='tableheaderalt'>Edit User</div> <table width='100%' cellspacing='0' cellpadding='5' align='center' border='0'> <tr> <td class='tablerow1' width='40%' valign='middle'><b></b><div class='graytext'></div></td> <td class='tablerow2' width='60%' valign='middle'><input type='text' name='".$key."' size='100%' value='<?php echo admin::EditUser("zoek"); ?>'>"; </td> </tr> <tr> <tr><td align='center' class='tablesubheader' colspan='2' ><input type='submit' value='Save User' class='realbutton' accesskey='s'></td></tr> </form></table></div><br /> --> <?php if (User::userData('rank') > '5') { ?> <form action="" method="POST" name='user'> <?php admin::searchUser(); ?> <div class='tableborder'> <div class='tableheaderalt'>Edit User</div> <table width='100%' cellspacing='0' cellpadding='5' align='center' border='0'> <tr> <td class='tablerow1' width='40%' valign='middle'><b>Username</b><div class='graytext'>The name of the user you want to edit.</div></td> <td class='tablerow2' width='60%' valign='middle'><input type='text' name='zoek' value="<?php echo admin::EditUser("zoek"); ?>" size='30' class='textinput'></td> </tr> <tr> <tr><td align='center' class='tablesubheader' colspan='2' ><input type='submit' name="zoek" value='Edit User' class='realbutton' accesskey='s'></td></tr> </form></table></div><br /> <?php } else{ ?> <?php } ?> </div><!-- / RIGHT CONTENT BLOCK --> </td></tr> </table> </div><!-- / OUTERDIV --> <div align='center'><br /> <?php $mtime = explode(' ', microtime()); $totaltime = $mtime[0] + $mtime[1] - $starttime; printf('Time: %.3f', $totaltime); ?> </div>[/CODE] [/SPOILER] Original Brain Housekeeping Code: [SPOILER="Brain Code"] [CODE=php]<?php include_once "includes/head.php"; include_once "includes/header.php"; include_once "includes/navi.php"; admin::CheckRank(5); ?> <aside class="right-side"> <section class="content"> <div class="row"> <?php if (User::userData('rank') > '5') { ?> <div class="col-md-12"> <section class="panel"> <header class="panel-heading"> Search For A User <form action="" method="POST"> </header> <div class="panel-body"> <?php admin::searchUser(); ?> <div class="form-group"> <label class="col-sm-2 col-sm-2 control-label">Username</label> <div class="col-sm-10"> <input type="text" value="" name="user" class="form-control"> </div> </div> <br><br> <button style="width: 140px; float: right; margin-right: 14px;" name="zoek" type="submit" class="btn btn-success">Find User</button> </div> </section> </div> </form> <?php } else{ ?> <input type="hidden" value="<?php echo admin::EditUser("zoek"); ?>" name="zoek" class="form-control" disabled> <?php } ?> </div> <?php include_once "includes/footer.php"; include_once "includes/script.php"; ?>[/CODE] [/SPOILER] *Image attached* If you'd you like to view some images of my project please click [URL]https://imgur.com/gallery/gpZKIes[/URL] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
Housekeeping Issue.
Top