{include file="$admin_template_path/html/header.html"}
</head>
<body>
{include file="$admin_template_path/html/pagetops.html"}
{if $errorMessage}
<div id="errormsg">
<div class="msg">
  <div class="closebtn"><i data-icon="" class="icon-close"></i></div>
  {$errorMessage}
</div>
</div>
{literal}
<script type="text/javascript">
seajs.use(["modules/pageui/msg"], function(msg){
    msg.msginit("#errormsg");
});
</script>
{/literal}
{/if}

<div class="pagebg">
  <div class="mcontent pagemain clr">
    {include file="$admin_template_path/html/leftmenu.html"}
    <div class="pagemainconent">

    <div class="rightdetail_admin">
      <div class="sideblock">
        <div class="sideheader">编辑余额</div>
        <div class="sidebody">
        <form action="" class="horizontal-form item-form disable-on-submit" method="post">
          <div class="input-group clr">
            <label class="control-label" for="balance">{$lang.balance1} </label>
            <div class="inputs">
              <input class="ipttheme" id="balance" type="text" name="balance" value="{$smarty.post.balance|escape}">
              {if isset($error.balance)}
              <span class="validate_error">{$error.balance}</span>
              {/if}
            </div>
          </div>
          <div class="form-submit">
            {if $smarty.get.c=='editBalance'}
            <button id="personal_info_submit_button" class="btntheme btnsize btn-primary" type="submit" name="edit" >{$lang.edit}</button>
            {else}
            <button id="personal_info_submit_button" class="btntheme btnsize btn-primary" type="submit" name="add" >{$lang.add}</button>
            {/if}
          </div>
        </form>
        </div>
      </div>
    </div>
    
    </div>
  </div>
</div>
</body>
</html>