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

📄 index.jsp

📁 oa 源码
💻 JSP
📖 第 1 页 / 共 3 页
字号:
							msgIdsLen = msgIds.length;
							for (int i=0; i<msgIdsLen; i++) {
								md = md.getMsgDb(msgIds[i]);
			%>
            <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
            <%}%>
			</div></td>
          </tr>
        </table><%}%></td>
	  </tr>
	   <tr>
          <td height="10"></td>
        </tr>
    </table>
	</td>
    <td width="2"></td>
    <td width="260" valign="top" bgcolor="#F7F7F7" class="line4t"><table width="240" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="10"></td>
      </tr>
      <tr>
        <td height="25" background="images/button-bg-01.gif" class="line4t" ><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.frame" key="blog_star"/></div></td>
      </tr>
      <tr>
        <td height="10"></td>
      </tr>
      <tr>
        <td height="186" valign="top" bgcolor="#FFFFFF" class="line4t">
          <%
	String star = StrUtil.getNullString(bd.getStar());
	
	if (!star.equals("")) {
		ucd = ucd.getUserConfigDbByUserName(star);
		if (ucd!=null) {
	%>
          <table width="80%"  border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td align="center">&nbsp;</td>
            </tr>
            <tr>
              <td align="center" bgcolor="#F7F7F7">
                <%
		UserDb user = new UserDb();
		user = user.getUser(star);
		int myfacewidth=120,myfaceheight=150;
		String myface = user.getMyface();
		myfacewidth = user.getMyfaceWidth();
		myfaceheight = user.getMyfaceHeight();
		String RealPic = user.getRealPic();  
	    if (myface.equals("")) {%>
                <img src="../forum/images/face/<%=RealPic%>"/>
                <%}else{%>
                <img src="../images/myface/<%=myface%>" name="tus" width="<%=myfacewidth%>" height="<%=myfaceheight%>" id="tus" />
                <%}%>              </td>
            </tr>
            <tr>
              <td height="5" bgcolor="#F7F7F7"></td>
            </tr>
            <tr>
              <td bgcolor="#F7F7F7" >&nbsp;<lt:Label res="res.label.blog.frame" key="blog_left"/><a href="myblog.jsp?blogId=<%=ucd.getId()%>" target="_blank"><%=ucd.getTitle()%></a></td>
            </tr>
            <tr>
              <td bgcolor="#F7F7F7">&nbsp;<lt:Label res="res.label.blog.frame" key="introduction"/><%=ucd.getSubtitle()%></td>
            </tr>
            <tr>
              <td bgcolor="#F7F7F7">&nbsp;<lt:Label res="res.label.blog.frame" key="article"/><%=ucd.getMsgCount()%></td>
            </tr>
            <tr>
              <td bgcolor="#F7F7F7">&nbsp;<lt:Label res="res.label.blog.frame" key="comment"/><%=ucd.getReplyCount()%></td>
            </tr>
            <tr>
              <td bgcolor="#F7F7F7">&nbsp;<lt:Label res="res.label.blog.frame" key="visit"/><%=ucd.getViewCount()%></td>
            </tr>
          </table>
          <%
		  }
	}
	%>
        </td>
      </tr>
      <tr>
        <td height="8"></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="1" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="6"></td>
  </tr>
</table>
<table width="892" border="0" align="center" cellpadding="5" cellspacing="0" class="line4t">
  <tr>
    <td align="center" valign="top" bgcolor="#F7F7F7" width="879" height="104"><iframe width="100%" height="104" scrolling="no" frameborder="0" src="../doc_show_content.jsp?dirCode=blog_ad2"></iframe></td>
  </tr>
</table>
<table width="1" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="6"></td>
  </tr>
</table>
<table width="892" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#F7F7F7" class="line4t" valign="top"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0"><tr>
        <td width="300" valign="top">
<%
if (ircl.hasNext()) {	
	Leaf lf = (Leaf)ircl.next();
%>

		 <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="10"></td>
          </tr>
          <tr>
            <td width="300" height="25" background="images/button-bg-01.gif" class="line4t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> <a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
          </tr>
          <tr>
            <td height="10"></td>
          </tr>
          <tr>
            <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
			<%
							msgIds = bd.getBlogMsgsOfKind(9, lf.getCode());
							msgIdsLen = msgIds.length;
							for (int i=0; i<msgIdsLen; i++) {
								md = md.getMsgDb(msgIds[i]);
			%>
            <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
            <%}%>
			</div></td>
          </tr>
        </table>
	<%}%>	</td>
        <td valign="top">	
	<%
	 if (ircl.hasNext()) {	
	    Leaf lf = (Leaf)ircl.next();
	%>
		<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="10"></td>
          </tr>
          <tr>
            <td width="300" height="25" background="images/button-bg-01.gif" class="line3t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"><a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
          </tr>
          <tr>
            <td height="10"></td>
          </tr>
          <tr>
            <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
			<%
							msgIds = bd.getBlogMsgsOfKind(9, lf.getCode());
							msgIdsLen = msgIds.length;
							for (int i=0; i<msgIdsLen; i++) {
								md = md.getMsgDb(msgIds[i]);
			%>
            <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
            <%}%>
			</div></td>
          </tr>
        </table><%}%></td>
	  </tr>
	   <tr>
          <td height="10"></td>
        </tr>
    </table></td>
    <td width="2"></td>
    <td width="260" valign="top" bgcolor="#F7F7F7" class="line4t"><table width="240" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="10"></td>
      </tr>
      <tr>
        <td height="25" background="images/button-bg-01.gif" class="line4t" ><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.index" key="blog_rank"/></div></td>
      </tr>
      <tr>
        <td height="10"></td>
      </tr>
      <tr>
        <td height="27" bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;"><div class="test">
<%
	long[] postBlogs = bd.getPostRank(9);
	if (postBlogs!=null) {
		if (ucd==null) {
			ucd = new UserConfigDb();
		}
		int postBlogsLen = postBlogs.length;
		for (int i=0; i<postBlogsLen; i++) {
			ucd = ucd.getUserConfigDb(postBlogs[i]);
	%>
				<li><a href="myblog.jsp?blogId=<%=ucd.getId()%>" title="<%=ucd.getTitle()%>"><%=StrUtil.getLeft(ucd.getTitle(), 20)%></a></li>
	<%	}
	}
%>
        </div></td>
      </tr>
      <tr>
        <td height="10"></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="1" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="6"></td>
  </tr>
</table>
<table width="892" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#F7F7F7" class="line4t"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="10"></td>
      </tr>
      <tr>
        <td width="300" height="25" background="images/button-bg-01.gif" class="line4t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.index" key="blog_album"/></div></td>
      </tr>
      <tr>
        <td height="10"></td>
      </tr>
      <tr>
        <td height="186" bgcolor="#FFFFFF" class="line4t"><table width="96%"  border="0" align="center" cellpadding="0" cellspacing="10">
          <tr>
		    <%
			int[] newPhotos = bd.getNewPhotos(6);
			if (newPhotos!=null) {
				int newPhotosLen = newPhotos.length;
				PhotoDb pd = new PhotoDb();
				for (int i=0; i<newPhotosLen; i++) {
					pd = pd.getPhotoDb(newPhotos[i]);
				%>
				<td>
				<a href="showphoto.jsp?blogId=<%=StrUtil.UrlEncode(pd.getUserName())%>&id=<%=pd.getId()%>">
				<img src="<%=request.getContextPath()+"/"+pd.getImage()%>" alt="<%=pd.getTitle()%>" width=94 height=120 border=0>
				</a>
				</td>
				<%}
			}%>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="10"></td>
      </tr>
    </table></td>
    <td width="2"></td>
    <td width="260" valign="top" bgcolor="#F7F7F7" class="line4t"><table width="240" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td height="10"></td>
      </tr>
      <tr>
        <td height="25" background="images/button-bg-01.gif" class="line4t" ><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> &nbsp;<lt:Label res="res.label.blog.frame" key="new_add"/></div></td>
      </tr>
      <tr>
        <td height="10"></td>
      </tr>
      <tr>
        <td height="27" bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
            <%
			long[] newBlogs = bd.getNewBlogs(9);
			if (newBlogs!=null) {
				if (ucd==null) {
					ucd = new UserConfigDb();
				}			
				int newBlogsLen = newBlogs.length;
				for (int i=0; i<newBlogsLen; i++) {
					ucd = ucd.getUserConfigDb(newBlogs[i]);
				%>
				<li><a href="myblog.jsp?blogId=<%=ucd.getId()%>" title="<%=ucd.getTitle()%>"><%=StrUtil.getLeft(ucd.getTitle(), 20)%></a></li>
            <%}
			}%>
        </div></td>
      </tr>
      <tr>
        <td height="10"></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="1" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="6"></td>
  </tr>
</table>
<table width="892" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="#F7F7F7" class="line4t" valign="top"><table width="96%" border="0" align="center" cellpadding="0" cellspacing="0"><tr>
        <td width="300" valign="top">
<%
if (ircl.hasNext()) {	
	Leaf lf = (Leaf)ircl.next();
%>

		 <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="10"></td>
          </tr>
          <tr>
            <td width="300" height="25" background="images/button-bg-01.gif" class="line4t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"> <a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
          </tr>
          <tr>
            <td height="10"></td>
          </tr>
          <tr>
            <td bgcolor="#FFFFFF" class="line4t" style="padding-top:6px; padding-left:15px; padding-right:15px;" valign="top"><div class="test">
			<%
							msgIds = bd.getBlogMsgsOfKind(9, lf.getCode());
							msgIdsLen = msgIds.length;
							for (int i=0; i<msgIdsLen; i++) {
								md = md.getMsgDb(msgIds[i]);
			%>
            <li><a href="../forum/showblog.jsp?rootid=<%=md.getId()%>" title="<%=md.getTitle()%>(<%=md.getName()%>)"><%=StrUtil.getLeft(md.getTitle(), 20)%></a></li>
            <%}%>
			</div></td>
          </tr>
        </table>
	<%}%>	</td>
        <td valign="top">	
	<%
	 if (ircl.hasNext()) {	
	    Leaf lf = (Leaf)ircl.next();
	%>
		<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
            <td height="10"></td>
          </tr>
          <tr>
            <td width="300" height="25" background="images/button-bg-01.gif" class="line3t"><div style="PADDING-left:18px;padding-top:3px; "><img src="images/subj.gif" width="16" height="15" align="absmiddle"><a href="listblog.jsp?kind=<%=lf.getCode()%>"><%=lf.getName()%></a></div></td>
          </tr>

⌨️ 快捷键说明

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