Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Top 10
#1
[Image: topje.png]
-

Good tool, do you think?

move to file for templates

templates/game_ranking.tpl past this:
PHP Code:
{if top==$mode}

                                <
tr>
                                    <
td class="selected" width="120">
                                        <
a href="game.php?village={$village.id}&amp;screen=ranking&amp;mode=top">Top 10</a>
                                    </
td>
                                </
tr>

                                    {else}
                                <
tr>
                                <
td width="120">
                                    <
a href="game.php?village={$village.id}&amp;screen=ranking&amp;mode=top">Top 10</a>
                                </
td>
                            </
tr>
                                    {/if} 

in the end past this:
PHP Code:
{if $mode == 'top'}
                        {include 
file="game_ranking_top.tpl"}
{/if} 

Regards
Reply




Users browsing this thread: 1 Guest(s)