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

📄 diaryshow.jsp

📁 tomcat最新安装程序
💻 JSP
📖 第 1 页 / 共 2 页
字号:
-->
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<form name="form1" method="post" action="/krm/servlet/DiaryWriteServlet">
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
 <tr height="8">
	  <td class="trA">&nbsp; 您的位置:工作日记 >> <font class="fontcolor">日记详细内容</font></td>
 </tr>
   <tr height="8"> 
    <td></td>
  </tr>   
  <tr>
    <td align="center">
		<table border="0" cellpadding="0" cellspacing="0" width="98%" align="center"  class="collapse">
			<tr > 
            <td class="tdA" colspan="2">日记详细信息</td>
          </tr>
              <TR> 
                <TD align=center class="tdB"colSpan=2>&nbsp;&nbsp;&nbsp;姓名:<%=userNameShow%>&nbsp;&nbsp;&nbsp;&nbsp;时间:<%=writeDate%>&nbsp;&nbsp;&nbsp;&nbsp;星期<%=week%></TD>
              </TR>
			  <%
				if(num!=0&&calendar.getTimeInMillis()< Calendar.getInstance().getTimeInMillis()){
			  %>
              <TR> 
                <TD> 
				  <input type="hidden" name="status" value="<%=status%>">
  				  <input type="hidden" name="timeNO" value="<%=DPD_ID[0]%>">
				  <input type="hidden" name="dateStr" value="<%=writeDate%>">
				  <input type="hidden" name="diaryDate_ID" value="<%=diaryDate_ID%>">				  				  
				  <table width="100%" border="0" align="center"  class="collapse">
					  <TR align="center"  class="tdB"> 
                    	<TD width="40%" align="center" class="tdC">时段</TD>
						
                      <TD width="60%" class="tdC">详 细 内 容 </TD>
					  </TR>
					  <%
                                        	
                                            List list=diaryManage.getDiaryItemList();
					        
					    List listA=(List)list.get(0);
					    List listB=(List)list.get(1);
					    List listC=(List)list.get(2);
					    List listD=(List)list.get(3);

                                            int pos1=0;
                                            int pos2=0;

                               	            String strTemp1=null;
                        	            String strTemp2=null;
                        	            String str=null;
                                        	
                                            int k=0;
                                            for(int i=0;i<num;i++){                                            
					  %>
              		  <TR <%if((i+1)%2==0){%> class="bgcolor" <%}%>>	
                      	<TD width="40%" align=center id=time09_10 class="common"><%=content[i]%>
                      	<select name="status_13<%=i%>" size=1 onChange="return count()" disabled>
                      	    <option value='' ></option>  
                      	    <option value='A'>--- 工作 ---</option>
                      	    <%
                         	    for(int j=0;j<listA.size();j++){      
                         	      str=(String)listA.get(j);
                         	      pos1=str.indexOf("-");                         	      
                         	      strTemp1=str.substring(0,pos1);
                         	      strTemp2=str.substring(pos1+1);                         	                       	   
                      	    %>
                      	    <option 
                      	         <% 
                      	               if(infoItem[k].trim().equals(strTemp1)){
                      	         %>
                      	         selected 
                      	         <%}%>
                      	         value=<%=strTemp1%>><%=strTemp2%>
                      	    </option>
                      	    <%
                      	    ;}
                      	    %>                      	    
                      	    <option value='B'>--- 学习 ---</option>
                      	    <%
                                    for(int j=0;j<listB.size();j++){ 
                         	      str=(String)listB.get(j);
                         	      pos1=str.indexOf("-");                         	      
                         	      strTemp1=str.substring(0,pos1);
                         	      strTemp2=str.substring(pos1+1);                                                                                                  	    
                      	    %>
                      	    <option 
                      	         <% 
                      	               if(infoItem[k].trim().equals(strTemp1)){
                      	         %>
                      	         selected 
                      	         <%}%>
                      	         value=<%=strTemp1%>><%=strTemp2%>
                      	    </option>                      	    
                      	    <%
                      	    ;}
                      	    %>                      	    
                      	    
                      	    <option value='C'>--- 运动 ---</option>
                      	    <%
                                   for(int j=0;j<listC.size();j++){                                                              	    
                         	      str=(String)listC.get(j);
                         	      pos1=str.indexOf("-");                         	      
                         	      strTemp1=str.substring(0,pos1);
                         	      strTemp2=str.substring(pos1+1);                                                                                                  	    
                      	    %>
                      	    <option 
                      	         <% 
                      	               if(infoItem[k].trim().equals(strTemp1)){
                      	         %>
                      	         selected 
                      	         <%}%>
                      	         value=<%=strTemp1%>><%=strTemp2%>
                      	    </option>
                      	    <%
                      	    ;}
                      	    %>                      	    
                      	    
                      	    <option value='D'>--- 休息 ---</option>                      	    
                      	    <%
                                   for(int j=0;j<listD.size();j++){    
                         	      str=(String)listD.get(j);
                         	      pos1=str.indexOf("-");                         	      
                         	      strTemp1=str.substring(0,pos1);
                         	      strTemp2=str.substring(pos1+1);                                                                                             	                          	         
                      	    %>
                      	    <option 
                      	         <% 
                      	               if(infoItem[k].trim().equals(strTemp1)){
                      	         %>
                      	         selected 
                      	         <%}%>
                      	         value=<%=strTemp1%>><%=strTemp2%>
                      	    </option>                      	    
                      	    <%
                      	    ;}
                      	    %>                      	    
                      	                 
                          </select>			
                    </TD>
                      	
                      	</TD>
                		
                      <TD width="60%" class="common"><%=StringFormat.changeHTMLTags(valueInfo[k])%></TD> 
              		  </TR>
					  <%
                                              k=k+timePeriodInfo[i];					  	
					  	}
					  %>
           		  </TABLE>
		  		</TD>
              </TR>
              <TR> 
              <TD  class="tdC" align="center"> <p> 
                  <font color="#006633">当天时间安排</font> 
              
         <table width="98%" border="0" align="center"  class="collapse">
         <tr>
           <td width="10%" height="20" align=center  class="common bgcolor">工作</td>
           <td width="15%" height="20" align=center  class="common"><INPUT name="work" size=10 disabled value=<%=workTime%> id="work" readOnly ></td>
           <td height="20" align=center  class="common bgcolor">学习</td>
           <td height="20" align=center  class="common"><INPUT name="study" size=10 disabled value=<%=learnTime%> id="study" readOnly ></td>
           <td height="20" align=center  class="common bgcolor">运动</td>
           <td height="20" align=center  class="common"><INPUT name="sport" size=10 disabled value=<%=sportTime%> id="sport" readOnly ></td>
           <td height="20" align=center  class="common bgcolor">休息</td>
           <td height="20" align=center  class="common"><INPUT name="sport" size=10 disabled value=<%=restTime%> id="sport" readOnly ></td>           
         </tr>
         </table>
                  <BR>
                  备忘: <BR>
                  <textarea cols="80" name="memoInfo" style="overflow:auto" rows="7" bgcolor="#E7F3FF"><%				
		      String otherMemo = StringFormat.changeHTMLTags(memoInfo);				  
         	          out.println(otherMemo);				  
		%></textarea>
                  <BR>
     			  
         <BR>
                  <input name="button" type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'"  class="button1" onClick="history.back(1);" value="返 回" > 
                </p>
                  </TD>
				</TR>
				<%
				  	}else{
				%>
				<table width="98%" border="0" align="center"  class="collapse">
				  <tr>
				    <td class="common"><font color="#003300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<font color="#FF0000">网络连接出错!请刷新重新操作或稍后继续!</font></font></td>
				  </tr>
				</table>
				<%
				  	}
				%>
          </TABLE>
	  </td>
	</tr>
</table>
</form>
</body>
</html>

⌨️ 快捷键说明

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