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
BrainCMS | Trade Logs unknown column
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="Wieiscool" data-source="post: 469516" data-attributes="member: 27468"><p>This changes it a little bit, I changed the code to make it work etc, maybe not the best fix but it was exactly how I wanted it.</p><p>If you want it different than how I did it, you can probably change it yourself or ask here.</p><p></p><p>Go to the "adminpan" folder and open "tradelogs.php"</p><p></p><p>Replace everything with:</p><p></p><p></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(3);</p><p>?></p><p><aside class="right-side"></p><p> <section class="content"></p><p> <div class="row"></p><p> <div class="col-md-12"></p><p> <section class="panel"></p><p> <header class="panel-heading"></p><p> <b>Trade Logs - Unknown items are either exchanged credits/clothing</b><br></p><p> <form name="mygallery" action="" method="POST"></p><p> </header></p><p> <div class="panel-body"></p><p> <table class="table table-striped table-bordered table-condensed"></p><p> <b> <strong><tr><td><b>Trade (ID)</b></td><td><b>User (ID)</b></td><td><b>Item (ID)</b></td><td><b>Date/Time</b></td></tr></strong></b</p><p> <tbody></p><p> <?php</p><p> $getLogs = $dbh->prepare("SELECT * FROM room_trade_log_items JOIN room_trade_log ORDER BY room_trade_log_items.id DESC");</p><p> $getLogs->execute();</p><p> while($log = $getLogs->fetch())</p><p> {</p><p> echo'<tr></p><p> <td>'.$log["id"].'</td></p><p> <td style="width: 13%;">'.$log["user_id"].'</td></p><p> <td style="width: 25%;">'.$log["item_id"].'</td></p><p> <td>'. gmdate('d-m-Y, H:i ', $log['timestamp']).'</td></p><p> ';</p><p> }</p><p> </p><p> ?></p><p> </tbody></p><p> </table></p><p> </div></p><p> </div></p><p> </div></p><p> <?php</p><p> include_once "includes/footer.php";</p><p> include_once "includes/script.php";</p><p> ?> [/CODE]</p></blockquote><p></p>
[QUOTE="Wieiscool, post: 469516, member: 27468"] This changes it a little bit, I changed the code to make it work etc, maybe not the best fix but it was exactly how I wanted it. If you want it different than how I did it, you can probably change it yourself or ask here. Go to the "adminpan" folder and open "tradelogs.php" Replace everything with: [CODE=php]<?php include_once "includes/head.php"; include_once "includes/header.php"; include_once "includes/navi.php"; admin::CheckRank(3); ?> <aside class="right-side"> <section class="content"> <div class="row"> <div class="col-md-12"> <section class="panel"> <header class="panel-heading"> <b>Trade Logs - Unknown items are either exchanged credits/clothing</b><br> <form name="mygallery" action="" method="POST"> </header> <div class="panel-body"> <table class="table table-striped table-bordered table-condensed"> <b> <strong><tr><td><b>Trade (ID)</b></td><td><b>User (ID)</b></td><td><b>Item (ID)</b></td><td><b>Date/Time</b></td></tr></strong></b <tbody> <?php $getLogs = $dbh->prepare("SELECT * FROM room_trade_log_items JOIN room_trade_log ORDER BY room_trade_log_items.id DESC"); $getLogs->execute(); while($log = $getLogs->fetch()) { echo'<tr> <td>'.$log["id"].'</td> <td style="width: 13%;">'.$log["user_id"].'</td> <td style="width: 25%;">'.$log["item_id"].'</td> <td>'. gmdate('d-m-Y, H:i ', $log['timestamp']).'</td> '; } ?> </tbody> </table> </div> </div> </div> <?php include_once "includes/footer.php"; include_once "includes/script.php"; ?> [/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
BrainCMS | Trade Logs unknown column
Top