📄 addcoinrecord.jsp
字号:
<%session.setAttribute("USERID", "1");%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.buy.bean.coin.AddcoinSelectBean"%>
<%@ page import="java.sql.*"%>
<jsp:useBean id="selectaddcoinBean" class="com.buy.bean.coin.AddcoinSelectBean" scope="request">
</jsp:useBean>
<jsp:setProperty name="selectaddcoinBean" property="s_year" param="s_year" />
<jsp:setProperty name="selectaddcoinBean" property="s_month" param="s_month" />
<jsp:setProperty name="selectaddcoinBean" property="s_day" param="s_day" />
<jsp:setProperty name="selectaddcoinBean" property="e_year" param="e_year" />
<jsp:setProperty name="selectaddcoinBean" property="e_month" param="e_month" />
<jsp:setProperty name="selectaddcoinBean" property="e_day" param="e_day" />
<jsp:setProperty name="selectaddcoinBean" property="type" param="type" />
<jsp:setProperty name="selectaddcoinBean" property="num" param="num" />
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<style type="text/css">
<!--
@import url("../Buy/style/cal/rightcal_style01.css");
-->
</style>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>导航</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body topmargin="0">
<div align="center">
<%@ include file="/COIN/left.jsp"%></td>
<td width="10" rowspan="2" align="center"> </td>
<td height="10" colspan="2" align="center"> </td>
</tr>
<tr>
<td height="280" valign="top" bgcolor="#FFFFFF" class="cal_content02"><table width="100%" border="0" cellpadding="0" cellspacing="1">
<tr>
<td height="25" class="cal_content02"><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="scal_content04"> 您的充值情况如下:</td>
</tr>
</table></td>
</tr>
<tr><!—在JSP中使用JavaBean,先获得session中userid的值。再根据值作为参数调用JavaBean-->
<td height="85"> <%String ID = (String) session.getAttribute("USERID");
StringBuffer result = selectaddcoinBean.selectAddcoin(ID);%>
<%=result%></td>
</tr>
<td height="25" align="left" bgcolor="#FFFFFF"><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="40"align="left" valign="bottom"class="q03"><span class="scal_content04">查询</span></span> </td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" align="center"><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="25" bgcolor="#FFFFFF" class="scal_content04"> <span class="scal_content04"><FORM action="" Method="post"1>充值类型:</span>
<select name="type" class="gen-frame">
<option selected value="0">所有类型</option>
<option value="1">在线冲值</option>
<option value="2">个人银行冲值</option>
<option value="3">代理商冲值</option>
<option value="4">汇款冲值</option>
</select></td>
</tr>
</table></td>
</tr>
<tr>
<td height="25" align="left" bgcolor="#FFFFFF" class="scal_content04">
<span> 充值编号:</span><span><span> <input name="num" class=scal_content04 size=20> </span></span>
</td>
</tr>
<tr>
<tr>
<td height="48" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="25" > <strong class="scal_content04">充值时间:</strong></td>
</tr>
<tr >
<td height="25" class="left_content"> 起始时间:
<select name="s_year" class="gen-frame">
<option selected value="1700">请选择</option>
<option>2004</option>
<option>2005</option>
<option>2006</option>
</select>
年
<select name="s_month" class="gen-frame">
<option selected value="1">请选择</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
月
<select name="s_day" class="gen-frame">
<option selected value="1">请选择</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
日 -截止日期:
<select name="e_year" class="gen-frame">
<option selected value="2099">请选择</option>
<option>2004</option>
<option>2005</option>
<option>2006</option>
</select>
年
<select name="e_month" class="gen-frame">
<option selected value="1">请选择</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
月
<select name="e_day" class="gen-frame">
<option selected value="1">请选择</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
<option>6</option>
<option>7</option>
<option>8</option>
<option>9</option>
<option>10</option>
<option>11</option>
<option>12</option>
</select>
日
<INPUT type="Submit" name="button1" value="查询" />
</FORM></td>
</tr>
<tr >
<td height="30" align="center" >
</td>
</tr>
</table></td>
</tr>
</table></td>
<td width="12" align="center"> </td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -