<?php
/* Smarty version 3.1.29, created on 2017-06-23 06:17:54
  from "/var/www/h3ysh156/data/www/freyamu.ru/views/templates/default/admin/modules/reset_skill_tree.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_594ca482305108_11985296',
  'file_dependency' => 
  array (
    '14ebee5b66c46962b0f52ffbbd74b1fbe40cf0a8' => 
    array (
      0 => '/var/www/h3ysh156/data/www/freyamu.ru/views/templates/default/admin/modules/reset_skill_tree.tpl',
      1 => 1479256536,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_594ca482305108_11985296 ($_smarty_tpl) {
?>
<h1>Reset Skill Tree</h1>
<form action="/admin/modules/resetskilltree" method="post">
    <table>
        <tr>
            <td>Enable</td>
            <td>
                <?php if ($_smarty_tpl->tpl_vars['Config']->value['Enable']) {?>
                    <input name="Enable" id="Enable" type="checkbox" checked/>
                <?php } else { ?>
                    <input name="Enable" id="Enable" type="checkbox"/>
                <?php }?>
            </td>
        </tr>
        <tr>
            <td>Need Level</td>
            <td><input name="NeedLevel" id="NeedLevel" value="<?php echo $_smarty_tpl->tpl_vars['Config']->value['NeedLevel'];?>
" type="text"/></td>
        </tr>
        <tr>
            <td>Need Reset</td>
            <td><input name="NeedReset" id="NeedReset" value="<?php echo $_smarty_tpl->tpl_vars['Config']->value['NeedReset'];?>
" type="text"/></td>
        </tr>
        <tr>
            <td>Need GrandReset</td>
            <td><input name="NeedGrandReset" id="NeedGrandReset" value="<?php echo $_smarty_tpl->tpl_vars['Config']->value['NeedGrandReset'];?>
" type="text"/></td>
        </tr>

        <tr><td colspan="2">Price Pk Clear</td></tr>
        <?php
$_from = $_smarty_tpl->tpl_vars['Valutes']->value;
if (!is_array($_from) && !is_object($_from)) {
settype($_from, 'array');
}
$__foreach_val_0_saved_item = isset($_smarty_tpl->tpl_vars['val']) ? $_smarty_tpl->tpl_vars['val'] : false;
$__foreach_val_0_saved_key = isset($_smarty_tpl->tpl_vars['i']) ? $_smarty_tpl->tpl_vars['i'] : false;
$_smarty_tpl->tpl_vars['val'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['i'] = new Smarty_Variable();
$_smarty_tpl->tpl_vars['val']->_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['i']->value => $_smarty_tpl->tpl_vars['val']->value) {
$_smarty_tpl->tpl_vars['val']->_loop = true;
$__foreach_val_0_saved_local_item = $_smarty_tpl->tpl_vars['val'];
?>
            <?php if ($_smarty_tpl->tpl_vars['val']->value['Name'] != '') {?>
                <tr>
                    <td>
                        Valute <?php echo $_smarty_tpl->tpl_vars['i']->value;?>
(<?php echo $_smarty_tpl->tpl_vars['val']->value['Name'];?>
)
                    </td>
                    <td>
                        <input name="val_take_<?php echo $_smarty_tpl->tpl_vars['i']->value;?>
" value="<?php echo $_smarty_tpl->tpl_vars['Config']->value['Price']['Valutes'][$_smarty_tpl->tpl_vars['i']->value];?>
" type="text">
                    </td>
                </tr>
            <?php }?>
        <?php
$_smarty_tpl->tpl_vars['val'] = $__foreach_val_0_saved_local_item;
}
if ($__foreach_val_0_saved_item) {
$_smarty_tpl->tpl_vars['val'] = $__foreach_val_0_saved_item;
}
if ($__foreach_val_0_saved_key) {
$_smarty_tpl->tpl_vars['i'] = $__foreach_val_0_saved_key;
}
?>
        <tr>
            <td colspan="2">
                <button class="def_adm_btn" name="reset_skill_tree_btn">Save</button>
            </td>
        </tr>
    </table>
</form><?php }
}
