<link href=images/style.css rel=stylesheet type=text/css>
<table width=100% border=0 align=center cellpadding=3 cellspacing=1 class=tableborder>
<form action="pay.php?act=add" method=post name="form">
  <tr bgcolor="#FFFFFF">
    <td height="25" align="right">操作类型：</td>
    <td><input type="radio" name="operation"  value="+" />增加
	<input type="radio" name="operation"  value="-" />减少
	</td>
  </tr>
  <tr bgcolor="#FFFFFF">
    <td height="25" align="right">项目：</td>
    <td><input type="radio" name="stype"  value="money" <? if($typeid=='money'){ ?>checked="checked"<? } ?> />金额
	<input type="radio" name="stype"  value="credit" <? if($typeid=='credit'){ ?>checked="checked"<? } ?> />积分
    <input type="radio" name="stype"  value="lejuan" <? if($typeid=='lejuan'){ ?>checked="checked"<? } ?> /><?=$CFG['lejuan']?>
    <label for="select"></label>
    <select name="lejuans" id="lejuans">
<?
foreach($juans AS $row)
{
?>
      <option value="<?=$row[id]?>">￥<?=$row[money]?>(满￥<?=$row[xfmy]?>使用)</option>
<? } ?>
    </select> <span class="f99">*赠送<?=$CFG['lejuan']?>时仅选择<?=$CFG['lejuan']?>及额度，填写用户ID即可！</span>
	</td>
  </tr>
  <tr bgcolor=#FFFFFF>
    <td height=25 align="right">用户ID：</td>
    <td><input type="text" name="userid" value="<?=$userid?>" size="5"></td>
  </tr>
  <tr bgcolor=#FFFFFF>
    <td height=25 align="right">用户名：</td>
    <td><input type="text" name="username" value="<?=$usernames?>" size="20"></td>
  </tr>
  <tr bgcolor=#FFFFFF>
    <td height=25 align="right">数值：</td>
    <td><input type="text" name="amount" value="<?=$amount?>" size="10"></td>
  </tr>
  <tr bgcolor=#FFFFFF>
    <td height=25 align="right">交易事由：</td>
    <td><textarea name="note" cols="60" rows="8"><?=$note?></textarea></td>
  </tr>

	<tr bgcolor=#FFFFFF>
	<td colspan="2" height=30 align="center">
	<input type="hidden" name="token" value="<?php echo $CFG[crypt];?>" />
	<input type="submit" name="dosubmit" value=" 提 交 " />&nbsp;&nbsp;
	<input type="reset" name="" value=" 重 置 " ></td>
	</tr>
</form>
</table>
</body>
</html>