{include file="$template_path/html/header.html"}
{include file="$template_path/js/space.html"}
{include file="$template_path/html/jstemplate.html"}
<script src="/mbthemes/scripts/canvas/animation.js"></script>
</head>
<body>
{include file="$template_path/html/pagenav-user-settings.html"}
<div class="black app" id="app">
  <!--<div class="gradient-overlay"></div>-->
  <!-- ############ LAYOUT START-->
  <div class="h-v row-col">
    <div class="row-cell v-m animated zoomIn">

      <div class="w-half" style="margin: auto">
        <div class="m-b-md">
          <a href="" class="btn btn-sm btn-outline b-skin text-skin m-r">
            个人资料
          </a>
          <a href="" class="btn btn-sm btn-outline b-skin text-skin m-r">
            个人资料
          </a>
          <a href="" class="btn btn-sm btn-outline b-skin text-skin m-r">
            个人资料
          </a>
          <a href="" class="btn btn-sm btn-outline b-skin text-skin m-r">
            个人资料
          </a>
          <a href="" class="btn btn-sm btn-outline b-skin text-skin m-r">
            个人资料
          </a>
          <a href="" class="btn btn-sm btn-outline b-skin text-skin m-r">
            个人资料
          </a>
        </div>
        <div class="box box-radius-3x box-shadow-z3 white-only pos-rlt" style="max-height: 700px; overflow-y:scroll ">
          <div class="p-a">
            {$errorMessage}
            <div class="box-body" id="profile">
              <form role="form" action="" method="post">
                <fieldset>
                  <div class="form-group">
                    <label class="h6 p-b-xs" for="nickname">昵称</label>
                    <input id="nickname" class="form-control" name="nickname" required="true" type="text" value="{$smarty.post.nickname|escape}" />
                  </div>
                  <div class="form-group">
                    <label class="h6 p-b-xs" for="invoice_to">公司名称</label>
                    <input id="invoice_to" class="form-control" name="firmname" type="text" value="{$smarty.post.firmname|escape}" />
                    <small class="text-muted block m-t-xs">没有请留空</small>
                  </div>
                  <div class="form-group">
                    <label class="h6 p-b-xs" for="lives_in">所在城市</label>
                    <input id="lives_in" class="form-control" name="live_city" type="text" value="{$smarty.post.live_city|escape}" />
                    <small class="text-muted block m-t-xs">比如：北京</small>
                  </div>
                  <div class="form-group">
                    <label class="h6 p-b-xs" for="email">邮件地址</label>
                    <input id="email" class="form-control" name="email" value="{$smarty.post.email|escape}" type="text">
                  </div>
                  <div class="form-group">
                    <label class="h6 p-b-xs" for="country_id">国家或地区</label>
                    <select class="form-control" name="country_id">
                      <option value="">不显示我的国家</option>
                      {if $countries}
                      {foreach from=$countries item=c}
                      <option value="{$c.id}" {if $smarty.post.country_id == $c.id}selected="selected"{/if}>{$c.name}</option>
                      {/foreach}
                      {/if}
                    </select>
                    <small class="text-muted block m-t-xs">选择国家或地区后将显示相应的旗帜徽章</small>
                  </div>
                  <div class="form-group">
                    <label class="h6 p-b-xs" for="address">详细地址</label>
                    <input id="address" class="form-control" name="address" value="{$smarty.post.address|escape}" type="text">
                  </div>
                  <div class="form-group">
                    <label class="md-check" for="available_for_freelance">
                      <input id="available_for_freelance" name="custom_made" type="checkbox" value="true" {if $smarty.post.custom_made == 'true'}checked="checked"{/if} />
                      <i class="skin"></i>
                      我是威客
                    </label>
                  </div>
                  <div class="form-group">
                    <label class="h6 p-b-xs" for="by_line">个性签名</label>
                    <input id="by_line" class="form-control" name="profile_title" type="text" value="{$smarty.post.profile_title|escape}" />
                  </div>
                  <div class="form-group m-t-md m-b-0">
                    <input type="hidden" name="personal_edit" value="yes" />
                    <button id="personal_info_submit_button" class="btn skin b-skin" type="submit">保存</button>
                  </div>
                </fieldset>
              </form>
            </div>
          </div>
        </div>
      </div>

    </div>
  </div>

  {include file="$template_path/html/mb-settings.html"}
  <!-- ############ LAYOUT END-->
</div>
{literal}
<style>
  #changeskins{display: none}
  .inlinei{
    vertical-align: -11px;
  }
</style>
{/literal}
</body>