<style type="text/css">
<!--
.STYLE2 {color: #FF0000}
-->
</style>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td colspan="2" background="<?php echo $this->basedir;?>templates/member/images/list_title_bg.gif"><img src="<?php echo $this->basedir;?>templates/member/images/zhifu.gif" width="759" height="50" /></td>
  </tr>
  <tr>
    <td colspan="2" background="<?php echo $this->basedir;?>templates/member/images/title_line_bg.gif">&nbsp;</td>
  </tr>
  <tr>
  	<td><table width="98%" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#CCCCCC" style="border-collapse:collapse">
      <tr>
        <td align="center"><strong>请选择一种支付途径</strong></td>
      </tr>
      <?php
	foreach($this->payvias as $key=>$value){?>
      <tr> 
	  
        <td align="center" style="background-color:#F2F2F2;"><?php if($this->payvia == $key){?><font color="#FF0000"><?php echo $value;?></font><?php
		}else{?><a href="<?php echo $this->installdir;?>member/payment/payvia/<?php echo $key;?>/"><?php echo $value;?></a><?php }?></td>
        </tr>
      <?php }?>
    </table></td>
    <td width="77%" valign="top"><table width="100%" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#CCCCCC" style="border-collapse:collapse">
        <tr bgcolor="#EFEFEF">
          <td width="44%" align="left"><strong>购买服务</strong></td>
          <td width="33%" align="left"><strong>备注</strong></td>
          <td width="23%" align="center"><strong>立即购买</strong></td>
        </tr>
        <?php
		foreach($this->shop as $rs){?>
        <form action="<?php echo $this->installdir;?>member/payment/step/2/" method="post">
          <tr>
            <td align="left"><?php if($rs['usertype']==1){?>
              <?php echo $rs['days'];?>天<?php echo $rs['groupname'];?>会员观看期
              <?php }else{?>
             <?php echo $rs['point'];?>点<?php echo $rs['groupname'];?>
              <?php }?></td>
            <td align="left">{#$rs['description']#}</td>
            <td align="center"><input type="submit" name="" value="<?php echo $this->payvias[$this->payvia];?>" />
              <input type="hidden" name="id" value="<?php echo $rs['id'];?>" />
              <input type="hidden" name="payvia" value="<?php echo $this->payvia;?>" /></td>
          </tr>
        </form>
        <?php
	  }?>
      </table>
      <table width="98%" border="0" cellpadding="5" cellspacing="1">
        <tr>
          <td><span class="STYLE2">支付说明</span></td>
        </tr>
        <tr>
          <td><span class="STYLE2">采用电话支付的用户。支付请购买1、2、5、10、30、50元的服务支付。不在列表的金额将无法支付成功</span></td>
        </tr>
        <tr>
          <td><span class="STYLE2">支付成功后请不要马上关闭窗口。支付中遇到问题请联系QQ：<?php echo $cofnig['qq'];?>或者电话至:<?php echo $config['phone'];?></span></td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td colspan="2" background="<?php echo $this->basedir;?>templates/member/images/title_line_bg.gif">&nbsp;</td>
  </tr>
</table>
