<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
?>
<?php
$public_diyr['pagetitle']='在线充值';
$url="<a href='../../../'>首页</a>&nbsp;>&nbsp;<a href='../cp/'>会员中心</a>&nbsp;>&nbsp;在线充值";
require(ECMS_PATH.'e/template/incfile/header.php');
?>
<div id="currentPage" pagevalue="4"></div>
	<div class="bgBox">
   		<div class="zhLeft">
        	<h3 class="leftTitle cw">财务</h3>
            <ul>
            	<li><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/payapi/"><span style="background-position:-24px 0;" class="scIco"></span>在线支付</a></li>
                <li class="select"><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/member/buygroup/"><span style="background-position:-96px 0;" class="scIco"></span>在线充值</a></li>
                <li><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/member/card/"><span style="background-position:0 0;" class="scIco"></span>点卡充值</a></li>
                <li><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/member/buybak/"><span style="background-position:-168px 0;" class="scIco"></span>点卡充值记录</a></li>
                <li><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/member/downbak/"><span style="background-position:-144px 0;" class="scIco"></span>下载消费记录</a></li> 
            </ul>
            <h3 class="leftTitle sc">商城</h3>
             <ul>
            	<li><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/ShopSys/ListDd/"><span style="background-position:-72px 0;" class="scIco"></span>我的订单</a></li>
                <li><a onfocus="this.blur();" href="#ecms" onClick="window.open('<?=$public_r['newsurl']?>e/ShopSys/buycar/','','width=680,height=500,scrollbars=yes,resizable=yes');"><span style="background-position:-120px 0;" class="scIco"></span>我的购物车</a></li>
                <li><a onfocus="this.blur();"  href="<?=$public_r['newsurl']?>e/ShopSys/address/ListAddress.php"><span style="background-position:-48px 0;" class="scIco"></span>管理配送地址</a></li>
            </ul>
        </div>	
        <div class="zhRight">
       		<div class="bigTitle"><span style=" background-position:-331px 0;"></span>财务</div>
                <div class="Bborder"></div>	 	 	
            <table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" class="tableborder">
              <form name="payform" method="post" action="../../payapi/BuyGroupPay.php">
                <tr class="header"> 
                  <td height="25">&nbsp;&nbsp; 请选择要购买的充值类型：</td>
                </tr>
                <?
              while($r=$empire->fetch($sql))
              {
                  if($r[buygroupid]&&$level_r[$r[buygroupid]][level]>$level_r[$user[groupid]][level])
                  {
                      continue;
                  }
              ?>
                <tr bgcolor="#FFFFFF"> 
                  <td height="30"><table width="100%" border="0" cellspacing="1" cellpadding="3">
                      <tr> 
                        <td width="1%"> <input type="radio" name="id" value="<?=$r[id]?>"> 
                        </td>
                        <td width="97%"> 
                          <?=$r[gmoney]?>
                          元 （ 
                          <?=$r[gname]?>
                          ）</td>
                      </tr>
                      <tr> 
                        <td>&nbsp;</td>
                        <td><font color="#666666">
                          <?=nl2br($r[gsay])?>
                          </font></td>
                      </tr>
                    </table></td>
                </tr>
                <?
              }
              ?>
                <tr bgcolor="#FFFFFF">
                  <td height="30">&nbsp;&nbsp; 支付平台：
                    <SELECT name="payid" style="WIDTH: 120px">
                      <?=$pays?>
                    </SELECT></td>
                </tr>
                <tr bgcolor="#FFFFFF"> 
                  <td height="30">&nbsp;&nbsp; <input class="ganniu" type="submit" name="Submit" value="马上充值">
                    &nbsp;&nbsp; <input type="button" name="Submit2" class="ganniu" value="返回" onclick="self.location.href='../../../';"> 
                  </td>
                </tr>
                <tr bgcolor="#FFFFFF"> 
                  <td height="5">&nbsp;</td>
                </tr>
              </form>
            </table>
        </div> 	
        <div class="clear"></div>   
        </div>
<?php
require(ECMS_PATH.'e/template/incfile/footer.php');
?>