📄 head_voteadd.jsp
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<jsp:directive.page import="com.wy.form.VoteForm"/>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="CSS/style.css" type="text/css" rel="stylesheet">
<title>前台-用户投票</title>
<%@ page language="java" import="java.util.*" %>
<style type="text/css">
<!--
body {
background-image: url(images/bg_01.gif);
}
.style1 {
color: #663403;
font-weight: bold;
}
.style2 {color: #663403}
.style3 {color: #9a6400}
.style4 {
color: #cc7800;
font-size: 10pt;
}
.style5 {color: #663401}
-->
</style></head>
<jsp:useBean id="voteDao" class="com.wy.dao.VoteDao" scope="page"></jsp:useBean>
<%
List voteList=voteDao.queryVoteList();
%>
<body>
<!--网页头部分-->
<jsp:include page="head_top.jsp" flush="true" />
<table width="800" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="74"><img src="images/head_06.jpg" width="74" height="846"></td>
<td height="846" valign="top" background="images/head_07.jpg" width="407">
<%
if(voteList.size()<=0){
out.println("<br><p align=left> <img src=images/icon.gif width=10 height=10> 没有投票内容</p>");
}else{
%>
<br><%out.println("<p align=left> <img src=images/icon.gif width=10 height=10> 用户进行投票</p>");%><br>
<form name="form" method="post" action="dealwith.jsp?sign=3">
<table width="340" height="28" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20" colspan="2"> </td>
</tr>
<%for(int voteNumber=0;voteNumber<voteList.size();voteNumber++){
VoteForm voteForm=(VoteForm)voteList.get(voteNumber);
%>
<tr>
<td width="45" height="20"> </td>
<td width="295" height="20"><input type="checkbox" name="voteID" value="<%=voteForm.getId()%>"> <%=voteForm.getVoteName()%>
</td>
</tr>
<%} %>
</table><br>
<div align="center">
<input type="image" class="inputinputinput" src="images/vote.gif" width="51" height="20">
<a href="#" onClick="javascript:form.reset()"><img src="images/reset.gif"></a>
</div>
</form>
<%} %>
</td>
<td width="10"><img src="images/head_08.jpg" width="13" height="846"></td>
<td width="184" valign="top">
<jsp:include page="head_right.jsp" flush="true" />
</td>
<td width="122"><img src="images/head_10.jpg" width="122" height="846"></td>
</tr>
</table>
<!--网页尾部分-->
<jsp:include page="head_down.jsp" flush="true" />
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -