<?php
error_reporting(0);
global $db, $CcTvAi_com_userid;
if(!eregi($_SERVER['SERVER_NAME'], $_SERVER['HTTP_REFERER'])) {
    exit();
}
close_browse();
	if(!$CcTvAi_com_userid){exit("20001");}
	$cd_pid = SafeRequest("pid","post");
	if($cd_pid=="1"){
		$name="充值一个月VIP会员(".cd_viptime."天)";
		$points=cd_vipmonthpoints;
	}else{
		$name="充值一年VIP会员(".cd_vipyearstime."天)";
		$points=cd_vipyearspoints;
	}
?>
<form method="post" name="frmadd" action="<?php echo cd_webpath; ?>user/do.php?p=account&a=send" target="_blank">
	<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
		<input name="cd_id" type="hidden" value="<?php echo $cd_pid; ?>">
		<tr style="background:#C5DCEF;">
			<td colspan="2" height="30" align="left">&nbsp;订单确认</td>
		</tr>

		<tr height="30">
			<td width="100">产品类型：</td>
			<td>
			<table cellspacing='0' cellpadding='0' width='100%'>
					<tr>
						<td align='left'><p><strong>VIP会员直充</strong></p></td>
					</tr>
			</table>
			</td>
		</tr>

		<tr height="30">
			<td width="100">产品名称：</td>
			<td>
			<table cellspacing='0' cellpadding='0' width='100%'>
					<tr>
						<td align='left'><p><strong><?php echo $name; ?></strong></p></td>
					</tr>
			</table>
			</td>
		</tr>

		<tr height="30">
			<td width="100">产品价格：</td>
			<td>
			<table cellspacing='0' cellpadding='0' width='100%'>
					<tr>
						<td align='left'><p><strong><?php echo $points; ?> 元</strong></p></td>
					</tr>
			</table>
			</td>
		</tr>

		<tr height="30">
			<td width="100">支付用户：</td>
			<td>
			<table cellspacing='0' cellpadding='0' width='100%'>
					<tr>
						<td align='left'><p><strong><?php echo $CcTvAi_com_username; ?>(<?php echo $CcTvAi_com_nicheng; ?>)</strong></p></td>
					</tr>
			</table>
			</td>
		</tr>
		<tr height="55">
			<td width="100">支付方式：</td>
			<td>
			<table cellspacing='0' cellpadding='0' width='100%'>
					<tr>
						<td align='left'>
						<?php if(cd_x5alipay=="1") {?>
						<label for="cd_type1"><input id="cd_type1" name="cd_type" type="radio" value="1" />              
						<img src="<?php echo cd_webpath; ?>user/static/images/pay/alipay.gif" style="cursor:hand;" width="88" height="31" align="absmiddle" disabled /></label>
						<?php }?>
						</td>
					</tr>
			</table>
			</td>
		</tr>
	</table>
	<table width="500" border="0" align="center" cellpadding="0" cellspacing="0">
		<tr bgcolor="#E6F5FF">
			<td width="100" height="50" align="right"><font color="red">特别注意：</font></TD>
			<td height="30" align="left">
			<font color="red">1.支付前先把浏览器的拦截弹窗功能关闭，可能会影响支付系统。</font><br />
			<font color="red">2.支付完成后必须等待页面跳转，提示充值成功后才能关闭浏览器。</font><br />
			<?php 
			if(cd_xalipaya=="3"){
				echo '<font color="red">3.支付宝请付款后联系管理员核对。</font>';
			}elseif(cd_xalipaya=="4"){
				echo '<font color="red">3.支付宝请选择即时到账，直充VIP。</font>';
			}
			?>
			</td>
		</tr>
	</table>
</form>