<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>{#$txt_title#} - Powered by HuCart.COM</title>
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/info.css" rel="stylesheet">
<script language="javascript" src="{#$base_weburl#}/js/jq/jquery.js"></script>
<script language="javascript" src="{#$base_weburl#}/js/admin_common.js"></script>
<!--[if lt IE 9]>
  <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script language="javascript">
	var webroot_url = '{#$base_weburl#}';
	function submitFun()
	{
		var id_bra_name 		= document.getElementById('bra_name');
		//var idwebkeyword 		= document.getElementById('webkeyword');
		//var idsuggestionInfo 	= document.getElementById('suggestionInfo');

		if(id_bra_name.value=='')
		{
			alert('{#$lang.name_err#}');
			id_bra_name.focus();
			return false;
		}

	}
</script>
</head>
<body>
    <div class="info-tit"><span class="glyphicon glyphicon-paperclip"> </span> {#$lang.title#} > {#$txt_title#} ({#$lang.need_edit#}&nbsp;&nbsp; {#$lang.need_add#} {#$lang.need_del#})<a href="http://help.hucart.com/item-brand_edit.html" target="_blank" title="{#$lang.help_url#}"><span class="glyphicon glyphicon-question-sign" style="float: right;"></span></a></div>
    <!-- custom con start -->
    <div class="info-add">
      <form class="form-horizontal" name="add-form" id="add-form" method="post" action="{#$act_url#}">
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"><font color="red">*</font> {#$lang.field_list.bra_name#}</label>
          <div class="col-sm-10">
            <input class="form-control" name="bra_name" id="bra_name" value="{#$info.bra_name#}" type="text"  style="width:450px;"   >
          </div>
        </div>
  
        
        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"> {#$lang.field_list.bra_logo#}</label>
          <div class="col-sm-3" >
         <input class="form-control" name="bra_logo" id="bra_logo" value="{#$info.bra_logo#}" type="text"  style="width:300px;"   >
          </div><div class="col-sm-3" style="margin-left:12px;"><button type="button" class="btn btn-default"  onclick="select_img('brand','bra_logo')" >{#$lang.add_img#}</button></div>
        </div>      
        
 


        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"> {#$lang.field_list.bra_url#}</label>
          <div class="col-sm-3">
         <input class="form-control" name="bra_url" id="bra_url" value="{#$info.bra_url#}" type="text"  style="width:300px;"   >
          </div>
        </div> 
 

        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"> {#$lang.field_list.bra_desc#}</label>
           <div class="col-sm-6">
            <textarea class="form-control" name="bra_desc" id="bra_desc" style="width:250px;">{#$info.bra_desc#}</textarea></div>
        </div> 


        <div class="form-group form-group-sm">
          <label class="col-sm-2 control-label" for="i-tit"> {#$lang.field_list.bra_enabled#}</label>
           <div class="col-sm-6">
            {#foreach key=ek item=ei from=$lang.enabled_arr#}
{#$ei#}<input type="radio"   name="bra_enabled" id="bra_enabled[{#$ek#}]"  value="{#$ek#}" {#if $ek eq $info.bra_enabled#} checked="checked" {#/if#}>
{#/foreach#}
			</div>
        </div> 
        
        <div class="form-group">
          <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-primary  btn-sm" onclick="return submitFun(this)" >{#$edit_submit#}</button>&nbsp;&nbsp;&nbsp;&nbsp;
            <button type="reset" class="btn btn-default btn-sm">{#$lang.reset#}</button>&nbsp;&nbsp;&nbsp;&nbsp;<a href="./index.php?load=brand&act=info_list">{#$lang.back_list#}</a>
          </div>
        </div>
        <input type="hidden" name="act_type" value="{#$act_type#}">
        <input type="hidden" name="bra_id" id="bra_id"  value="{#$info.bra_id#}">
      </form>
    </div>
    <!-- custom con end -->

    <footer class="footer">
      <div class="container">
        <p class="text-muted">Powered by <a href="http://Www.HuCart.COM" target="_blank">HuCart.COM</a></p>
      </div>
    </footer>
<script src="/js/jquery.min.js"></script>
<script src="/js/base.js"></script>
</body>
</html>