义齿

1955 ワード


<div>
 <form action="" method="post" id="nextform" name="nextform">
	<input type="hidden" name="page" id="page" value="<%=pages-1 %>">
	<input type="hidden" name="element" value="<%=element%>">
	<input type="hidden" name="stationOne" value="<%=stationid %>">
	<input type="hidden" name="yearone" value="<%=yearone %>">
	<input type="hidden" name="yeartwo" value="<%=yeartwo%>">
	<input type="hidden" name="monthdayone" value="<%=monthdayone %>">
	<input type="hidden" name="monthdaytwo" value="<%=monthdaytwo %>">
 </form>	
</div>
 <div align="right">
     <%=total %>   ,    <font style="font-weight: bold;"><%=(pages-1)*50+1 %> <%=(pages-1)*50+end%></font>&nbsp;&nbsp;&nbsp;&nbsp;
<%if(pages >1) { %>
<a href="javascript:void(0);" onclick="previous()">   </a>
<%} %>
<%if(pages*50 <total) { %>
<a href="javascript:void(0);" onclick="next()">   </a>
<%} %>
</div>

function next() {
	document.getElementById("page").value="<%=pages+1 %>";
	document.nextform.action = "elementTop3.do";  
	document.nextform.submit(); 
}

function previous() {
	document.getElementById("page").value="<%=pages-1 %>";
	document.nextform.action = "elementTop3.do";  
	document.nextform.submit(); 
}