<!--
<?php
$selectdb='';
$selectdb[$paytype]="style='background-color:#0099ff;'";
$showmenu='';

$webdb[wapAlipay_id] && $showmenu.="<em><a class='alipays' href='?paytype=alipay' $selectdb[alipay]></a><i>支付宝</i></em>";
$webdb[wxpay_ApiKey] && $showmenu.="<em><a class='wxpays' href='?paytype=wxpay' $selectdb[wxpay]></a><i>微信</i></em>";
$showmenu.="<em><a class='yu' href='?paytype=yu_er' $selectdb[yu_er]></a><i>余额</i></em>";
$showmenu.="<em><a class='cards' href='?paytype=card' $selectdb[card]></a><i>充值卡</i></em>";

if($paytype=='card'){
	$payLink="<div class='link'><img src='$webdb[www_url]/images/default/diangcard.gif'/></div>";
    $actions="moneycard.php?action=get";
    $names="atc_passwd";
    $headers="欢迎使用点卡在线充值系统";
}elseif($paytype=='yu_er'){	
	$payLink="<div class='link'><img src='$webdb[www_url]/images/default/yu_er.gif'/></div>";
    $actions="moneycard.php?action=yu_er";
    $names="post_rmb";
    $headers="欢迎使用余额充值积分";
}elseif($paytype=='wxpay'){	
	$payLink="<div class='link'><img src='$webdb[www_url]/images/wap/weixin_pay.png'/></div>";
    $actions="?banktype=wxpay";
    $names="atc_moeny";
    $headers="欢迎使用微信钱包在线充值系统";
}else{
	$payLink="<div class='link'><img src='$webdb[www_url]/images/default/alipay_logo.gif'/></div>";
    $actions="?banktype=alipay";
    $names="atc_moeny";
    $headers="欢迎使用支付宝在线充值系统";
}
print <<<EOT
-->
<link rel="stylesheet" type="text/css" href="$webdb[www_url]/images/more/other.css">

<!--
EOT;
if($paytype=='card'){print <<<EOT
--> 
<div class="Container">
	<div class="head">$headers</div>
    <div class="payType"><span class="pays">支付方式:</span><span class="pay_type">$showmenu</span></div>
    <div class="writeMoney">
        <form name="form1" method="post" action="$actions">    	
            <div class="write_money"><span>密码</span> <input type="text" name="$names" size="6" placeholder="输入点卡密码"/></div>
			<div class="yuMoney">你目前已有{$webdb[MoneyName]}数是<span class="B red">{$lfjdb[money]}</span>，请输入点卡密码</div>
            <div class="payBut"><input type="submit" name="Submit" value="充值"/></div>
        </form>
    </div>
	<div class="note">
    	注意：每支付<span class="B red">1</span>元，将可获得<span class="B red">{$webdb[alipay_scale]}</span>{$webdb[MoneyDW]}{$webdb[MoneyName]}，充值金额只能是整数<br>充值促销优惠,每支付10块钱赠送<span class="red">{$webdb[alipay_give_scale]}</span>{$webdb[MoneyDW]}{$webdb[MoneyName]},以此类推
    </div>
</div>
<!--
EOT;
}else{print <<<EOT
--> 
<div class="Container">
	<div class="head">$headers</div>
    <div class="payType"><span class="pays">支付方式:</span><span class="pay_type">$showmenu</span></div>
    <div class="writeMoney">
        <form name="form1" method="post" action="$actions"> 
			<div class="write_money"><span>金额(元)</span> <input type="text" name="$names" size="6" placeholder="输入金额"/></div>
            <div class="yuMoney">你目前已有{$webdb[MoneyName]}数是<span class="B red">{$lfjdb[money]}</span>，请输入您要充值的金额</div>
            <div class="payBut"><input type="submit" name="Submit" value="充值"/></div>
        </form>
    </div>
	<div class="note">
    	注意：每支付<span class="B red">1</span>元，将可获得<span class="B red">{$webdb[alipay_scale]}</span>{$webdb[MoneyDW]}{$webdb[MoneyName]}，充值金额只能是整数<br>充值促销优惠,每支付10块钱赠送<span class="red">{$webdb[alipay_give_scale]}</span>{$webdb[MoneyDW]}{$webdb[MoneyName]},以此类推
    </div>
</div>

<!--
EOT;
}print <<<EOT
--> 

<!--
EOT;
?>
-->