function content_51ec0e3ec0a9d7_07811257($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_ordinal')) {
            include 'C:\\Program Files (x86)\\EasyPHP-12.1\\www\\ac\\core\\includes\\smarty\\plugins\\modifier.ordinal.php';
        }
        ?>
<h2>The following users were found by given search input ("<?php 
        echo $_smarty_tpl->tpl_vars['search_string']->value;
        ?>
"):</h2>

<table class="topstandard">

	<tr>
		<th>Rank on <?php 
        echo $_smarty_tpl->tpl_vars['server_name']->value;
        ?>
</th>
		<th>Name</th>
		<th>Tokens on server</th>
		<th>Total Tokens</th>
	</tr>

	
	<?php 
        $_smarty_tpl->tpl_vars['player'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['player']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['search_results']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['player']->key => $_smarty_tpl->tpl_vars['player']->value) {
            $_smarty_tpl->tpl_vars['player']->_loop = true;
            ?>
		<tr>
			<td><?php 
            echo smarty_modifier_ordinal($_smarty_tpl->tpl_vars['player']->value['rank']);
            ?>
</td>
			<td><a href="<?php 
            echo $_smarty_tpl->tpl_vars['player']->value['url'];
            ?>
" target="_blank"><?php 
            echo $_smarty_tpl->tpl_vars['player']->value['name'];
            ?>
</a></td>
			<td><?php 
            echo $_smarty_tpl->tpl_vars['player']->value['tokens'];
            ?>
</td>
			<td><?php 
            echo $_smarty_tpl->tpl_vars['player']->value['total_tokens'];
            ?>
</td>
		</tr>
	<?php 
        }
        if (!$_smarty_tpl->tpl_vars['player']->_loop) {
            ?>
		
		<tr>
			<td colspan="4">
				<?php 
            if ($_smarty_tpl->tpl_vars['too_short']->value == 1) {
                ?>
					The search query is too short. Minimum 3 characters required.
				<?php 
            } else {
                ?>
					No players were found.
				<?php 
            }
            ?>
			</td>
		</tr>

	<?php 
        }
        ?>
</table><?php 
    }
    function content_524c77fe5c5a17_65928463($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_ordinal')) {
            include 'S:\\achievements\\acv2.8b\\web_app\\core\\includes\\smarty\\plugins\\modifier.ordinal.php';
        }
        ?>
<table class="top3">
	
	<tr>
		<?php 
        $_smarty_tpl->tpl_vars['player'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['player']->step = 1;
        $_smarty_tpl->tpl_vars['player']->total = (int) ceil(($_smarty_tpl->tpl_vars['player']->step > 0 ? 2 + 1 - 0 : 0 - 2 + 1) / abs($_smarty_tpl->tpl_vars['player']->step));
        if ($_smarty_tpl->tpl_vars['player']->total > 0) {
            for ($_smarty_tpl->tpl_vars['player']->value = 0, $_smarty_tpl->tpl_vars['player']->iteration = 1; $_smarty_tpl->tpl_vars['player']->iteration <= $_smarty_tpl->tpl_vars['player']->total; $_smarty_tpl->tpl_vars['player']->value += $_smarty_tpl->tpl_vars['player']->step, $_smarty_tpl->tpl_vars['player']->iteration++) {
                $_smarty_tpl->tpl_vars['player']->first = $_smarty_tpl->tpl_vars['player']->iteration == 1;
                $_smarty_tpl->tpl_vars['player']->last = $_smarty_tpl->tpl_vars['player']->iteration == $_smarty_tpl->tpl_vars['player']->total;
                ?>
			<td>
				<?php 
                if (isset($_smarty_tpl->tpl_vars['ladder_players']->value[$_smarty_tpl->tpl_vars['player']->value])) {
                    ?>
					<h3><a href="<?php 
                    echo $_smarty_tpl->tpl_vars['ladder_players']->value[$_smarty_tpl->tpl_vars['player']->value]['link'];
                    ?>
"><?php 
                    echo $_smarty_tpl->tpl_vars['ladder_players']->value[$_smarty_tpl->tpl_vars['player']->value]['name'];
                    ?>
</a></h3>
					
					<p><?php 
                    echo $_smarty_tpl->tpl_vars['Lang']->value['tokens_on_server'];
                    ?>
: <strong><?php 
                    echo $_smarty_tpl->tpl_vars['ladder_players']->value[$_smarty_tpl->tpl_vars['player']->value]['tokens'];
                    ?>
</strong></p>
				<?php 
                } else {
                    ?>
					<h3><a href="<?php 
                    echo $_smarty_tpl->tpl_vars['script_name']->value;
                    ?>
#noPlayer"><?php 
                    echo $_smarty_tpl->tpl_vars['Lang']->value['noplayer'];
                    ?>
</a></h3>
					<p>---</p>
				<?php 
                }
                ?>
			</td>
		<?php 
            }
        }
        ?>
	</tr>
	
</table>

<table class="topstandard">

	<tr>
		<th><?php 
        echo $_smarty_tpl->tpl_vars['Lang']->value['ldrtable_id'];
        ?>
</th>
		<th><?php 
        echo $_smarty_tpl->tpl_vars['Lang']->value['ldrtable_name'];
        ?>
</th>
		<th><?php 
        echo $_smarty_tpl->tpl_vars['Lang']->value['ldrtable_tokens'];
        ?>
</th>
	</tr>
	
	<?php 
        if (count($_smarty_tpl->tpl_vars['ladder_players']->value) > 0) {
            ?>
		<?php 
            $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['val']->_loop = false;
            $_smarty_tpl->tpl_vars['player'] = new Smarty_Variable();
            $_from = $_smarty_tpl->tpl_vars['ladder_players']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
                $_smarty_tpl->tpl_vars['val']->_loop = true;
                $_smarty_tpl->tpl_vars['player']->value = $_smarty_tpl->tpl_vars['val']->key;
                ?>
			<?php 
                if ($_smarty_tpl->tpl_vars['player']->value > 2) {
                    ?>
 
				<tr>
					<td><?php 
                    echo smarty_modifier_ordinal($_smarty_tpl->tpl_vars['val']->value['rank']);
                    ?>
</td>
					<td><a href="<?php 
                    echo $_smarty_tpl->tpl_vars['val']->value['link'];
                    ?>
"><?php 
                    echo $_smarty_tpl->tpl_vars['val']->value['name'];
                    ?>
</a></td>
					<td><?php 
                    echo $_smarty_tpl->tpl_vars['val']->value['tokens'];
                    ?>
</td>
				</tr>
			<?php 
                }
                ?>
		<?php 
            }
            ?>
	<?php 
        } else {
            ?>
		<tr>
			<td colspan="3"><?php 
            echo $_smarty_tpl->tpl_vars['Lang']->value['ldrtable_nomoreplayers'];
            ?>
</td>
		</tr>
	<?php 
        }
        ?>
	
</table><?php 
    }
    function content_51eb1cd2e272b0_46836034($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_ordinal')) {
            include 'C:\\Program Files (x86)\\EasyPHP-12.1\\www\\ac\\core\\includes\\smarty\\plugins\\modifier.ordinal.php';
        }
        ?>
<div id="bgfill">
	<div id="left">
		<div class="profile">
			<div class="avatar">
				<a href="asfa">
					<img src="public/images/no_avatar.jpg" alt="">
				</a>
			</div>
			<div class="info">
				<p class="first-row">
					<span class="rank"><i>ranked:</i> <?php 
        echo smarty_modifier_ordinal($_smarty_tpl->tpl_vars['player']->value['rank']);
        ?>
</span>
					<span class="tokens"><i>tokens:</i> <?php 
        echo $_smarty_tpl->tpl_vars['player']->value['tokens'];
        ?>
</span>
				</p>
				
				<h3><?php 
        echo $_smarty_tpl->tpl_vars['player']->value['name'];
        ?>
</h3>
				<p class="authid">(<?php 
        echo $_smarty_tpl->tpl_vars['player']->value['auth'];
        ?>
)</p>
				<p class="stokens"><i>Tokens on this server:</i> <?php 
        echo $_smarty_tpl->tpl_vars['player']->value['stokens'];
        ?>
</p>
				
				
			</div>
		</div>
		
		<ul class="menu">
			<?php 
        $_smarty_tpl->tpl_vars['menuitem'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['menuitem']->_loop = false;
        $_from = $_smarty_tpl->tpl_vars['menuitems']->value;
        if (!is_array($_from) && !is_object($_from)) {
            settype($_from, 'array');
        }
        foreach ($_from as $_smarty_tpl->tpl_vars['menuitem']->key => $_smarty_tpl->tpl_vars['menuitem']->value) {
            $_smarty_tpl->tpl_vars['menuitem']->_loop = true;
            ?>
				<li class="<?php 
            echo $_smarty_tpl->tpl_vars['menuitem']->value['classes'];
            ?>
"><a href="<?php 
            echo $_smarty_tpl->tpl_vars['menuitem']->value['url'];
            ?>
"><?php 
            echo $_smarty_tpl->tpl_vars['menuitem']->value['name'];
            ?>
</a></li>
			<?php 
        }
        ?>
		</ul>
	</div>

	<div id="right">
		<div class="profile-section-header">
			<ul class="profile-tabs">
			
				<li class="<?php 
        echo $_smarty_tpl->tpl_vars['tab_achievements_class']->value;
        ?>
">
					<a href="<?php 
        echo $_smarty_tpl->tpl_vars['tab_achievements_url']->value;
        ?>
">
						<span class="r"><span class="m">
							Achievements
						</span></span>
					</a>
				</li>
				
				<li class="<?php 
        echo $_smarty_tpl->tpl_vars['tab_statistics_class']->value;
        ?>
">
					<a href="<?php 
        echo $_smarty_tpl->tpl_vars['tab_statistics_url']->value;
        ?>
">
						<span class="r"><span class="m">
							Statistics
						</span></span>
					</a>
				</li>
			</ul>
		</div>
		
		<?php 
        echo $_smarty_tpl->getSubTemplate((string) $_smarty_tpl->tpl_vars['template_dir']->value . "templates/page_templates/" . (string) $_smarty_tpl->tpl_vars['page_file']->value . ".tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);
        ?>

		
	</div>
</div><?php 
    }
    function content_51c4b26610c733_56963940($_smarty_tpl)
    {
        if (!is_callable('smarty_modifier_ordinal')) {
            include 'C:\\Program Files (x86)\\EasyPHP-12.1\\www\\ac\\core\\smarty\\plugins\\modifier.ordinal.php';
        }
        ?>
<table class="top3">
	
	<tr>
		<?php 
        $_smarty_tpl->tpl_vars['player'] = new Smarty_Variable();
        $_smarty_tpl->tpl_vars['player']->step = 1;
        $_smarty_tpl->tpl_vars['player']->total = (int) ceil(($_smarty_tpl->tpl_vars['player']->step > 0 ? 2 + 1 - 0 : 0 - 2 + 1) / abs($_smarty_tpl->tpl_vars['player']->step));
        if ($_smarty_tpl->tpl_vars['player']->total > 0) {
            for ($_smarty_tpl->tpl_vars['player']->value = 0, $_smarty_tpl->tpl_vars['player']->iteration = 1; $_smarty_tpl->tpl_vars['player']->iteration <= $_smarty_tpl->tpl_vars['player']->total; $_smarty_tpl->tpl_vars['player']->value += $_smarty_tpl->tpl_vars['player']->step, $_smarty_tpl->tpl_vars['player']->iteration++) {
                $_smarty_tpl->tpl_vars['player']->first = $_smarty_tpl->tpl_vars['player']->iteration == 1;
                $_smarty_tpl->tpl_vars['player']->last = $_smarty_tpl->tpl_vars['player']->iteration == $_smarty_tpl->tpl_vars['player']->total;
                ?>
			<td>
				<?php 
                if (isset($_smarty_tpl->tpl_vars['ladder_players']->value[$_smarty_tpl->tpl_vars['player']->value])) {
                    ?>
					<h3><a href="<?php 
                    echo $_smarty_tpl->tpl_vars['ladder_players']->value[$_smarty_tpl->tpl_vars['player']->value]['link'];
                    ?>
"><?php 
                    echo $_smarty_tpl->tpl_vars['ladder_players']->value[$_smarty_tpl->tpl_vars['player']->value]['name'];
                    ?>
</a></h3>
					
					<p>Tokens on server: <strong><?php 
                    echo $_smarty_tpl->tpl_vars['ladder_players']->value[$_smarty_tpl->tpl_vars['player']->value]['tokens'];
                    ?>
</strong></p>
				<?php 
                } else {
                    ?>
					<h3><a href="#noPlayer">NO PLAYER</a></h3>
					<p>---</p>
				<?php 
                }
                ?>
			</td>
		<?php 
            }
        }
        ?>
	</tr>
	
</table>

<table class="topstandard">

	<tr>
		<th>#</th>
		<th>Name</th>
		<th>Tokens on server</th>
	</tr>
	
	<?php 
        if (count($_smarty_tpl->tpl_vars['ladder_players']->value) > 0) {
            ?>
		<?php 
            $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable();
            $_smarty_tpl->tpl_vars['val']->_loop = false;
            $_smarty_tpl->tpl_vars['player'] = new Smarty_Variable();
            $_from = $_smarty_tpl->tpl_vars['ladder_players']->value;
            if (!is_array($_from) && !is_object($_from)) {
                settype($_from, 'array');
            }
            foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
                $_smarty_tpl->tpl_vars['val']->_loop = true;
                $_smarty_tpl->tpl_vars['player']->value = $_smarty_tpl->tpl_vars['val']->key;
                ?>
			<?php 
                if ($_smarty_tpl->tpl_vars['player']->value > 2) {
                    ?>
 
				<tr>
					<td><?php 
                    echo smarty_modifier_ordinal($_smarty_tpl->tpl_vars['val']->value['rank']);
                    ?>
</td>
					<td><a href="<?php 
                    echo $_smarty_tpl->tpl_vars['val']->value['link'];
                    ?>
"><?php 
                    echo $_smarty_tpl->tpl_vars['val']->value['name'];
                    ?>
</a></td>
					<td><?php 
                    echo $_smarty_tpl->tpl_vars['val']->value['tokens'];
                    ?>
</td>
				</tr>
			<?php 
                }
                ?>
		<?php 
            }
            ?>
	<?php 
        } else {
            ?>
		<tr>
			<td colspan="3">There are no more ranked players on this server.</td>
		</tr>
	<?php 
        }
        ?>
	
</table><?php 
    }