<?php
/* Smarty version 3.1.29, created on 2016-07-15 00:33:22
  from "/var/www/user179/data/www/evolutionmu.ru/views/templates/default/admin/modules/changeclass.tpl" */

if ($_smarty_tpl->smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array (
  'has_nocache_code' => false,
  'version' => '3.1.29',
  'unifunc' => 'content_57882142f1c0e8_47988399',
  'file_dependency' => 
  array (
    '53275e169daee4444f1093aab9fafb64d36e6d7f' => 
    array (
      0 => '/var/www/user179/data/www/evolutionmu.ru/views/templates/default/admin/modules/changeclass.tpl',
      1 => 1468447070,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_57882142f1c0e8_47988399 ($_smarty_tpl) {
?>
<h1>Change Class</h1>
<form action="/admin/modules/changeclass" 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 Empty Inventory</td>
        <td>
            <?php if ($_smarty_tpl->tpl_vars['Config']->value['NeedEmptyInv']) {?>
                <input name="NeedEmptyInv" id="NeedEmptyInv" type="checkbox" checked/>
            <?php } else { ?>
                <input name="NeedEmptyInv" id="NeedEmptyInv" type="checkbox"/>
            <?php }?>
        </td>

    </tr>
    <tr>
        <td colspan="2">
            <select style="width: 170px;" class="multibox-change-class" name="Characters[]" id="Characters[genre]" multiple="multiple" size="7">
                <?php if ($_smarty_tpl->tpl_vars['Config']->value['Classes']['DW']) {?>
                <option selected value="0">Dark Wizard</option>
                <?php } else { ?>
                <option value="0">Dark Wizard</option>
                <?php }?>
                <?php if ($_smarty_tpl->tpl_vars['Config']->value['Classes']['DK']) {?>
                <option selected value="1">Dark Knight</option>
                <?php } else { ?>
                <option value="1">Dark Knight</option>
                <?php }?>
                <?php if ($_smarty_tpl->tpl_vars['Config']->value['Classes']['ELF']) {?>
                <option selected value="2">Fairy Elf</option>
                <?php } else { ?>
                <option value="2">Fairy Elf</option>
                <?php }?>
                <?php if ($_smarty_tpl->tpl_vars['Config']->value['Classes']['SUM']) {?>
                <option selected value="3">Summoner</option>
                <?php } else { ?>
                <option value="3">Summoner</option>
                <?php }?>
                <?php if ($_smarty_tpl->tpl_vars['Config']->value['Classes']['MG']) {?>
                <option selected value="4">Magic Gladiator</option>
                <?php } else { ?>
                <option value="4">Magic Gladiator</option>
                <?php }?>
                <?php if ($_smarty_tpl->tpl_vars['Config']->value['Classes']['DL']) {?>
                <option selected value="5">Dark Lord</option>
                <?php } else { ?>
                <option value="5">Dark Lord</option>
                <?php }?>
                <?php if ($_smarty_tpl->tpl_vars['Config']->value['Classes']['RF']) {?>
                <option selected value="6">Rage Fighter</option>
                <?php } else { ?>
                <option value="6">Rage Fighter</option>
                <?php }?>
            </select>
            <span>Hot Key Ctrl and Shift</span>
        </td>
    </tr>
    <tr><td colspan="2">Price Change Class</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['Take']['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="changeclass_btn">Save</button>
        </td>
    </tr>
</table>
</form><?php }
}
