📄 showdiary.jsp
字号:
</script>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" >
<form name="form1" method="post" action="">
<table width="100%" align="center" border="0" cellpadding="0" cellspacing="0">
<tr height="8">
<td class="trA"> 您的位置:财务管理 >> 财务审批 >> 待批单据 >> <font class="fontcolor">日记信息</font></td>
</tr>
<tr>
<td align="center">
<TABLE align=center border=0 cellPadding=0 cellSpacing=0 width="98%">
<TR>
<TD class="tdA"colSpan=2> 姓名:<%
if(userNameShow==null){
PersonInfoRecordSet personRs = new PersonInfoRecordSet();
PersonInfoBusiness personBu = new PersonInfoBusiness();
personBu.setQueryWhereUserID(userID);
int numperson = personBu.execute("query");
personRs=personBu.getRecordSet();
personRs.next();
String personName=personRs.getI_Name();
out.println(personName);
}else{
out.println(userNameShow);
}
%> 时间:<%=writeDate%> 星期<%=week%></TD>
</TR>
<%
if(num!=0&&calendar.getTimeInMillis()< Calendar.getInstance().getTimeInMillis()){
%>
<TR>
<TD>
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center" >
<!--<TBODY>-->
<TR align="center" class="tdB">
<TD width="200" align="center" class="tdC">时段</TD>
<TD class="tdC">详 细 内 容 </TD>
</TR>
<%
int size=0;
int k=0;
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;
for(int i=0;i<num;i++){
%>
<TR <%
if(i%2!=0){
%> class="bgcolor"<%}%>>
<TD width="200" 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 class="common"> <%=StringFormat.changeHTMLTags(valueInfo[k])%></TD>
</TR>
<%
k=k+timePeriodInfo[i];
}
%>
<!--</TBODY> -->
</TABLE>
</TD>
</TR>
<TR>
<TD class="tdC" align="center"> <p>
<font color="#006633">当天时间安排</font>
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr class="bgcolor">
<td width="10%" align=center class="common">工作</td>
<td width="15%" align=center class="common"><INPUT name="work" size=10 disabled value=<%=workTime%> id="work" readOnly ></td>
<td align=center class="common">学习</td>
<td align=center class="common"><INPUT name="study" size=10 disabled value=<%=learnTime%> id="study" readOnly ></td>
<td align=center class="common">运动</td>
<td align=center class="common"><INPUT name="sport" size=10 disabled value=<%=sportTime%> id="sport" readOnly ></td>
<td align=center class="common">休息</td>
<td 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"><%=memoInfo%></textarea>
<BR>
<BR>
<INPUT name="button" type="button" onmouseover="this.className='button2'" onmouseout="this.className='button1'" class="button1" onClick="javascript:history.back(1);" value="返 回">
</p>
</TD>
</TR>
<%
}else{
%>
<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td class="common"><font color="#003300"> <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 + -