<!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>

<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> 快速通道</div>
<div style="float:right;"><a href="index.php?m=mod_home&a=Help&t=admin_b2b_ykt_index" onFocus="this.blur()" title="查看标签相关帮助"><img src="{$vd['sc']}images/help.gif" style="vertical-align:middle" border="0"/></a></div>
</div>

<div id="content" class="cwarpper">
<div class="cbodyHead"></div>
<div class="cwarpper1">
<div class="ctitle">快速通道</div>
<div>
<table border="1" id="ctable1" class="ctable" bordercolor="#86B9D6">
  <tr>
    <td class="tablelt"" style="height:200px">请选择类型</td>
    <td class="tablert">
      <input type="button" value="充值专用卡快速生成" class="button" style="padding:15px;height:50px" onclick="setdiv(101)"/><br/><br/>
      <input type="button" value="兑换专用卡快速生成" class="button" style="padding:15px;height:50px" onclick="setdiv(100)"/><br/><br/>
      <input type="button" value="进入一卡通高级生成" class="button" style="padding:15px;height:50px" onclick="javascript:window.location.href='?m=mod_b2b&c=Ykt&a=Create'"/>
    </td>
  </tr>
</table>
</div>
</div>
<div id="cdiv" style="position:absolute;top:45px;left:30px;;width:480px;display:none">
  <div style="padding:20px;background:#F1F5FA;border:5px #75BCD7 solid">
  <div style="font-size:14px;font-weight:bold;padding:5px;float:left" id="labaltxt">充值专用卡快速生成</div>
  <div style="float:right;"><img src="{$vd['sc']}images/destroy.gif" onclick="disp('cdiv')" style="cursor:pointer"/></div>
  <form id="cform" name="cform" method="post" action="index.php?m=mod_b2b&c=ykt&a=save" onsubmit="return checkform()">
    <table id="checktable" width="100%" style="border-collapse: collapse;">
      <tr>
        <td width="25%"">面值</td>
        <td width="75%"><input type="yktprice" id="yktqty" name="mytradepwd" value=""/></td>
      </tr>
      <tr>
        <td width="25%"">数量</td>
        <td width="75%"><input type="text" id="yktqty" name="mytradepwd" value=""/></td>
      </tr>
      <tr>
        <td width="25%" style="height:50px;"></td>
        <td width="75%">
          <input type="submit" value="确认提交" class="button"/> <input type="button" value="取消" class="button" onclick="disp('cdiv')"/>
        </td>
      </tr>
    </table>
  </div>
</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 setdiv(val)
	{
		if(val == 100)
		{
			//兑换专用卡
			$("labaltxt").value = "兑换专用卡快速生成";
		}
	  else
		{
			$("labaltxt").value = "充值专用卡快速生成";
		}
		
		disp('cdiv');
	}
</script>
</body>
</html>
