• 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!

TFS 0.X znote acc resets in more informations for others characters

vexler222

Active Member
Joined
Apr 22, 2012
Messages
714
Solutions
15
Reaction score
46
Hi, i try change level to reborns in more informations of characters but i dont see any thing after changed;/ It my code:

Code:
                <!-- CHARACTER LIST -->
                <?php
                if (user_character_hide($profile_data['name']) != 1 && user_character_list_count(user_character_account_id($name)) > 1) 
                {
                ?>
                    <table class="stripped" cellpadding="4">
                        <tr><th colspan="5">Account characters</th></tr>
                        <?php
                        $characters = user_character_list(user_character_account_id($profile_data['name']));
                        // characters: [0] = name, [1] = level, [2] = vocation, [3] = town_id, [4] = lastlogin, [5] = online
                        if ($characters && count($characters) > 0) 
                        {
                            ?>

                                <tr>
                                    <td><strong>Nick:</strong></td>
                                    <td><strong>Reborn:</strong></td>
                                    <td><strong>Voc:</strong></td>
                                    <td><strong>Last:</strong></td>
                                    <td><strong>Status:</strong></td>
                                </tr>
                               
                                <?php
                                // Design and present the list
                                foreach ($characters as $char) 
                                {
                                    if ($char['name'] != $profile_data['name']) 
                                    {
                                        if (hide_char_to_name(user_character_hide($char['name'])) != 'hidden') 
                                        { ?>
                                            <tr>
                                                <td><strong><a href="characterprofile.php?name=<?php echo $char['name']; ?>"><?php echo $char['name']; ?></a></strong></td>
                                                <td><?php echo (int)$char['resets']; ?></td>
                                                <td><?php echo $char['vocation']; ?></td>
                                                <td><?php echo $char['lastlogin']; ?></td>
                                                <td><?php echo $char['online']; ?></td>
                                            </tr>
                                        <?php
                                        }
                                    }
                                }
                            ?>

                            <?php
                        } 
                        else 
                        {
                            echo '<b><font color="green">This player has never died.</font></b>';
                        }
                        ?>
                    </table>
                <?php
                }
                ?>
                <!-- END CHARACTER LIST -->
 
Back
Top