<!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">
<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> <a href="index.php?m=mod_b2b&c=customer&a=index" title="客户列表"><font color="#000">客户列表</font></a> <span style="font-size:7px;">>></span> <span style="font-size:12px;">客户信息修改</span>(<a href="index.php?m=mod_b2b&c=customer&a=detail&ubzcid={$item['cid']}">刷新</a>)</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=customer&a=update">
<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="name" size="24" value="{$item['name']}"/> 添加商品时候，可以根据这个名称选择手动充值模板
    </td>
  </tr>
  <tr>
    <td class="tablelt">计费方式类型：</td>
    <td class="tablert">
    <select name="chargetype">
      {#Option($vd['chargetype'], $item['chargetype'], 'name', 'value')}
    </select>
    </td>
  </tr>
  <tr>
    <td class="tablelt">自定义计费：</td>
    <td class="tablert">
    <input type="text" name="customchargetype" size="24" value="{$item['customchargetype']}"/>多种选择请用半角逗号隔开，如：计点,包月,充币等等
    </td>
  </tr>
  <tr>
    <td class="tablelt">帐户类型：</td>
    <td class="tablert">
    <input type="text" name="accounttype" size="24" value="{$item['accounttype']}"/>多种选择请用半角逗号隔开，如：盛大通行证,游戏账号，无选择不用填
    </td>
  </tr>
  <tr>
    <td class="tablelt">是否需要输入密码：</td>
    <td class="tablert">
    <input type="radio" name="pwdneed" size="24" value="1" class="checkbox" <!--if($item['pwdneed']==1){-->checked<!--}-->/> 需要 <input type="radio" class="checkbox" name="pwdneed" size="24" value="0" <!--if($item['pwdneed']==0){-->checked<!--}-->/> 不需要
    </td>
  </tr>
  <tr>
    <td class="tablelt">充值区域类型：</td>
    <td class="tablert">
      <select name="areadisp">
        {#Option($vd['areadisp'],$item['areadisp'])}
      </select>
    </td>
  </tr>
  <tr>
    <td class="tablelt">充值服务器类型：</td>
    <td class="tablert">
      <select name="servdisp">
        {#Option($vd['servdisp'],$item['servdisp'])}
      </select>主要用于部分游戏充值时需要选择具体哪组服务器
    </td>
  </tr>
  <tr>
    <td class="tablelt">选择区服模板：</td>
    <td class="tablert">
      <select name="tpl" style="width:150px;">
        <option value="0" selected>无需区服</option>
        {#Option($vd['game'],$item['tpl'],'name','id')}
      </select> 只有充值区域和服务器类型有选择的时候才生效
    </td>
  </tr>
  <tr>
    <td class="tablelt">是否共享给自由商品：</td>
    <td class="tablert">
      <select name="shared">
      {#Option($vd['shared'],$item['shared'])}
      </select>
    </td>
  </tr>
</table>
</div>
<div class="cbodyFoot"></div>
</div>
<div id="opcontent">
  <div class="optxt">
    <input type="hidden" name="id" value="{$item['id']}"/>
    <input type="submit" value="修 改 &gt;&gt;" name="b1" class="btn"/>
    <input type="reset" value="重 置 &gt;&gt;" name="b1" class="btn"/>
  </div>
</div>
</form>
<script type="text/javascript">
  var ctablenum = 2;
</script>
<script src="{$vd['sc']}js/content.js" type="text/javascript"></script>
</body>
</html>
