www.gusucode.com > Ectouch手机端网购商城系统PHP版源码程序 > ectouch/include/apps/admin/view/navigator_edit.php

    {include file="pageheader"}
<div class="panel panel-default">
  <div class="panel-heading">
    <h3 class="panel-title">{$ur_here}</h3>
  </div>
  <div class="panel-body">
    <form action="{url('edit')}" method="post" enctype="multipart/form-data" class="form-horizontal" role="form">
      <table id="general-table" class="table table-hover ectouch-table">
        <tr>
          <td width="200">{$lang['item_name']}:</td>
          <td><div class="col-md-4">
              <input type='text' name='data[name]' maxlength="20" value='{$info['name']}' class="form-control input-sm" />
            </div></td>
        </tr>
        <tr>
          <td>{$lang['item_url']}:</td>
          <td><div class="col-md-4">
              <input type='text' name='data[url]' maxlength="100" value='{$info['url']}' class="form-control input-sm" />
            </div></td>
        </tr>
        <tr>
          <td>{$lang['item_pic']}:</td>
          <td><div class="col-md-4">
              <input type="file" name="pic" class="form-control input-sm" />
              </div>
              {if $info['pic']}
              <div class="col-md-1">
                <a href="javascript:;" class="glyphicon glyphicon-picture ectouch-fs16" style="text-decoration:none;" onClick="showImg('pic_layer', '{$lang['item_pic']}')" title="View"></a>
				<div id="pic_layer" style="display:none"> <img src="{$info['pic']}" border="0" style="max-width:320px; max-height:320px;" /> </div>
              </div>
              {/if}
          </td>
        </tr>
        <tr>
          <td>{$lang['item_vieworder']}</td>
          <td><div class="col-md-2">
              <input type='text' name='data[vieworder]' maxlength="20" value='{$info['vieworder']}' class="form-control input-sm" />
            </div></td>
        </tr>
        <tr>
          <td>{$lang['item_ifshow']}</td>
          <td><div class="col-md-2">
              <div class="btn-group" data-toggle="buttons">
                <label class="btn btn-primary btn-sm{if $info['ifshow'] == '1'} active{/if}">
                  <input type="radio" name="data[ifshow]" id="ifshow1" value="1"{if $info['ifshow'] == '1'} checked{/if}>
                  {$lang['yes']} </label>
                <label class="btn btn-primary btn-sm{if $info['ifshow'] == '0'} active{/if}">
                  <input type="radio" name="data[ifshow]" id="ifshow2" value="0"{if $info['ifshow'] == '0'} checked{/if}>
                  {$lang['no']} </label>
              </div>
            </div></td>
        </tr>
        <tr>
          <td>{$lang['item_opennew']}</td>
          <td><div class="col-md-2">
              <div class="btn-group" data-toggle="buttons">
                <label class="btn btn-primary btn-sm{if $info['opennew'] == '1'} active{/if}">
                  <input type="radio" name="data[opennew]" id="opennew1" value="1"{if $info['opennew'] == '1'} checked{/if}>
                  {$lang['yes']} </label>
                <label class="btn btn-primary btn-sm{if $info['opennew'] == '0'} active{/if}">
                  <input type="radio" name="data[opennew]" id="opennew2" value="0"{if $info['opennew'] == '0'} checked{/if}>
                  {$lang['no']} </label>
              </div>
            </div></td>
        </tr>
        <tr>
          <td></td>
          <td><div class="col-md-4">
              <input type="submit" value="{$lang['button_submit']}" class="btn btn-primary" />
              <input type="reset" value="{$lang['button_reset']}" class="btn btn-default" />
            </div></td>
        </tr>
      </table>
      <input type="hidden" value="middle" name="data[type]" />
      <input type="hidden" name="id" value="{$info['id']}" />
    </form>
  </div>
</div>
{include file="pagefooter"}