• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Forum.php Gęsior 2012 HELP

Cys9211

Sencor!
Joined
Aug 21, 2008
Messages
104
Reaction score
4
Location
Poland (Bełchatów)
HELP!!

What i change to small this text place?

beztytugfg.png

forum.php ---> http://wklej.to/LnPgG


and what i change to Hidden Account Manager and Sample Player?
beztytughf.png




PHP:
<div id="vt_panel_module">
                                <div class="header">TOP 20 PLAYERS</div>
                                <?php
                                    $TopPlayers = $SQL->query("SELECT `name`, `experience`, `level` FROM `players` ORDER BY `experience` DESC LIMIT 20")->fetchAll();
                                    $Counter = 1;
                                ?>
                                <table cellspacing="0" cellpadding="2" border="0" width="100%">
                                    <?php foreach($TopPlayers as $Player): ?>
                                    <tr>
                                        <td width="10%"><?php echo $Counter; $Counter++; ?>.</td>
                                        <td><a href="index.php?subtopic=characters&amp;name=<?php echo urlencode($Player['name']); ?>"><?php echo $Player['name']; ?></a></td>
                                        <td align="right" width="25%"><?php echo $Player['level']; ?> lvl</td>
                                    </tr>
                                    <?php endforeach; ?>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
 
Try this code http://wklej.to/Xbs5a

and

PHP:
<div id="vt_panel_module">
                                <div class="header">TOP 20 PLAYERS</div>
                                <?php
                                    $TopPlayers = $SQL->query("SELECT `name`, `experience`, `level` FROM `players` AND `account_id` != 1 ORDER BY `experience` DESC LIMIT 20")->fetchAll();
                                    $Counter = 1;
                                ?>
                                <table cellspacing="0" cellpadding="2" border="0" width="100%">
                                    <?php foreach($TopPlayers as $Player): ?>
                                    <tr>
                                        <td width="10%"><?php echo $Counter; $Counter++; ?>.</td>
                                        <td><a href="index.php?subtopic=characters&amp;name=<?php echo urlencode($Player['name']); ?>"><?php echo $Player['name']; ?></a></td>
                                        <td align="right" width="25%"><?php echo $Player['level']; ?> lvl</td>
                                    </tr>
                                    <?php endforeach; ?>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
 
Try this code http://wklej.to/Xbs5a

and

PHP:
<div id="vt_panel_module">
                                <div class="header">TOP 20 PLAYERS</div>
                                <?php
                                    $TopPlayers = $SQL->query("SELECT `name`, `experience`, `level` FROM `players` AND `account_id` != 1 ORDER BY `experience` DESC LIMIT 20")->fetchAll();
                                    $Counter = 1;
                                ?>
                                <table cellspacing="0" cellpadding="2" border="0" width="100%">
                                    <?php foreach($TopPlayers as $Player): ?>
                                    <tr>
                                        <td width="10%"><?php echo $Counter; $Counter++; ?>.</td>
                                        <td><a href="index.php?subtopic=characters&amp;name=<?php echo urlencode($Player['name']); ?>"><?php echo $Player['name']; ?></a></td>
                                        <td align="right" width="25%"><?php echo $Player['level']; ?> lvl</td>
                                    </tr>
                                    <?php endforeach; ?>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>


Code:
Fatal error: Call to a member function fetchAll() on a non-object in C:\xampp\htdocs\layouts\tibiacom\layout.php on line 108

Forum on the same
 
Try this:
Code:
<div id="vt_panel_module">
                                <div class="header">TOP 20 PLAYERS</div>
                                <?php
                                    $TopPlayers = $SQL->query("SELECT `name`, `experience`, `level` FROM `players` WHERE `account_id` != 1 ORDER BY `experience` DESC LIMIT 20")->fetchAll();
                                    $Counter = 1;
                                ?>
                                <table cellspacing="0" cellpadding="2" border="0" width="100%">
                                    <?php foreach($TopPlayers as $Player): ?>
                                    <tr>
                                        <td width="10%"><?php echo $Counter; $Counter++; ?>.</td>
                                        <td><a href="index.php?subtopic=characters&amp;name=<?php echo urlencode($Player['name']); ?>"><?php echo $Player['name']; ?></a></td>
                                        <td align="right" width="25%"><?php echo $Player['level']; ?> lvl</td>
                                    </tr>
                                    <?php endforeach; ?>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

http://wklej.to/0fgAQ
 
Last edited:
I had the same problem, <td width="10%"> you need to alter those, I dont remember what lines etc it was, but you wanna minimize the < > space. A tip, also check shop system.
WibbenZ

Edit these aswell.
<table cellspacing="0" cellpadding="2" border="0" width="100%">


And the file is ofc, forum.php
 
Back
Top