<?php
/* Smarty version 3.1.29, created on 2016-11-16 04:49:46
  from "/var/www/plfesycd/data/www/freyamu.ru/views/templates/Freyamu/user/addstats.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_582bd75ac681d1_90248024',
  'file_dependency' => 
  array (
    '2487cd27a3272943d2bdbc774bfe9b3b29131c01' => 
    array (
      0 => '/var/www/plfesycd/data/www/freyamu.ru/views/templates/Freyamu/user/addstats.tpl',
      1 => 1479256527,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_582bd75ac681d1_90248024 ($_smarty_tpl) {
?>
<div id="content">
    <div id="box1">
        <div class="title1">
            <h1><?php echo $_smarty_tpl->tpl_vars['Lang']->value['AddStatsTitle'];?>
</h1>
            <a href="/user" class="back-to-user-menu">Back to user menu</a>
        </div>
        <div id="content_center">
            <div class="box-style1" style="margin-bottom:25px;">
                <div class="entry">
                    <div>
                        <form action="/user/addstats" method="post" name="stats_start">
                            <div align="center" class="user-content">
                                <table style="margin-right: 383px">

                                    <tr align="left">
                                        <td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['AddStatsName'];?>
</td>
                                        <td ><b style="color:#FECF75;"><?php echo $_smarty_tpl->tpl_vars['Character']->value['Name'];?>
</td>
                                    </tr>
                                    <tr align="left">
                                        <td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['AddStatsFreePoints'];?>
</td>
                                        <td id="freest"><b><?php echo $_smarty_tpl->tpl_vars['Character']->value['LevelUpPoint'];?>
</b></td>
                                    </tr>
                                    <tr align="left">
                                        <td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['AddStatsMaxStats'];?>
</td>
                                        <td style="font-weight: bold" id="max-stats"><?php echo $_smarty_tpl->tpl_vars['AddStatsConfig']->value['MaxStats'];?>
</td>
                                    </tr>
                                    <tr align="left">
                                        <td><?php echo $_smarty_tpl->tpl_vars['Lang']->value['AddStatsDistr'];?>
</td>
                                        <td id="distr"><b>0</b></td>
                                    </tr>
                                </table>
                                <p style="font-size: 14px;text-transform: uppercase;color: #FECF65;"><?php echo $_smarty_tpl->tpl_vars['Lang']->value['AddStatsCalculator'];?>
</p>
                                <table class="cells">
                                    <input type="hidden" id="freest2" name="freest" value="<?php echo $_smarty_tpl->tpl_vars['Character']->value['LevelUpPoint'];?>
">

                                    <tr>
                                        <td align="center" style="background-color:#EAE1CB;" colspan="2"><b></b></td>
                                    </tr>
                                    <tr align="left">
                                        <td><b><?php echo $_smarty_tpl->tpl_vars['Lang']->value['AddStatsStrength'];?>
</b></td>
                                        <td class="add-stat"><span class="adding-stat" style="color:yellow;"><?php echo $_smarty_tpl->tpl_vars['Character']->value['Strength'];?>
 </span> + </td>
                                        <td><input type="text" id="str" class="raspred-stats" name="str" size="8" maxlength="5" value="0" style="width:60%"/> = <span class="result-point" style="font-weight: bold;color:#9ADC00;"><?php echo $_smarty_tpl->tpl_vars['Character']->value['Strength'];?>
</span></td>
                                    </tr>
                                    <tr align="left">
                                        <td><b><?php echo $_smarty_tpl->tpl_vars['Lang']->value['AddStatsAgility'];?>
</b></td>
                                        <td class="add-stat"><span class="adding-stat" style="color:yellow;"><?php echo $_smarty_tpl->tpl_vars['Character']->value['Dexterity'];?>
 </span> + </td>
                                        <td><input type="text" id="agi" class="raspred-stats" name="agi" size="8" maxlength="5" value="0" style="width:60%"/> = <span class="result-point" style="font-weight: bold;color:#9ADC00;"><?php echo $_smarty_tpl->tpl_vars['Character']->value['Dexterity'];?>
</span></td>
                                    </tr>
                                    <tr align="left">
                                        <td><b><?php echo $_smarty_tpl->tpl_vars['Lang']->value['AddStatsVitality'];?>
</b></td>
                                        <td class="add-stat"><span class="adding-stat" style="color:yellow;"><?php echo $_smarty_tpl->tpl_vars['Character']->value['Vitality'];?>
 </span> + </td>
                                        <td><input type="text" id="vit" class="raspred-stats" name="vit" size="8" maxlength="5" value="0" style="width:60%"/> = <span class="result-point" style="font-weight: bold;color:#9ADC00;"><?php echo $_smarty_tpl->tpl_vars['Character']->value['Vitality'];?>
</span></td>
                                    </tr>
                                    <tr align="left">
                                        <td><b><?php echo $_smarty_tpl->tpl_vars['Lang']->value['AddStatsEnergy'];?>
</b></td>
                                        <td class="add-stat"><span class="adding-stat" style="color:yellow;"><?php echo $_smarty_tpl->tpl_vars['Character']->value['Energy'];?>
 </span> + </td>
                                        <td><input type="text" id="ene" class="raspred-stats" name="ene" size="8" maxlength="5" value="0" style="width:60%"/> = <span class="result-point" style="font-weight: bold;color:#9ADC00;"><?php echo $_smarty_tpl->tpl_vars['Character']->value['Energy'];?>
</span></td>
                                    </tr>
                                    <?php if ('isdl' == 1) {?>
                                        <tr align="left">
                                            <td><b><?php echo $_smarty_tpl->tpl_vars['Lang']->value['AddStatsLeadership'];?>
</b></td>
                                            <td class="add-stat"><span class="adding-stat" style="color:yellow;"><?php echo $_smarty_tpl->tpl_vars['Character']->value['Leadership'];?>
 </span> + </td>
                                            <td><input type="text" id="com" class="raspred-stats" name="com" size="8" maxlength="5" value="0" style="width:60%"/> = <span class="result-point" style="font-weight: bold;color:#9ADC00;"><?php echo $_smarty_tpl->tpl_vars['Character']->value['Leadership'];?>
</span></td>
                                        </tr>
                                    <?php }?>

                                </table>
                                <p><input type="hidden" name="stats" value="1"><input type="submit" class="newButton" value="<?php echo $_smarty_tpl->tpl_vars['Lang']->value['AddStatsButton'];?>
" name="btn_add_stats" style="width:25%"></p>
                            </div>
                        </form>
                        <?php echo '<script'; ?>
 src="/web/templates/default/js/addstats.js"><?php echo '</script'; ?>
>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>




<?php }
}
