⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fleft.jsp

📁 新闻系统
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="java.util.List"%>
<%@ page import="com.actionForm.AfficheForm"%>
<%@ page import="com.actionForm.ForceForm"%>
<jsp:useBean id="afficheDao" scope="request" class="com.dao.AfficheDao"/>
<jsp:useBean id="ForceDao" scope="request" class="com.dao.ForceDao"/>
<table width="216" height="660" border="0" cellpadding="0" cellspacing="0">
       <tr>
         <td height="121" >

		 <table width="216" height="98" border="0" cellpadding="0" cellspacing="0" background="fImage/leftOne.jpg">
           <tr>
             <td height="37">&nbsp;</td>
           </tr>
           <tr align="center">
          <form name="form" method="post" action="newsAction.do?method=frontSelectKeyNewsAction">   <td height="84">关键字:
            <input name="key" type="text" size="20">            <br> <br>

			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;     <select name="bigSort">
	    <option></option>
        <option value="时政要闻"  style="background:#00FFFF">时政要闻</option>
		<option value="经济动向"  style="background:#00FFFF">经济动向</option>
		<option value="科学教育"  style="background:#00FFFF">科学教育</option>
		<option value="法制教育"  style="background:#00FFFF">法制教育</option>
		<option value="社会现象"  style="background:#00FFFF">社会现象</option>
		<option value="娱乐天地"  style="background:#00FFFF">娱乐天地</option>
        </select>&nbsp; &nbsp;
                 <input type="submit" name="Submit" value="搜索">
              </td> </form>
           </tr>
         </table>


		 </td>
       </tr>
       <tr>
         <td height="210">		 <table width="216" height="141" border="0" cellpadding="0" cellspacing="0" background="fImage/leftTwo.jpg">
           <tr>
             <td height="36">&nbsp;</td>
           </tr>
           <tr>
             <td height="174" >
			 	<marquee direction="up" height="170" onmouseout="this.start()"
             onmouseover="this.stop()" scrollAmount="1" scrollDelay="1" class="linkBlack">
	<%
        List afficheList=afficheDao.selectAffiche();
        for(int affiche=0;affiche<afficheList.size();affiche++){
          AfficheForm afficheForm=(AfficheForm)afficheList.get(affiche);
          %>
	<div align="left">&nbsp;&nbsp;&nbsp;<a href="afficheAction.do?method=forntContentAfficheAction&id=<%=afficheForm.getId()%>"><%=afficheForm.getTitle()%>(<%=afficheForm.getCreateTime()%>)</a></div><br>
	<%}%>
	</marquee>


			 </td>
           </tr>
         </table></td>
       </tr>
       <tr>
         <td height="336">

		 <table width="216" height="347" border="0" cellpadding="0" cellspacing="0" background="fImage/leftThree.jpg">
           <tr>
             <td height="38">&nbsp;</td>
           </tr>
           <tr>
             <td height="288" valign="top" ><br>
			  <%
                          List forceList=ForceDao.selectForce();
                          int number=forceList.size();
                          if(number!=0){
                            if(number>6){
                            number=6;
                            }
                          for(int force=0;force<number;force++){
ForceForm form=(ForceForm)forceList.get(force);
                            %>






			  <table width="156" border="0" align="center" cellpadding="0" cellspacing="0">
               <tr>
                 <td width="154"> <a href="forceAction.do?method=frontSelectForceAction&id=<%=form.getId()%>"><%=form.getTitle()%>(<%=form.getCreateTime()%>)</a></td>
               </tr>
             </table>    <br>

		     <%}}else{%><div align="center">暂--无</div><%}%>			 </td>
           </tr>
           <tr>
             <td height="20" align="right"><a href="forceAction.do?method=frontSelectForceAction&image=force"><strong>mroe...</strong></a>&nbsp;&nbsp;</td>
           </tr>
         </table>


		 </td>
       </tr>
</table>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -