<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
<link rel="stylesheet" type="text/css" href="{$vd['sc']}css/main.css"/>
</head>
<body>
<!--$item = $vd['item'];-->
<div id="titleDiv">
<div style="float:left"><a href="index.php?a=Home"><img src="{$vd['sc']}images/home.png" style="vertical-align:middle" border="0"/></a></div><div style="float:left;padding-top:8px;padding-left:3px;"><a href="index.php?a=Home" title="回到后台首页"><font color="#000">桌面</font></a> <span style="font-size:7px;">>></span> <span style="font-size:12px;"><a href="index.php?m=mod_b2b&c=Category&a=coupon" title="兑换类" onclick="loadDisp(1)"><font color="#000">兑换类列表</font></a></span> <span style="font-size:7px;">>></span> <a href="index.php?m=mod_b2b&c=coupon&catid={$vd['parent']['id']}" onclick="loadDisp(1)"><font color="#000">{$vd['parent']['name']}</font></a> <span style="font-size:7px;">>></span> <font color="#ff6c00"><b>{$item['pname']}</b></font></div>
<div style="float:right"><a href="index.php" onFocus="this.blur()" title="查看商品相关帮助"><img src="{$vd['sc']}images/help.gif" style="vertical-align:middle" border="0"/></a></div>
</div>
<form id="cform" method="post" action="index.php?m=mod_b2b&c=Coupon&a=Save">
<div id="content" class="cwarpper">
<div class="cbodyHead"></div>
<div class="cwarpper1">
<div class="ctitle">卡类面值信息修改</div>
<table border="1" id="ctable1" class="ctable" bordercolor="#86B9D6">
  <tr>
    <td class="tablelt">面值</td>
    <td class="tablert"><input type="text" name="ubzlistprice" size="25" onkeyup="setpname(this)" value="{$item['listprice']}"/></td>
  </tr>
  <tr>
    <td class="tablelt">对应名称</td>
    <td class="tablert"><input type="text" name="ubzpname" id="ubzpname" size="25" value="{$item['pname']}"/></td>
  </tr>
  <tr>
    <td class="tablelt">是否可用</td>
    <td class="tablert">
    <input type="checkbox" name="sell" value="1" class="checkbox" {#ToggleCheck($item['sell'])} />
    </td>
  </tr>
  <!--if($vd['parent']['gateway'] == 3){-->
  <tr>
    <td class="tablelt">审核状态</td>
    <td class="tablert">
    <!--if($vd['state'] > 0){--><font color="#0000ff">审核通过</font><!--}else{--><font color="#ff0000">未审核</font><!--}-->
    </td>
  </tr>
  <!--}-->
  <tr>
    <td class="tablelt" style="height:80px"></td>
    <td class="tablert">
      <input type="submit" value="修 改 &gt;&gt" class="button"/>
      <input type="reset" value="重 置" class="button"/>
    </td>
  </tr>
</table>
<input type="hidden" value="{$item['catid']}" name="catid" id="catid"/>
<input type="hidden" value="{$item['pid']}" name="pid" id="pid"/>
</div>
<div class="cbodyFoot"></div>
</div>
<div id="opcontent" style="display:none">
  <div class="optxt">
    
  </div>
</div>
</form>
<script type="text/javascript">
  sc = "{$vd['sc']}";
  var ctablenum = 2;
</script>
<script src="{$vd['sc']}js/content.js" type="text/javascript"></script>
<script type="text/javascript">
  function setpname(obj)
  {
    $("ubzpname").value = "{$vd['parent']['name']}"+obj.value+"{$vd['lang']['moneyunit']}";
  }
</script>
</body>
</html>
