<%@ page contentType="text/html;charset=GBK"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" href="css/cfs.css" type="text/css">
<title>无标题文档</title>
<script language="JavaScript" src="script/calendar_1.js"></script>
</head>
<body>
<form name="disform" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td width="200" height="30" align="right" class="form_text"><a href="newBalance.jsp">新增记录</a></td>
<td width="300" height="30" align="right" class="form_text">月份:</td>
<td height="30" width="150" class="form_text">
<input type="text" name="startDate" id="startDate" size="12" style="width:120">
<img src="image/calen_pic.gif" width="19" height="14" border="0" id="f_trigger_a" style="cursor: pointer;" title="日期选择" />
<script type="text/javascript">
Calendar.setup({
inputField : "startDate", // 日期输入框id
ifFormat : "%Y-%m-%d", // 日期时间格式
showsTime : false, // 是否显示时间选择器
button : "f_trigger_a", // 触发按钮id
singleClick : true, // 单击还是双击模式
step : 1 // 年份间隔
});
</script></td>
<td width="300" align="left">
<input type="button" value="确 定" name="B12" class="button1"> </td>
</tr>
</table>
</form>
<table width="407" border="1" align="center">
<tr>
<th width="88" scope="row">日期</th>
<td width="83">金额</td>
<td width="83">描述</td>
<td width="100">种类</td>
<td width="100">详细</td>
</tr>
<c:if test="{empty list}">
<div>对不起,暂无数据!</div>
</c:if>
<c:if test="{not empty list}">
<c:forEach var="balance" items="list">
<tr>
<th height="34" scope="row"> </th>
<td><c:out value="${balance.day}"/></td>
<td><c:out value="${balance.money}"/></td>
<td><c:out value="${balance.type}"/></td>
<td><c:out value="${balance.description}"/></td>
<td ><a href="balanceInfo.do"></a></td>
</tr>
</c:forEach>
</c:if>
</table>
</body>